最新的RedHat Red Hat Certified Engineer - RHCE (v6+v7) - EX300免費考試真題
問題1
CORRECT TEXT
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:
This script is required to provide a parameter; this parameter is the file which contains the usernames list This script need provide the following message: Usage:/root/mkusers if it does not provide a parameter, then exit and return the corresponding value 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 Create a user shell log into /bin/false This script does not need to set password for users You can get the usernames list from the following URL as a test:
http://rhgls. domain11.example.com/materials/ userlist
CORRECT TEXT
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:
This script is required to provide a parameter; this parameter is the file which contains the usernames list This script need provide the following message: Usage:/root/mkusers if it does not provide a parameter, then exit and return the corresponding value 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 Create a user shell log into /bin/false This script does not need to set password for users You can get the usernames list from the following URL as a test:
http://rhgls. domain11.example.com/materials/ userlist
正確答案:


問題2
CORRECT TEXT
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 -eopid, tid, class, rtprio, ni, pri, psr, pcpu, stat, wchan:14, comm).
The command should be executable by all users.
CORRECT TEXT
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 -eopid, tid, class, rtprio, ni, pri, psr, pcpu, stat, wchan:14, comm).
The command should be executable by all users.
正確答案:

問題3
CORRECT TEXT
Prevent Mary from performing user configuration tasks in your system.
CORRECT TEXT
Prevent Mary from performing user configuration tasks in your system.
正確答案:

Conclusions:
1. I find that it is common to add various service access limits in the exam RHCE. The exercises like:
require one network segment can be accessed another network segments can not be accessed, the following are some conclusions for various service:
tcp_wrappers:/etc/hosts.allow,/etc/hosts.deny
tcp_wrappers can filter the TCP's accessing service. TCP whether has the filtering function which depends on this service whether use the function library of tcp_wrappers, or this service whether has the xinetd process of starting function of tcp_wrappers. tcp_wrappers's main configuration file is
/etc/hosts.allow,/etc/hosts.deny.
And the priority of the documents in hosts.allow is higher than hosts. deny. Visit will be passed if no match was found.
sshd,vsftpd can use the filtering service of tcp_wrappers.
Configuration example:

Notice:
The two configuration files' syntax can refer to hosts_access (5) and hosts_options(5) sshd_config There are four parameters in this configuration file: DenyUsers, AllowUsers, DenyGroups, AllowGroups, they are used to limit some users or user groups to proceed Remote Login through the SSH. These parameters' priority level is DenyUsers->AllowUsers->DenyGroups->AllowGroups Configuration example:

httpd Service
Through the /etc/httpd/conf/httpd.conf in parameters, can add <Directory> to control the url access.
Just as:

Notice:
So pay attention, deny's and allow's priority level in order deny,allow is: the backer has the higher priority level. But here, allow's priority has a higher priority level.
nfs Service
nfs service directly control the visits through file /etc/exports, just as:

samba Service
Parameter hosts allow in /etc/samba/smb.conf which is used as Access Control, just as:

2. Paying attention to use Mount parameters: _netdev,defaults when you are mounting ISCSI disk.
3. Stop the NetworkManager
/etc/init.d/NetworkManager stop
chkconfigNetworkManager off
4. When you are deploying ifcfg-ethX, add parameters:
PEERDNS=no
5. Empty the firewall in RHCSA,RHCE:

6. Narrow lv steps:

7. Mount the using command - swap which is newly added in /etc/fstab
8. If Verification is not passed when you are installing software, can import public key: rpm import
/etc/pki/rpm.../...release and so on. In yum.repo, you also can deploy gpgkey, for example, gpgkey=/etc/pki/rpm.../...release
9. When you are using "Find" command to search and keep these files, paying attention to use cp -a to copy files if you use user name and authority as your searching methods.
問題4
CORRECT TEXT
Give Full Permission to owner user and owner group member but no permission to others on /data.
CORRECT TEXT
Give Full Permission to owner user and owner group member but no permission to others on /data.
正確答案:
We can change the permission of file/directory either character symbol method or numeric method.
Permission:
r-Read
w-Write
x-Execute Permission Category u- Owner User
g- Owner Group
o- Others
Operators
+ -> Add the Permissions
-->Remove the Permissions = ->Assign the Permissions Numeric Method:
4 -> Read
2 -> Write
1 -> Execute
Total: 7, total for owner user, owner group member and for others: 777
1. chmodu+rwx /data
2 .chmodg+rwx /data
3. chmod o-rwx /data
or
chmod 770 /data
4 Verify the /data: ls -ld /data
5. You will get drwxrwx---
Permission:
r-Read
w-Write
x-Execute Permission Category u- Owner User
g- Owner Group
o- Others
Operators
+ -> Add the Permissions
-->Remove the Permissions = ->Assign the Permissions Numeric Method:
4 -> Read
2 -> Write
1 -> Execute
Total: 7, total for owner user, owner group member and for others: 777
1. chmodu+rwx /data
2 .chmodg+rwx /data
3. chmod o-rwx /data
or
chmod 770 /data
4 Verify the /data: ls -ld /data
5. You will get drwxrwx---
問題5
CORRECT TEXT
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.
CORRECT TEXT
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.
正確答案:

問題6
CORRECT TEXT
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
classroom.com/pub/rhce/backup.m">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".
CORRECT TEXT
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
classroom.com/pub/rhce/backup.m">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".
正確答案:

問題7
CORRECT TEXT
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.
Customize the User Environment
Create a custom command on system1 and system2 named as qstat, and this custom command will execute the following command:
/bin/ps - Aopid,tt,user,fname,rsz
This command is valid for all users in the system.
CORRECT TEXT
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.
Customize the User Environment
Create a custom command on system1 and system2 named as qstat, and this custom command will execute the following command:
/bin/ps - Aopid,tt,user,fname,rsz
This command is valid for all users in the system.
正確答案:

// You need to configure that on both two systems -
問題8
CORRECT TEXT
Connect to the email server and send email to admin, and it can be received by harry.
CORRECT TEXT
Connect to the email server and send email to admin, and it can be received by harry.
正確答案:

問題9
CORRECT TEXT
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.
CORRECT TEXT
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.
正確答案:

Notice:
tcp_wrappers has two configuration files and their priority level is /etc/hosts.allow->/etc/hosts.deny