Vcehome > Oracle > Operating Systems > 1Z0-105 > 1Z0-105 Online Practice Questions and Answers

1Z0-105 Online Practice Questions and Answers

Questions 4

You want to configure networking on a host and have these requirements:

1.

A cache only nameserver is to be used.

2.

DHCP is used to obtain an IP address.

3.

DHCP must not overwrite nameserver details contained in the /etc/resolv.conf file.

4.

The nameserver must be activated automatically at system startup.

5.

There are two network adaptors, eth0 and eth1.

The bind package has already been installed and the network service stopped. Which four actions must be performed to implement this requirement?

A. Add lines with PEERDNS=no and BOOTPROTO=dhcp to the /etc/sysconfig/network- scripts/ifcfg-eth0 file.

B. Add a line with PEERDNS=no to the /etc/resolv.conf file.

C. Add a line with nameserver 127.0.0.1 to the /etc/resolv.conf file.

D. The network and bind services must be started automatically by using chkconfig for those services at the appropriate run levels.

E. Add lines with PEERDNS=no and BOOTPROTO=dhcp to the /etc/sysconfig/network- scripts/ifcfg-eth1 file.

F. Start the network service only automatically by using chkconfig for those services at the appropriate run levels.

G. Start the bind service only automatically by using chkconfig for those services at the appropriate run levels.

Browse 172 Q&As
Questions 5

Examine the output of the command:

lssubsys -am

devices freezer net_cls perf_event hugetlb

Now the lssubsys command is executed and new output is generated: ssubsys am ssubsys -am devices

perf_event hugetlb

Which command or sequence of commands is correct?

A. mkdir –p /cgroup/C; mount –t cgroup –o freezer C /cgroup/C; mount –t cgroup –o remount, freezer, net_cls C /cgroup/C

B. mkdir –p /cgroup/C; mount –o freezer, net_cls cgroup /cgroup/C

C. mkdir –p /cgroup/C; mount –t cgroup –o freezer freezer /cgroup/C; mount –t cgroup –o net_cls net_cls / cgroup/C

D. mkdir –p /cgroup/C; mount –t cgroup –o freezer, net_cls /cgroup/c

Browse 172 Q&As
Questions 6

You run the crash utility on an Oracle Linux system after a kernel panic and use the bt -a command as shown: crash> bt a

crash> bt -a

PID: 286 TASK: c0b3a000 CPU: 0 COMMAND: "in.rlogind"

#0 [c0b3be90] crash_save_current_state at c011aed0 #1 [c0b3bea4] panic at c011367c #2 [c0b3bee8] tulip_interrupt at c01bc820 #3 [c0b3bf08] handle_IRQ_event at c010a551 #4 [c0b3bf2c] do_8259A_IRQ at c010a319 #5 [c0b3bf3c] do_IRQ at c010a653 #6 [c0b3bfbc] ret_from_intr at c0109634

#7 [c0b3bfbc] sys_select at c012f803 #8 [c0b3bfc0] system_call at c0109598 Which two statements are true about the purpose of the bt a command?

A. It shows stack traces of all tasks and threads.

B. It shows stack traces of the active task on each CPU.

C. The output of each CPU must be requested separately.

D. It may help show a relationship between panicking tasks on one CPU and tasks on other CPUs.

Browse 172 Q&As
Questions 7

After settings up encryption for /dev/sdd1, you notice that the file system is not mounted during system

startup.

You suspect a configuration error in /etc/crypttab:

# cat /etc/crypttab

Assume that /etc/fstab is correct. Identify the reason why the file system is not mounted after system startup.

A. The option field cannot be empty.

B. The password field must contain the encrypted version of "TopSecret".

C. The password field must contain the file name of a file containing the correct encryption password.

D. /etc/crypttab is group readable, world readable, or both.

E. "TopSecret" is not the correct encryption password.

Browse 172 Q&As
Questions 8

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?

A. 1, 3, 4, 7

B. 1, 2, 3, 4, 7

C. 1, 3, 4

D. 1, 3, 4, 5, 7

E. 1, 3, 4, 5, 6, 7

F. 1, 2, 3, 4, 5, 6, 7

Browse 172 Q&As
Questions 9

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.100 192.168.100.200;

}

host host100 {

hardware ethernet 00:0c:29:B9:07:41;

fixed-address 192.168.100.100;

}

Which statement is true about this DHCPD configuration?

A. An attempt to start DHCPD fails due to the conflicting lease declaration for address 192.168.100.100.

B. A lease request from host100 always fails.

C. A lease request from host100 fails only if address 192.168.100.100 is currently in use.

D. A lease request from host100 succeeds if the host assigned to address 192.168.100.100 is currently offline.

E. A lease request from host100 fails only if a previous lease on address 192.168.100.100 has expired.

Browse 172 Q&As
Questions 10

Which single statement is true for creating a labeled filesystem in RAID-1 on devices /dev/sdc and /dev/ sdd?

A. mkfs –t btrfs –d raid1 /dev/sdc /dev/sdd

B. mkfs.btrfs –d raid1 –L Btrfs /dev/sdc /dev/sdd

C. mkfs.btrfs –r raid1 –L Btrfs /dev/sdc /dev/sdd

D. mkfs.btrfs –L Btrfs /dev/sdc /dev/sdd

Browse 172 Q&As
Questions 11

You want to install the i686 version of OL5.9 on your OL6.5 x86_64 host to build some packages in the oder environment.

Which create command line would you use?

A. lxc-create –n OL5.9 –t oracle -- -u ftp://public-yum.oracle.com/OL5/9/base/i386

B. lxc-create –n OL5.9 –arch=i386 –t oracle

C. You cannot run an i686 container on an x86_64 host.

D. lxc-create –n OL5.9 –t oracle -- -R 5.9 –arch i386

Browse 172 Q&As
Questions 12

You must configure DHCPD on a system with one interface to support only the clients that require a fixed address.

What must you define in /etc/dhcp/dhcpd.conf to meet this requirement?

A. one SUBNET definition, without a RANGE definition, and multiple HOST definitions

B. one SUBNET definition, without a RANGE definition, and multiple HOST definitions

C. only one SUBNET definition with a RANGE definition

D. only one SUBNET definition without a RANGE definition

Browse 172 Q&As
Questions 13

You have an unmounted btrfs file system:

# btrfs filesystem show Label: `Btrfs' uuid: 7bfe3239-47ee-442b-b9f8-49f88b6b1be4 Total devices 3 FS bytes used 300.51MB devid 2 size 4.88GB used 1.06GB path /dev/sdd devid 1 size 4.88GB used 580.00GB path /dev/sdc devid 3 size 4.88GB used 1.50GB path /dev/sdb

You have these mounted devices: # df –h

Filesystem Size Used Avail Use% Mounted on

/dev/mapper/vg_exam1-LogVol_system

9.6G 3.3G 3.9G 46% /

tmpfs 499M 0 499M 0% /dev/shm

/dev/sda1 485M 77M 384M 17% /boot

You have a mount point for the btrfs file system:

# ls –all /btrfs

total 0

drwxr-xr-x. 1 root root 0 Aug 12 10:17 .

dr-xr-xr-x. 1 root root 276 Aug 12 10:36 ..

Which option represents the correct order to add a new device /dev/sdb to the btrfs file system and

rebalance data blocks between all devices?

1.

btrfs device add /dev/sdb /btrfs

2.

btrfs device balance /dev/sdb

3.

btrfs filesystem balance /btrfs

4.

Manual rebalance is not needed. Btrfs will rebalance it automatically.

5.

btrfs device add /dev/sdd /dev/sdb

6.

mount LABEL=Btrfs /btrfs

A. 6, 1, 3

B. 5, 2

C. 5, 4

D. 6, 5, 3

E. 6, 1, 4

Browse 172 Q&As
Exam Code: 1Z0-105
Exam Name: Oracle Linux 6 Advanced System Administration
Last Update: Apr 30, 2024
Questions: 172 Q&As

PDF

$49.99

VCE

$59.99

PDF + VCE

$67.99