Oracle Linux 6 Advanced System Administration - 1z0-105 Exam Practice Test
Question 1
Which three statements are true about the crash utility in Oracle Linux?
Correct Answer: A,B,E
Question 2
Examine the code fragment from /etc/tgt/targets.conf:
<target iqn.2013-03.com.example.mypc:1>
backing-store /iSCSIsharedDisk/physDisk1.img
write-cache off
</target>
<target iqn.2013-03.com.example.myps:2>
backing-store / iSCSIsharedDisk/physDisk2.img
initiator-address 192.0.2.105
initiator address 192.0.2.106
write-cache off
</target>
<target iqn.2013-03.com.example.mypc:3>
backing-store /iSCSIsharedDisk/physDisk3.img
write-cache off
</target>
Which statement is true?
<target iqn.2013-03.com.example.mypc:1>
backing-store /iSCSIsharedDisk/physDisk1.img
write-cache off
</target>
<target iqn.2013-03.com.example.myps:2>
backing-store / iSCSIsharedDisk/physDisk2.img
initiator-address 192.0.2.105
initiator address 192.0.2.106
write-cache off
</target>
<target iqn.2013-03.com.example.mypc:3>
backing-store /iSCSIsharedDisk/physDisk3.img
write-cache off
</target>
Which statement is true?
Correct Answer: D
Question 3
Examine the two commands and the output produced:
[root@host03 ~]# iscsiadm -m session
iscsiadm: No active sessions.
[root@host03 ~]# iscsiadm -m node 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:3 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:2 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:1 Which option represents the correct command or commands to establish iSCSI sessions with the
target portal 192.0.2.1:3260?
[root@host03 ~]# iscsiadm -m session
iscsiadm: No active sessions.
[root@host03 ~]# iscsiadm -m node 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:3 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:2 192.0.2.1:3260,1 iqn.2013-03.com.example.mypc:1 Which option represents the correct command or commands to establish iSCSI sessions with the
target portal 192.0.2.1:3260?
Correct Answer: D
Question 4
Examine the current SELinux status:
# sestatus
SELinux status:
enabled
SELinuxfs mount:
/selinux
Current mode:
enforcing
Mode from config file:
permissive
Policy version:
Police from config file:
targeted
You have to meet these requirements:
1.Network services must run in a confined domain.
2.The guest user must be confined.
3.The guest user must not be able to use Mozilla Firefox.
4.Access to files and directories must be granted based only of the SELinux contexts.
5.The SELinux configuration must be persistent across system restarts.
6.Users must be able to publish private HTML content.
You issued these commands:
# setenforce enforcing
# semanage login -a -s guest_u guest
# setsebool httpd_enabled_homedirs on
Which requirements do you meet?
# sestatus
SELinux status:
enabled
SELinuxfs mount:
/selinux
Current mode:
enforcing
Mode from config file:
permissive
Policy version:
Police from config file:
targeted
You have to meet these requirements:
1.Network services must run in a confined domain.
2.The guest user must be confined.
3.The guest user must not be able to use Mozilla Firefox.
4.Access to files and directories must be granted based only of the SELinux contexts.
5.The SELinux configuration must be persistent across system restarts.
6.Users must be able to publish private HTML content.
You issued these commands:
# setenforce enforcing
# semanage login -a -s guest_u guest
# setsebool httpd_enabled_homedirs on
Which requirements do you meet?
Correct Answer: A
Question 5
Which statement is true about BTRFS RAID?
Correct Answer: C
Question 6
What statement describes the iSCSI client system's iSCSI database?
Correct Answer: D
Question 7
Examine the list of requirements for an XFS file system:
1.Its label must be /xfs1.
2.It must mount automatically during system startup.
3.The user data must be stored on /dev/sdh1.
4.The journal data must be stored on /dev/sdd1.
5.The journal must be 4GB in size.
6.It must contain a real-time section.
7.Its block size must be 4096 bytes.
You execute the command:
# mkfs -t xfs -L /xfs1 -l logdev=/dev/sdd1 -d size=4g /dev/sdh1
Which requirements do you meet?
1.Its label must be /xfs1.
2.It must mount automatically during system startup.
3.The user data must be stored on /dev/sdh1.
4.The journal data must be stored on /dev/sdd1.
5.The journal must be 4GB in size.
6.It must contain a real-time section.
7.Its block size must be 4096 bytes.
You execute the command:
# mkfs -t xfs -L /xfs1 -l logdev=/dev/sdd1 -d size=4g /dev/sdh1
Which requirements do you meet?
Correct Answer: A
Question 8
Examine the UserDir directives in this extract from /etc/httpd/conf/httpd.conf:
<Ifmodule mod_userdir.c>
UserDir enabled user1
UserDir disabled user1
UserDir public_html
</ifModule>
The web server URL is http://host01.
A website exists in the user's directory /home/user1/public_html.
A user attempts to access user1's webpages by using the URL:
http://host01/~user1
Which statement describes the outcome?
<Ifmodule mod_userdir.c>
UserDir enabled user1
UserDir disabled user1
UserDir public_html
</ifModule>
The web server URL is http://host01.
A website exists in the user's directory /home/user1/public_html.
A user attempts to access user1's webpages by using the URL:
http://host01/~user1
Which statement describes the outcome?
Correct Answer: A
Question 9
While copying a file to the /users file system, which is located on /dev/sdd1, you receive an error:
$ cp /etc/oratab /users/oracle
cp: cannot create regular file '/users/oracle/oratab': Disk quota exceeded
You examine your assigned quota as shown:
$ quota -g
Disk quotas for user oracle (uid 500):
Filesystem
blocks
quota
limit
grace
files
quota
limit
grace
/dev/sdd1
2000
100000
20000
103*
100
150
6 days
Which option represents the reason for receiving the Disk quota exceeded error?
$ cp /etc/oratab /users/oracle
cp: cannot create regular file '/users/oracle/oratab': Disk quota exceeded
You examine your assigned quota as shown:
$ quota -g
Disk quotas for user oracle (uid 500):
Filesystem
blocks
quota
limit
grace
files
quota
limit
grace
/dev/sdd1
2000
100000
20000
103*
100
150
6 days
Which option represents the reason for receiving the Disk quota exceeded error?
Correct Answer: D
Question 10
Which two commands can be used to find the cgroup to which a given process with PID belongs?
Correct Answer: A,B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

