"A script enabled browser is required for this page to function properly"

Oracle Certification

Oracle Linux System Administration Exam

Sample Questions

View answers below

Sample questions are provided solely to familiarize candidates with the multiple-choice format and writing style of questions that will be found on the exam.  Sample questions may not cover the full spectrum of difficulty that is covered by the exam questions. Success on the sample questions does not predict success on the exam.

1. You are setting up 100 Linux machines and you want to go for a Linux Kickstart installation. You plan to have an LVM partition mounted on the /var file system on all the machines. You created the Kickstart file using the system-config-kickstart command on the server. You found no options to create LVM partitions using Kickstart configurator.

Which three options in the Kickstart configuration file would help you have a varvol logical volume of  1.5 GB created and mounted on the /var file system on all clients during the Kickstart installation? (Choose three.)

  1. volgroup vol1 pv.01
  2. part pv.01 --size 3000
  3. part pv.02 --size 1536
  4. logvol /var --vgname=vol1 --size=1536 --name=varvol
  5. logvol varvol --vgname=vol1 --size=1536 --name=/var
  6. logvol varvol --vgname=vol1 --size=1536 --name=varvol
2. As an Oracle Linux administrator, you edited the /etc/inittab file on your Oracle Linux system as shown below:

In the runlevel control section, the following line is added:

~:S:wait:/sbin/sulogin

In the lauching getty section the following changes are made:

1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2 --autologin oracle
3:235:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:234:respawn:/sbin/mingetty tty5 --autologin scott
6:2345:respawn:/sbin/mingetty tty6
7:235:respawn:/sbin/mingetty tty7 --autologin user1

All other entries remain in their default format.

Which statements are true about the behavior of the system on boot? (Choose all that apply.)
  1. The system would not have a Graphical User Interface (GUI).
  2. The system will reboot whenever it goes to single user mode.
  3. The scott user would not be able to log in to the Graphical User Interface (GUI).
  4. The system would boot to runlevel 5 and it would have a Graphical User Interface (GUI).
  5. The system will go to single user mode only on a successful authentication by the root password.
  6. The oracle user account will automatically log in to tty2 when the system boots to runlevel 2, 3, 4 and 5.
  7. The oracle user account will automatically log in to the terminals tty2, tty3, tty4, and tty5 upon a system boot to runlevel 2.
3. You have a newly installed Linux machine with three users. UIDs up to 503 are used in the /etc/passwd file. UID_MIN is defined as 500 and UID_MAX is defined as 60000 in the /etc/login.defs file. You created a scott user by manually defining the UID as 1000. Then you created the user smith by manually defining the UID as 444 and the user bob with a UID of 333.

What would be the UID of the next user created on the system without manually defining a UID?

  1. 334
  2. 504
  3. 445
  4. 1001
4. You have the partition layout on a Linux system as shown below:

[root@oracle ~]# fdisk  -l

Disk /dev/sda: 160.0 GB, 160000000000 bytes
255 heads, 63 sectors/track, 19452 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        2611    20972826    7  HPFS/NTFS
/dev/sda2            2612        3134     4200997+   c  W95 FAT32 (LBA)
/dev/sda3            3135       19452   131074335    f  W95 Ext'd (LBA)
/dev/sda5            3199       14034    87040138+   b  W95 FAT32
/dev/sda6           14035       16329    18434556   83  Linux
/dev/sda7           16330       16590     2096451   82  Linux swap
/dev/sda8           16591       18247    13309821   83  Linux

You are about to create a new partition and you issued the fdisk /dev/sda command.
What could be the maximum number of cylinders included in the next newly created partition with the default starting cylinder given by the fdisk /dev/sda command?

  1. 63
  2. 64
  3. 1204
  4. 1205
  5. 1203
5. You have the /dev/md0 RAID array created on your system and the status of the device is as follows:

[root@oracle ~]# cat /proc/mdstat
Personalities : [raid1]
md0 : active (read-only) raid1 sda10[1] sda9[0]
248896 blocks [2/2] [UU]

unused devices: <none>

You want to make the /dev/md0 RAID device available in the file system hierarchy mounted on the /tmp directory.
Which command should be issued before mounting /dev/md0 on /tmp to avoid malfunctioning of the system with /tmp?

  1. mdadm --misc -Q /dev/md0
  2. mdadm --misc -D /dev/md0
  3. mdadm --misc -o /dev/md0
  4. mdadm --misc -w /dev/md0
  5. mdadm --misc -w /dev/sda9 /dev/sda10
6. You have station1 that exists in the 10.100.0.0/24 network. The server1 and server2 DHCP servers co-exist in the same network.

The IP addresses of server1 and server2 are:

server1 : 10.100.0.201
server2 : 10.100.0.222

The /etc/dhcpd/dhcpd.conf file has the entry on server1 and server2 as given below:

server1 :    range dynamic-bootp 10.100.0.1 10.100.0.100
server2 :    range dynamic-bootp 10.100.0.150 10.100.0.200

The dhcpd service is running on both the servers.

The station1 client wants to have an IP address in the range of 10.100.0.150 to 10.100.0.200, and issues the dhclient command. However, the leased IP address is 10.100.0.25. You try dhclient several times but the result is the same. You killed the dhclient process.

Which command on station1 would help you in this situation to make sure that station1 receives an ip address in the range 10.100.0.150 to 10.100.0.200?

  1. echo "reject 10.100.0.222;" >> /etc/dhclient.conf ; dhclient 
  2. echo "reject 10.100.0.25;" >> /etc/dhclient.conf ; dhclient
  3. echo "reject 10.100.0.201;"  >> /etc/dhclient.conf ; dhclient
  4. echo "reject 10.100.0.25;" >> /var/lib/dhcp/dhcpd.leases; dhclient
  5. echo "reject 10.100.0.201;" >> /etc/dhclients.conf ; /etc/init.d/dhcpd restart

Answers

  1. ABD
  2. DEF
  3. D
  4. B
  5. D
  6. C