Oracle Linux 6 Advanced System Administration v6.0 (1z0-105)

Page:    1 / 7   
Total 97 questions

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/xfs1and 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?

  • A. mount /dev/sdh1 /xfs1
  • B. mount LABEL=/xfs1 /xfs1
  • C. mount –t xfs –o logdev=dev/sdd1 /dev/sdh1 /xfs1
  • D. mount LABEL=/xfs1 –o logdev=/dev/sdd1 /xfs1
  • E. mount LABEL=/xfs1 –o logdev=/dev/sdd1
  • F. mount –t xfs LABEL=/xfs1 /xfs1


Answer : C,D

Which three statements are true about the Kickstart installation method?

  • A. It always requires a Kickstart file.
  • B. The system must be booted manually with theks=option.
  • C. It automates the installation of Oracle Linux.
  • D. It creates a Kickstart file.
  • E. It requires local access to the installation media.
  • F. It requires aPXEboot from the network.


Answer : C,E,F

Reference:http://docs.oracle.com/cd/E37670_01/E41137/html/ch03s02.html

You construct a newudevrule to name a specific removable device, but the rule does not appear to work.
Which command would you use to troubleshoot the new rule?

  • A. udevadm trigger
  • B. udevadm monitor
  • C. udevadm settle
  • D. udevadm control


Answer : B

Reference:http://www.freedesktop.org/software/systemd/man/udevadm.html

You want to create a new LUN, LUN ID =1, on a new target, target ID = 2.
Inspect the current state of targets and LUNs in the output fromtgt-admin s. The output is filtered to show only target and LUN associations.
[root@EDFAR9P0 init.d]# tgt-admin s | egrep i target|lun
Target 1: iqn.2013-03.com.example.mypc:1
LUN information:

LUN: 0 -

LUN: 1 -

LUN: 2 -

LUN: 3 -
You want to add a new LUN to a new target by using
the/iSCSIsharedDisk/physDisk4.imgdisk image file.
Which two options would you use to do this?

  • A. tgt-setup-lun –t 2 tgt-setup-lun –d /iSCSIsharedDisk/physDisk4.img –t 2
  • B. tgt-setup-lun –d /iSCSIsharedDisk/physDisk4.img –n 2
  • C. tgt-admin --op new \ --mode target \ --tid 2\ --targetname iqn.2013-03.com.example.mypc:2 tgt-admin --op new \ --mode logicalunit \ --tid 2 \ --lun 1 \ --backing-store /iSCSIsharedDisk/physDisk4.img
  • D. tgtadm -- op new \ --mode target \ --tid 2\ --targetname iqn.2013-03.com.example.mypc:2 \ --lun 1 \ --backing-store /iSCSIsharedDisk/physDisk4.img
  • E. tgt-admin –d /iSCSIsharedDisk/physDisk4.img –n 2


Answer : A,E

Identify the minimum required steps to configure an NIS master.
1. Ensure that theyptools,ypbind, andypservRPMs are installed.
2. Configure and set the NIS domain name.
3. Start theypservservice.
4. Start theypxfrdservice.
5. Start theyppasswddservice
6. Runypinit m
7. Start theypbindservice

  • A. 1, 2, 3, 6
  • B. 1, 2 , 3, 6, 7
  • C. 1, 2, 3, 4, 6, 7
  • D. 1, 2, 3, 4, 5, 6, 7
  • E. 1, 2, 3, 4, 5, 6


Answer : B

Reference:https://pashasysadm.wordpress.com/2014/06/16/nis-master-client-server- configuration-setup/

Consider the features and capabilities of Kernel-based Virtual Machine (kvm).
Which two statements are correct?

  • A. kvmis considered both a type-1 and type-2 hypervisor because it turns the Linux kernel into a bare-metal hypervisor but the OS running on the virtualization host is a full OS.
  • B. kvmis an open source hypervisor, which provides full virtualization with hardware- assisted virtualization. It does not support paravirtualized devices.
  • C. There are twokvmmodules: akvmmodule that provides the core virtualization infrastructure and akvm_hwmodule that ensbles x86 hardware virtualization extensions (Intel VT or AMD-V).
  • D. Thekvmhypervisor in Oracle Linux is managed withlibvirtAPI and tools built forlibvirt, such asvirt-managerandvirsh.
  • E. kvm provides a software package called Linux Integration Services (LIS) that provides integration between the OS running in thekvmvirtual machine and the physical host.


Answer : A,D

Which three server types are made possible by installingSAMBAon Oracle Linux and activatingSAMBAservices?

  • A. active directory domain controller
  • B. Network Information Service (NIS) server
  • C. domain member server
  • D. Windows NT domain controller
  • E. stand-alone workgroup server


Answer : A,C,D

Match the web server directives to their description:

A)ServerRoot -
1) Defines the IP address/Post number combination that the server is accessible on

B)Listen -
2) Defines the domain name that this server responds to, as used in a browser URL

C)Include -
3) Is used to specify the inclusion of specific functional executable modules

D)LoadModule -
4) Defines the directory location of all configuration files, documents, and scripts

E.)ServerName -
5)Directs the server at startup to support module-specific configuration files

  • A. A-4, B-1, C-5, D-3, E-2
  • B. A-5, B-2, C-3, D-4, E-1
  • C. A-3, B-1, C-5, D-4, E-2
  • D. A-4, B-2, C-5, D-3, E-1


Answer : D

Which statement is true about configuring a nameserver in Oracle Linux?

  • A. If it is a primary nameserver, it must be an authoritative nameserver for all zones.
  • B. If it is a recursive nameserver, it must be a cache-only nameserver for all zones.
  • C. It may be authoritative for some zones and cache-only for other zones.
  • D. If it is a secondary nameserver, it must be an authoritative nameserver for all zones.
  • E. If it is a secondary nameserver, it must copy zone data from a primary nameserver.


Answer : A

Users report 403-Forbidden errors while accessing Apache manuals after you enabled
SELinux.
Examine the contents of/var/www/manual:
# ls Za /var/www/manual
drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:s0 . drwxr-xr-x. root root system_u: object_r:httpd_sys_content_t:s0 ..
-rw-r--r--. root root system_u: object_r:user_home_t:s0 bind.html
-rw-r--r--. root root system_u: object_r:user_home_t:s0 caching.html
-rw-r--r--. root root system_u: object_r:user_home_t:s0 configuring.html
-rw-r--r--. root root system_u: object_r:user_home_t:s0 content-negotiation.html
-rw-r--r--. root root system_u: object_r:httpd_sys_content_t:s0 convenience.map
Identify two commands that will resolve the 403-Forbidden errors.

  • A. restorecon –R /var/www/manual
  • B. fixfiles relabel /var/www/manual
  • C. chcon –R –t httpd_sys_content_t /var/www/manual
  • D. fixfiles check /var/www/manual


Answer : C,D

Examine the contents of the dhcp configuration file:
# cat /etc/dhcp/dhcpd.conf
subnet 192.168.100.0 netmask 255.255.255.0 {
range 192.168.100.100192.168.100.200;
host host100 {
hardwareethernet 00:0c:29:B9:07:41;
fixed-address 192.168.100.100;
Which statement is true about thisDHCPDconfiguration?

  • A. An attempt to startDHCPDfails due to the conflicting lease declaration for address192.168.100.100.
  • B. A lease request fromhost100always fails.
  • C. A lease request fromhost100fails only if address192.168.100.100is currently in use.
  • D. A lease request fromhost100succeeds if the host assigned to address192.168.100.100is currently offline.
  • E. A lease request fromhost100fails only if a previous lease on address192.168.100.100has expired.


Answer : D

Examine the contents of the /etc/ocfs2/cluster.conf file:
node:
name = exam2
cluster = mycluster
number = 0
ip_address = 192.168.56.106
ip_port = 7777
node:
name = exam3
cluster = mycluster
number = 1
ip_address = 192.168.56.107
ip_port = 7777
clustr:
name = mycluster
heartbeat_mode = local
node_count = 2
Identify the minimum number of commands issued, in the correct order, to create this file.
1. o2cb add-cluster --heartbeat_mode local mycluster
2. o2cb add-node --ip 192.168.56.107 --number 1 mycluster exam3
3. o2cb add-cluster mycluster
4.o2cb add-node --ip 192.168.56.106 -- number 0 mycluster exam2
5. o0cb config-cluster node_count 2 mycluster
6. o2cb configure

  • A. 3, 4, 2
  • B. 6, 4, 2, 3
  • C. 6, 4, 2, 5, 3
  • D. 6, 1, 4, 2
  • E. 1, 4, 2
  • F. 1, 4, 2, 5


Answer : C

While copying a file to the/usersfile 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 theDisk quotaexceeded error?

  • A. Theoracleuser has reached its block quota.
  • B. Theoracleuser exceeded its file quota five days ago.
  • C. Theoracleuser has reached a group quota limit.
  • D. The/usersfile system is full.
  • E. Theoracleuser exceeded its block quota six days ago.


Answer : C

A new iSCSI target configurationis created in/etc/tgt/targets2.confusing a text editor. The file is used to avoid accidental destructive errors in the normal working configuration file/etc/tgt/targets.confwhile testing is in progress.
Which command would you use to activate this configuration without affecting the default configuration file?

  • A. service tgtd restart < /etc/tgt/targets2.conf
  • B. cat /etc/tgt/targets2.conf | tgt-admin –e
  • C. tgt-admin –e < /etc/tgt/targets2.conf
  • D. tgt-admin –e –c /etc/tgt/targets2.conf


Answer : B

Which two parameters are valid networking modes for a Linux container (LXC)?

  • A. veth
  • B. bridged
  • C. nat
  • D. macvlan
  • E. routed


Answer : B,C

Page:    1 / 7   
Total 97 questions