Oracle Linux 6 Advanced System Administration - 1z1-105 Exam Practice Test

Examine the output of the lscgroup command:
cpuset, cpu, memory:/ cpuset, cpu, memory:/A2 cpuset, cpu, memory:/A2/A3 cpuset, cpu, memory:/B1 cpuset, cpu, memory:/A1 blkio:/ blkio:/B1 cpuacct:/ Which statement changes the shares parameter of the cpu subsystem for the group A3 to a value
of 2?
Correct Answer: D
Examine the D scrypt:
syscall::read:entry,
syscall::write:entry
/pid == $1/
{
ts[probefunc] = timestamp;
}
syscall::read:return,
syscall::write:return
/pid == $1 && ts[probefunc] != 0/
{
printf("%d nsecs", timestamp - ts[probefunc]);
}
Which statement is true about this script?
Correct Answer: A
A new iSCSI target configuration is created in /etc/tgt/targets2.conf using a text editor. The file is used to avoid accidental destructive errors in the normal working configuration file /etc/tgt/targets.conf while testing is in progress.
Which command would you use to activate this configuration without affecting the default configuration file?
Correct Answer: A
You create an XFS file system by using the command: # mkfs -t xfs -L /xfs1 -l logdev=/dev/cdd1 /dev/sdh1 You create the mount point /xfs1 and want to mount the file system on its mount point, before
adding an entry for the file system to /etc/fstab. Which two commands can you use to do this?
Correct Answer: C,E
Which three statements are true about an RPM SPEC file?
Correct Answer: A,C,D
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Examine this command and its output: # yum history list Loaded plugins: security ID Login user Data and time Action(s) Altered 3 <oracle> 2014-07-29 13:34 Install 3 2 <oracle> 2014-07-29 13:33 Install 7 1
<oracle>
2014-07-29 13:33
Install
history list
Which command must you use to undo the last two yum transactions?
Correct Answer: D
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?
Correct Answer: B
Which two statements are correct about features and capabilities of virtualization in Oracle Linux?
Correct Answer: C,E
Identify the minimum required steps to configure an NIS master.
1.Ensure that the yptools, ypbind, and ypserv RPMs are installed.
2.Configure and set the NIS domain name.
3.Start the ypserv service.
4.Start the ypxfrd service.
5.Start the yppasswdd service
6.Run ypinit -m
7.Start the ypbind service
Correct Answer: A
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).
Which statement describes the default network set up by an Oracle template script?
Correct Answer: B
Explanation: Only visible for ExamsLabs members. You can sign-up / login (it's free).