New Year Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: save70

Download Full Version 1z0-106 Oracle Exam

Page: 4 / 5
Total 60 questions

Oracle Linux 8 Advanced System Administration Questions and Answers

Question 13

Examine these commands executed by root:

# mkdir -p /jail /jail/bin /jail/lib64

# cp $(which bash) /jail/bin/

# ldd $(which bash)

linux-vdso.so.1 (0x00007ffd574f5000)

libtinfo.so.6 => /lib64/libtinfo.so.6 (0x00007fb458c2c000)

libdl.so.2 => /lib64/libdl.so.2 (0x00007fb458a28000)

libc.so.6 => /lib64/libc.so.6 (0x00007fb458666000)

/lib64/ld-linux-x86-64.so.2 (0x00007fb459177000)

# cp /lib64/libtinfo.so.6 /jail/lib64/

# cp /lib64/libdl.so.2 /jail/lib64/

# cp /lib64/libc.so.6 /jail/lib64/

# cp /lib64/ld-linux-x86-64.so.2 /jail/lib64/

# chroot /jail

What is the output from the cd, pwd, and ls commands?

Options:

A.

bash-4.4# cd

bash: cd: /root: No such file or directory

bash-4.4# pwd

/

bash-4.4# ls

bin lib64

B.

bash-4.4# cd

bash: cd: /root: Unable to access chrooted file or directory /root

bash-4.4# pwd

/

bash-4.4# ls

bin lib64

C.

bash-4.4# cd

bash: cd: /root: No such file or directory

bash-4.4# pwd

/root

bash-4.4# ls

bash: ls: command not found

D.

bash-4.4# cd

bash: cd: command not found

bash-4.4# pwd

bash: pwd: command not found

bash-4.4# ls

bash: ls: command not found

Question 14

Examine this command:

# nft add rule inet filter input tcp dport 80 drop

Which two statements are true upon execution?

Options:

A.

The rule is applied to both IPv4 and IPv6 packets.

B.

The rule updates the configuration on disk.

C.

All traffic inbound on port 80 is dropped.

D.

The rule applies to the input table.

E.

TCP packets inbound on port 80 are dropped.

F.

TCP packets outbound on port 80 are dropped.

Question 15

Which three statements are true about the journalctl command?

Options:

A.

journalctl -bl -p err fails if journal persistence is not configured.

B.

journalctl -p err shows only error log level.

C.

journalctl -p notice..warning shows all messages from notice to warning log level since the last boot.

D.

journalctl -k shows kernel logs since the last boot.

E.

journalctl -p 6 shows all info log level messages and above.

Question 16

Examine this udev device naming rule which gets processed successfully:

makefile

KERNEL=="hdb", DRIVER=="ide-disk", SYMLINK+="sparedisk"

Which two statements are true?

Options:

A.

Symbolic link /dev/sparedisk is created linking to /dev/hdb and with an ide-disk device driver, thus overwriting existing symbolic links.

B.

The matching device will be named /dev/sparedisk.

C.

Symbolic link /dev/sparedisk is created for a device named /dev/hdb which has an ide-disk device driver if such a device is discovered.

D.

The matching device will have the kernel device name /dev/hdb.

E.

Symbolic link /dev/sparedisk is created for a device named /dev/hdb or one that has an ide-disk device driver, whichever is discovered first.

Page: 4 / 5
Total 60 questions