EMT Practice Test

1. Question Content...


Question List

Question1: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Secured webserver.
Configure the website https://serverX.example.com with TLS

SSLCertificate file http://classroom.example.com/pub/rhce/tls/certs/system1.networkX.crt

SSLCertificatekeyfile http://classroom.example.com/pub/rhce/tls/private/system1.networkX.key

SSL CA certificate file http://classroom.example.com/pub/example-ca.crt

Question2: SIMULATION
Configure the web server, which can be accessed by http://station.domain30.example.com.

Question3: SIMULATION
You access the iscsi shared storage. The storage server ip is 172.24.30.100. Separate of 1500M space, format as ext3 file system, mount under /mnt/data, and make sure the root-start automatically mount.

Question4: SIMULATION
Create the group named sysusers.

Question5: SIMULATION
RHCE Test Configuration Instructions
Information for the two systems you will use in test is the following:
system1.group3.example.com: is one of the main sever. system2.group3.example.com: mainly used as a client.
Password for both of the two systems is atenorth
System's IP is provided by DHCP, you can regard it as normal, or you can reset to Static IP in accordance with the following requirements:
system1.group3.example.com: 172.24.3.5
system2.group3.example.com: 172.24.3.10
The subnet mask is 255.255.255.0
Your system is a member of DNS domain group3.example.com. All systems in DNS domain group3.example.com are all in subnet 172.24.3.0/255.255.255.0, the same all systems in this subnet are also in group3.example.com, unless specialized, all network services required to be configured can be accessed by systems of domain group3.
host.group3.example.com provides a centralized authentication service domain GROUP3.EXAMPLE.COM, both system1 and system2 have already been pre-configured to be the client for this domain, this domain provides the following user account:

Firewall is enabled by default, you can turn it off when deemed appropriate, other settings about firewall may be in separate requirements.
Your system will be restarted before scoring, so please ensure that all modifications and service configurations you made still can be operated after the restart without manual intervention, virtual machine instances of all examinations must be able to enter the correct multi-user level after restart without manual assistance, it will be scored zero if the test using virtual machine system cannot be restarted or be properly restarted.
Corresponding distribution packages for the testing using operating system Red Hat Enterprise Linux version can be found in the following link:
http://server1.group3.example.com/rhel
Part of the requirements include host security, ensure your host security limit does not prevent the request to allow the host and network, although you correctly configured the network service but would have to allow the host or network is blocked, this also does not score.
You will notice that some requirements which clearly do not allow services be accessed by service domain my133t.org, systems of this domain are in subnet 172.25.1.0/252.255.255.0, and systems of these subnets also belong to my 133t.org domain.
PS: Notice that some test questions may depend on other exam questions, for example, you might be asked to perform a series of restrictions on a user, but this user creation may be required in other questions. For convenient identification, each exam question has some radio buttons to help you identify which questions you have already completed or not completed. Certainly, you do not need to care these buttons if you don't need them.
Create a script to add users
Create a script named /root/mkusers on the system1, this script can achieve to add local users for the system1, and user names of these users are all from a file which contains the usernames list, and meet the following requirements at the same time:
1. This script is required to provide a parameter; this parameter is the file which contains the usernames list
2. This script need provide the following message: Usage:/root/mkusers if it does not provide a parameter, then exit and return the corresponding value
3. This script need provide the following message: Input file not found if it provides a name that does not exist, then exit and return the corresponding value
4. Create a user shell log into /bin/false
5. This script does not need to set password for users
6. You can get the usernames list from the following URL as a test:
http://rhgls. domain11.example.com/materials/ userlist

Question6: SIMULATION
There are two different networks 192.168.0.0/24 and 192.168.1.0/24. Where 192.168.0.254 and
192.168.1.254 IP Address are assigned on Server. Verify your network settings by pinging 192.168.1.0/24 Network's Host.

Question7: SIMULATION
Create the directory /storage and group owner should be the sysusers group.

Question8: SIMULATION
Configure an email server domain30.example.com, and it requests to send and receive emails from the local server or the user harry can send or receive emails from network. The email of user harry is /var/ spool/mail/harry. Please note: the DNS server has already been MX record analyzed.

Question9: SIMULATION
RHCE Test Configuration Instructions
Information for the two systems you will use in test is the following:
system1.group3.example.com: is one of the main sever. system2.group3.example.com: mainly used as a client.
Password for both of the two systems is atenorth
System's IP is provided by DHCP, you can regard it as normal, or you can reset to Static IP in accordance with the following requirements:
system1.group3.example.com: 172.24.3.5
system2.group3.example.com: 172.24.3.10
The subnet mask is 255.255.255.0
Your system is a member of DNS domain group3.example.com. All systems in DNS domain group3.example.com are all in subnet 172.24.3.0/255.255.255.0, the same all systems in this subnet are also in group3.example.com, unless specialized, all network services required to be configured can be accessed by systems of domain group3.
host.group3.example.com provides a centralized authentication service domain GROUP3.EXAMPLE.COM, both system1 and system2 have already been pre-configured to be the client for this domain, this domain provides the following user account:

Firewall is enabled by default, you can turn it off when deemed appropriate, other settings about firewall may be in separate requirements.
Your system will be restarted before scoring, so please ensure that all modifications and service configurations you made still can be operated after the restart without manual intervention, virtual machine instances of all examinations must be able to enter the correct multi-user level after restart without manual assistance, it will be scored zero if the test using virtual machine system cannot be restarted or be properly restarted.
Corresponding distribution packages for the testing using operating system Red Hat Enterprise Linux version can be found in the following link:
http://server1.group3.example.com/rhel
Part of the requirements include host security, ensure your host security limit does not prevent the request to allow the host and network, although you correctly configured the network service but would have to allow the host or network is blocked, this also does not score.
You will notice that some requirements which clearly do not allow services be accessed by service domain my133t.org, systems of this domain are in subnet 172.25.1.0/252.255.255.0, and systems of these subnets also belong to my 133t.org domain.
PS: Notice that some test questions may depend on other exam questions, for example, you might be asked to perform a series of restrictions on a user, but this user creation may be required in other questions. For convenient identification, each exam question has some radio buttons to help you identify which questions you have already completed or not completed. Certainly, you do not need to care these buttons if you don't need them.
Configure the iSCSI Server
Configure the system1 to provide a ISCSI service disk named iqn.2014-
09.com.example.domain11:system1 and meet the following requirements at the same time:
1. The Server Port is 3260
2. Use iSCSI-store as its back-end volume, its size is 3G
3. This service just can be accessed by system2.domian11.example.com

Question10: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Script1.
Create a script on serverX called /root/random with the following details

When run as /root/random postconf, should bring the output as "postroll"

When run as /root/random postroll, should bring the output as "postconf"

When run with any other argument or without argument, should bring any other argument or without

argument, should bring the stderr as "/root/random postconf|postroll"

Question11: SIMULATION
Make Secondary belongs the jeff and marion users on sysusers group. But harold user should not belongs to sysusers group.

Question12: SIMULATION
Via nfs service share the /common directory in your system, just doing ONE share in example.com domain.

Question13: SIMULATION
Configure a mail alias to your MTA, for example, send emails to harry but mary actually is receiving emails.

Question14: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Customize the User Environment
Create a command called qstat on both serverX and desktop.

It should be able to execute the following command (ps -eo pid, tid, class, rtprio, ni, pri, psr, pcpu, stat,

wchan:14, comm).
The command should be executable by all users.

Question15: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Configure repository.
Create a Repository for your virtual machines. The URL is http://station.network.0.example.com/content/ rhel7.0/x86_64/dvd

Question16: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Virtual hosting.
Setup a virtual host with an alternate document root.

Extend your web to include a virtual for the site http://vhostsX.example.com

Set the document root as /usr/local/vhosts

Download http://station.network0.example.com/pub/rhce/vhost/html

Rename it as index.html

Place this document root of the virtual host

Note: the other websites configures for your server must still accessible. vhosts.networkX.example.com

is already provided by the name server on example.com

Question17: SIMULATION
According to the following requirements, deploy your ftp login rule:
Users in example.com domain must be able to login to your ftp server as an anonymous user.
But users outside the example.com domain are unable to login to your server

Question18: SIMULATION
RHCE Test Configuration Instructions
Information for the two systems you will use in test is the following:
system1.group3.example.com: is one of the main sever. system2.group3.example.com: mainly used as a client.
Password for both of the two systems is atenorth
System's IP is provided by DHCP, you can regard it as normal, or you can reset to Static IP in accordance with the following requirements:
system1.group3.example.com: 172.24.3.5
system2.group3.example.com: 172.24.3.10
The subnet mask is 255.255.255.0
Your system is a member of DNS domain group3.example.com. All systems in DNS domain group3.example.com are all in subnet 172.24.3.0/255.255.255.0, the same all systems in this subnet are also in group3.example.com, unless specialized, all network services required to be configured can be accessed by systems of domain group3.
host.group3.example.com provides a centralized authentication service domain GROUP3.EXAMPLE.COM, both system1 and system2 have already been pre-configured to be the client for this domain, this domain provides the following user account:

Firewall is enabled by default, you can turn it off when deemed appropriate, other settings about firewall may be in separate requirements.
Your system will be restarted before scoring, so please ensure that all modifications and service configurations you made still can be operated after the restart without manual intervention, virtual machine instances of all examinations must be able to enter the correct multi-user level after restart without manual assistance, it will be scored zero if the test using virtual machine system cannot be restarted or be properly restarted.
Corresponding distribution packages for the testing using operating system Red Hat Enterprise Linux version can be found in the following link:
http://server1.group3.example.com/rhel
Part of the requirements include host security, ensure your host security limit does not prevent the request to allow the host and network, although you correctly configured the network service but would have to allow the host or network is blocked, this also does not score.
You will notice that some requirements which clearly do not allow services be accessed by service domain my133t.org, systems of this domain are in subnet 172.25.1.0/252.255.255.0, and systems of these subnets also belong to my 133t.org domain.
PS: Notice that some test questions may depend on other exam questions, for example, you might be asked to perform a series of restrictions on a user, but this user creation may be required in other questions. For convenient identification, each exam question has some radio buttons to help you identify which questions you have already completed or not completed. Certainly, you do not need to care these buttons if you don't need them.
Configure a Database
Create a Maria DB database named Contacts on system1 and meet the following requirements at the same time:
1. The database should contain the contents of the database replication, URL for copying files is:
http://rhgls.domain11.example.com/materials/users.mdb
2. Database just can be accessed by localhost
3. In addition to the root user, this database only can be searched by user Luigi, user's password is redhat
4. The password for root user is redhat, does not allow empty password

Question19: SIMULATION
Create the users named jeff, marion, harold

Question20: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

MariaDB
Restore a database on serverX from the backup file http://classroom.com/pub/rhce/backup.mdb

The database name should be Contacts. It should be access only within the localhost

Set a password for root user as "Postroll". Other than the root user, the user Andrew is able to read the

query from the above mentioned database. The user should be authenticated with the password as
"Postroll".

Question21: SIMULATION
Download file from http://ip/dir/restircted.html, and the local user harry can access it by http:// station.domain30.example.com/restircted.html, and cannot be accessed by t3gg.com.

Question22: SIMULATION
Configure the nfs server, share the /common directory to domain30.example.com, and allow client to have the root user right when access as a root user.

Question23: SIMULATION
RHCE Test Configuration Instructions
Information for the two systems you will use in test is the following:
system1.group3.example.com: is one of the main sever. system2.group3.example.com: mainly used as a client.
Password for both of the two systems is atenorth
System's IP is provided by DHCP, you can regard it as normal, or you can reset to Static IP in accordance with the following requirements:
system1.group3.example.com: 172.24.3.5
system2.group3.example.com: 172.24.3.10
The subnet mask is 255.255.255.0
Your system is a member of DNS domain group3.example.com. All systems in DNS domain group3.example.com are all in subnet 172.24.3.0/255.255.255.0, the same all systems in this subnet are also in group3.example.com, unless specialized, all network services required to be configured can be accessed by systems of domain group3.
host.group3.example.com provides a centralized authentication service domain GROUP3.EXAMPLE.COM, both system1 and system2 have already been pre-configured to be the client for this domain, this domain provides the following user account:

Firewall is enabled by default, you can turn it off when deemed appropriate, other settings about firewall may be in separate requirements.
Your system will be restarted before scoring, so please ensure that all modifications and service configurations you made still can be operated after the restart without manual intervention, virtual machine instances of all examinations must be able to enter the correct multi-user level after restart without manual assistance, it will be scored zero if the test using virtual machine system cannot be restarted or be properly restarted.
Corresponding distribution packages for the testing using operating system Red Hat Enterprise Linux version can be found in the following link:
http://server1.group3.example.com/rhel
Part of the requirements include host security, ensure your host security limit does not prevent the request to allow the host and network, although you correctly configured the network service but would have to allow the host or network is blocked, this also does not score.
You will notice that some requirements which clearly do not allow services be accessed by service domain my133t.org, systems of this domain are in subnet 172.25.1.0/252.255.255.0, and systems of these subnets also belong to my 133t.org domain.
PS: Notice that some test questions may depend on other exam questions, for example, you might be asked to perform a series of restrictions on a user, but this user creation may be required in other questions. For convenient identification, each exam question has some radio buttons to help you identify which questions you have already completed or not completed. Certainly, you do not need to care these buttons if you don't need them.
Database Query
Use database Contacts on the system1, and use the corresponding SQL to search and answer the following questions:
1. What's the person name whose password is solicitous?
2. How many people's names are John and live is Shanghai at the same time?

Question24: SIMULATION
Add a cron schedule to take full backup of /home on every day at 5:30 pm to /dev/st0 device.

Question25: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Webserver.
Implement a webserver for the site http://serverX.example.com

Download the webpage from http://station.network0.example.com/pub/rhce/rhce.html

Rename the downloaded file in to index.html

Copy the file into the document root

Do not make any modification with the content of the index.html

Clients within my22ilt.org should NOT access the webserver on your systems

Question26: SIMULATION
You are working as an Administrator. There is a common data shared (/data) from 192.168.0.254 to all users in your local LAN. When user's system start, shared data should automatically mount on /common directory.

Question27: SIMULATION
RHCE Test Configuration Instructions
Information for the two systems you will use in test is the following:
system1.group3.example.com: is one of the main sever. system2.group3.example.com: mainly used as a client.
Password for both of the two systems is atenorth
System's IP is provided by DHCP, you can regard it as normal, or you can reset to Static IP in accordance with the following requirements:
system1.group3.example.com: 172.24.3.5
system2.group3.example.com: 172.24.3.10
The subnet mask is 255.255.255.0
Your system is a member of DNS domain group3.example.com. All systems in DNS domain group3.example.com are all in subnet 172.24.3.0/255.255.255.0, the same all systems in this subnet are also in group3.example.com, unless specialized, all network services required to be configured can be accessed by systems of domain group3.
host.group3.example.com provides a centralized authentication service domain GROUP3.EXAMPLE.COM, both system1 and system2 have already been pre-configured to be the client for this domain, this domain provides the following user account:

Firewall is enabled by default, you can turn it off when deemed appropriate, other settings about firewall may be in separate requirements.
Your system will be restarted before scoring, so please ensure that all modifications and service configurations you made still can be operated after the restart without manual intervention, virtual machine instances of all examinations must be able to enter the correct multi-user level after restart without manual assistance, it will be scored zero if the test using virtual machine system cannot be restarted or be properly restarted.
Corresponding distribution packages for the testing using operating system Red Hat Enterprise Linux version can be found in the following link:
http://server1.group3.example.com/rhel
Part of the requirements include host security, ensure your host security limit does not prevent the request to allow the host and network, although you correctly configured the network service but would have to allow the host or network is blocked, this also does not score.
You will notice that some requirements which clearly do not allow services be accessed by service domain my133t.org, systems of this domain are in subnet 172.25.1.0/252.255.255.0, and systems of these subnets also belong to my 133t.org domain.
PS: Notice that some test questions may depend on other exam questions, for example, you might be asked to perform a series of restrictions on a user, but this user creation may be required in other questions. For convenient identification, each exam question has some radio buttons to help you identify which questions you have already completed or not completed. Certainly, you do not need to care these buttons if you don't need them.
Configure iSCSI Clients
Configure the system2 to make it can link to iqn.2014-09.com.example.domain11:system1 provided by the system, meet the following requirements at the same time:
1. iSCSI device automatically loads during the system start-up.
Block device iSCSI contains a 2100MIB partition, and is formatted as ext4.
This partition mount to the /mnt/data and mount automatically during the system start-up.

Question28: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

iSCSI Initiator
The serverX.example.com provides an iscsi port (3260). Connect the disk with desktopX.example.com

and configure filesystem with the following requirements.
Create 800 MB partition on iSCSI block device and assign the filesystem as xfs

Mount the volume under /mnt/initiator at the system boot time

The filesystem should contain the copy of http://station.network0.example.com/pub/iscsi.txt

The file should be owned by root with 0644 permission

NOTE: the content of the file should not be modified

Question29: SIMULATION
Deploy your SMTP mail service and complete it by the following requirements:
-- Your mail service must be able to receive the local and remote mails
-- harry must be able to receive the remote mail
-- The mail which is delivered to mary should be put into the mail /var/spool/mail/mary

Question30: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Configure port forwarding.
Configure server X to forward traffic incoming on port 80/tcp from source network
172.25.X.0/255.255.255.0 to port on 5243/tcp.

Question31: SIMULATION
You are giving RHCE exam. Examiner gave you the Boot related problem and told to you that make successfully boot the System. When you started the system, System automatically asking the root password for maintenance. How will you fix that problem?

Question32: SIMULATION
Configure cron and don't allow the user tom to use.

Question33: SIMULATION
In accordance with the following requirements, share /common directory through smb service.
-- your sub service must be in the SAMBA working-set
-- the shared name of common is common
-- the common share just can be shared by the customers in the example.com domain
-- the common must be available for browsing
-- mary must be able to login to the SMB share and for read operation, "password" is the secret code if it need to be verified.

Question34: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Dynamic Webpage Configuration.
Configure website http://wsgiX.example.com:8961 on system1 with the documentroot /var/www/scripts

Site should execute webapp.wsgi

Page is already provided on http://classroom.example.com/pub/webapp.wsgi

Content of the script should not be modified

Question35: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Configure IPv6 network.
Configure eth0 with a static IPv6 addresses as follows

Configure a Static IPv6 address in serverX as fddb:fe2a:ab1e::c0a8:64/64

Configure a Static IPv6 address in desktopX as fddb:fe2a:ab1e::c0a8:02/64

Both machines are able to communicate within the network fddb:fe2a:able/64

The changes should be permanent even after the reboot

On ServerX:

On DesktopX:

Question36: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Configure SCSI storage.
Create a new 1 GB target on your serverX.example.com

The block device name should be data_block

The server should export an iscsi disk called iqn.2014-10.com.example:serverX

This target should only be allowed to desktop

Question37: SIMULATION
Configure the kernel parameters: rhelblq=1, and it is requested that your kernel parameters can be verified through /proc/cmdline.

Question38: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Webpage content modification.
Implement website for http://serverX.example.com/owndir

Create a directory named as "owndir" under the document root of webserver

Download http://station.network0.example.com/pub/rhce/restrict.html
Rename the file into ondex.html

The content of the owndir should be visible to everyone browsing from your local system but should not

be accessible from other location

Question39: SIMULATION
In accordance with the following requirements to deploy ssh login service:
harry belongs to example.com which can remote login your systems.
However, users of remote.test cannot use ssh login to your machine.

Question40: SIMULATION
Arrange a web service address is: http://serverX.example.com, X is the number of your exam machine.
Deploy it in accordance with the following requirements:
Download ftp://instructor.example.com/pub/rhce/server.html

Cannot do any modification to file document server.html

Rename file document server.html as index.html

Copy the file document server.html to DocumentRoot

Question41: SIMULATION
One Logical Volume is created named as myvol under vo volume group and is mounted. The Initial Size of that Logical Volume is 400MB. Make successfully that the size of Logical Volume 200MB without losing any data. The size of logical volume 200MB to 210MB will be acceptable.

Question42: SIMULATION
Expand your web service including a virtual hosting, the address is:http://wwwX.example.com, X is the number of your exam machine. However, requiring you do as the following:
-- Set up the DocumentRoot of this virtual hosting as /var/http/virtual
-- Download ftp://instructor.example.com/pub/rhce/www.html
-- Rename www.html file document as index.html
-- Move this file document to this virtual hosting's DocumentRoot
-- Don't do any changes to this document
-- Making sure that harry users are able to create project in /var/http/virtual Attention: Original web address is http://serverX.example.com must also can be browsed. The DNS of the Server instructor.example.com has already been analyzed as the domain wwwX.example.com.

Question43: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

SSH configuration.
Configure SSH access on your virtual hosts as follows.

Clients within my22ilt.org should NOT have access to ssh on your systems

Question44: SIMULATION
Configure the samba server, share /common, which can be browsed. The user harry can only read it. If it is needed, the password for harry is harryuser.

Question45: SIMULATION
Write a script /root/program. The request is when you input the kernel parameters for script, the script should return to user. When input the user parameters, the script should return to kernel. And when the script has no parameters or the parameters are wrong, the standard error output should be "usage:/root/ program kernel|user".

Question46: SIMULATION
Configure the web server and implement the virtual host.
http://www.domain30.example.com can access the pages under the directory:
http://ip/dir/example.html. And make sure, http://station.domain30.example.com can also access the previous content.

Question47: SIMULATION
Connect to the email server and send email to admin, and it can be received by harry.

Question48: SIMULATION
There were two systems:
system1, main system on which most of the configuration take place

system2, some configuration here

Script2.
Create a script on serverX called /root/createusers

When this script is called with the argument, it should add all the users from the file

Download the file from http://station.network0.example.com/pub/testfile

All users should have the login shell as /bin/false, password not required

When this script is called with any other argument, it should print the message as "Input File Not

Found"
When this script is run without any argument, it should display "Usage:/root/createusers"

NOTE: if the users are added no need to delete

Question49: SIMULATION
Deploying your exam system: link to the iscsi target in the instructor.example.com and distinguish it well, then format as ext3 file system. You must be able to mount the file system of the iscsi target to the /mnt/ iscsi directory in your own system and make this file system can automatically mount (permanently mount) after system restart.