Black Friday Biggest Discount Flat 70% Offer - Ends in 0d 00h 00m 00s - Coupon code: 70diswrap

Oracle 1z0-106 Dumps

Page: 1 / 6
Total 60 questions

Oracle Linux 8 Advanced System Administration Questions and Answers

Question 1

You must add an additional swap device and you add this entry to /etc/fstab:

/.swapfile none swap defaults 0 0

Examine these commands and output:

# dd if=/dev/zero of=/.swapfile bs=1024 count=1048576

1048576+0 records in

1048576+0 records out

1073741824 bytes (1.1 GB, 1.0 GiB) copied, 4.32499 s, 248 MB/s

# swapon -a

swapon: /.swapfile: insecure permissions 0644, 0600 suggested.

swapon: /.swapfile: read swap header failed

Which two actions must you perform to add this swap device?

Options:

A.

Initialize the .swapfile file by using the mkswap command.

B.

Execute swapon -all.

C.

Change defaults to user in the /etc/fstab entry.

D.

Assign a label to the .swapfile file by using the swaplabel command.

E.

Execute swapon -L swapfile /.swapfile after adding a label.

F.

Use a physical disk partition type of 82 (Linux swap).

Question 2

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 3

The ss command was invoked with options to:

    limit output to all listening and non-listening TCP ports

    display ports instead of the protocols that typically use those ports

    display all available internal TCP information

    display only connections whose source or destination port is 80

Which two results are produced by the command?

Options:

A.

UNCONN 0 0 [::1]:323 [::]:*

B.

tcp CLOSE-WAIT 32 0 server.example.com:44732 12.21.0.15:https

C.

ESTAB 0 0 10.12.18.92:50384 169.254.169.254:80 cubic wscale:9,7 rto:201 rtt: 0.226/0.113 ato:40 mss:8948 pmtu:9000 rcvmss:1728 advmss:8948 cwnd:10 bytes_sent:142 bytes_acked:143 bytes_received:1728 segs_out:4 segs_in:3 data_segs_out:1 data_segs_in:1 send 3167433628bps lastsnd:11351 lastrcv: 11351 lastack:11351 pacing_rate 6334867256bps delivery_rate 504112672bps delivered:2 app_limited rcv_space:62720 rcv_ssthresh:56588 minrtt:0.142

D.

LISTEN 0 511 *:80 *:* cubic cwnd:10

E.

icmp6 UNCONN 0 0 *:58 *:*

Question 4

Which mdadm command creates a RAID-1 device consisting of two block volumes and one spare device?

Options:

A.

mdadm –create /dev/md0 –level=5 –raid-devices=2 /dev/xvdd1 /dev/xvdd2 –spare-devices=1 /dev/xvdd3

B.

mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/xvdd1 /dev/xvdd2

C.

mdadm –create /dev/md0 –level=1 –raid-devices=2 /dev/xvdd1 /dev/xvdd2 –spare-devices=1 /dev/xvdd3

D.

mdadm –create /dev/md0 –level=0 –raid-devices=2 /dev/xvdd1 /dev/xvdd2 –spare-devices=1 /dev/xvdd3

Question 5

Examine this command and output:

# ausearch -k mkdir

type=SYSCALL msg=audit(1604360199.719:44733): arch=c000003e syscall=83 success=no a0=55dec0b47400 a1=lc0 a2=0 a3=0

items=2 ppid=1354 pid=284632 auid=4294967295 uid=996 gid=996 euid=998 suid=998 fsuid=998 egid=996 sgid=996 fsgid=996

tty=(none) ses=429 comm="pkla-check-auth" exe="/usr/bin/pkla-check-authorization" subj=system_u:system_r:policykit_auth_t:s0 key="mkdir"

Which command displays the syscall in text format instead of numerical format?

Options:

A.

ausearch -a 83 -k mkdir

B.

ausearch -I -k mkdir

C.

ausearch -sc 83 -k mkdir

D.

ausearch --format text -k mkdir

E.

ausearch -r -k mkdir

Question 6

Which two statements are true about removing a physical volume (PV) from a volume group (VG)?

Options:

A.

It can be removed only after removing it from its VG by using vgreduce.

B.

It can be removed when an active VG has mounted file systems by running vgexport.

C.

It cannot be removed when it is part of an active VG.

D.

It can be removed when an inactive logical volume is on the VG.

E.

It can be removed when it is part of an active VG.

Question 7

Which two components are used for creating a new rsyslog rule?

Options:

A.

filter

B.

action

C.

parser

D.

module

E.

security policy

Question 8

Examine these Kubernetes components:

as

Which option correctly matches the components with their description?

Options:

A.

1-d, 2-f, 3-e, 4-a, 5-c, 6-b

B.

1-b, 2-a, 3-e, 4-c, 5-f, 6-d

C.

1-a, 2-d, 3-b, 4-c, 5-e, 6-f

D.

1-c, 2-f, 3-d, 4-b, 5-e, 6-a

E.

1-d, 2-f, 3-c, 4-e, 5-a, 6-b

Question 9

Examine this command:

$ podman run –name=oracleshell -it oraclelinux:8 -slim

Which two statements are true upon execution?

Options:

A.

The container creates and starts an interactive shell.

B.

The container named oracleshell must already exist; otherwise, the command fails.

C.

The command fails if the oraclelinux:8 -slim image does not exist on the local machine.

D.

The container is created and started in a single command.

E.

The container is removed by typing exit at the bash shell prompt.

Question 10

Which two statements are true about the at and batch commands?

Options:

A.

batch schedules the execution of recurring tasks.

B.

at schedules the execution of recurring tasks.

C.

Both at and batch read from standard input, or you can specify a file and execute the commands with the -f option.

D.

batch executes a task when the system load average is greater than 0.8.

E.

at executes a one-time task to run at a specific time.

Question 11

Which two statements are true about kernel boot parameters?

Options:

A.

Boot parameters are defined as values for the GRUB_CMDLINE_LINUX directive in the /etc/default/grub file.

B.

Boot parameters defined as values for the GRUB_BOOT command-line interface are persistent and apply to all subsequent reboots.

C.

Each kernel version's boot parameters are stored in independent configuration files in/boot/loader/entries.

D.

Parameters passed to the kernel from the GRUB 2 menu are persistent and apply to all subsequent reboots.

Question 12

Examine /etc/anacrontab:

SHELL=/bin/sh

PATH=/sbin:/bin:/usr/sbin:/usr/bin

MAILTO=root

# the maximal random delay added to the base delay of the jobs

RANDOM_DELAY=45

# the jobs are started during the following hours only

START_HOURS_RANGE=3-22

# period in days delay in minutes job-identifier command

1 5 dailyjob nice run-parts /etc/cron.daily

7 25 weeklyjob nice run-parts /etc/cron.weekly

@monthly 45 monthlyjob nice run-parts /etc/cron.monthly

Which two statements are true about the jobs scheduled in this file?

Options:

A.

Scripts run by the first job are delayed between 11 and 45 minutes.

B.

Jobs defined in this anacrontab file can be executed between 15:00 and 22:00

C.

Scripts run by the third job are delayed between 45 and 90 minutes.

D.

Jobs defined in this anacrontab file are randomly delayed by up to 51 minutes.

E.

Scripts run by the second job are delayed between 31 and 70 minutes.

Question 13

Which takes precedence for ssh program configuration?

Options:

A.

/etc/ssh/ssh_config

B.

~/.ssh/config

C.

Command line

D.

/etc/ssh/sshd_config

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

Examine this network configuration:

NAME="ens4"

DEVICE="ens4"

ONBOOT=no

NETBOOT=yes

IPV6INIT=yes

BOOTPROTO=none

IPADDR=192.168.2.5

PREFIX=24

GATEWAY=192.168.2.1

TYPE=Ethernet

Which two statements are true after executing nmcli con mod ens4 ipv4.method auto?

Options:

A.

Interface ens4 automatically starts on boot.

B.

BOOTPROTO value is set to dhcp.

C.

ONBOOT value is set to yes.

D.

IPADDR value is considered null.

E.

ONBOOT value is set to dhcp.

F.

Interface ens4 is assigned an IP address of 192.168.2.5.

Question 16

Examine these commands and output:

# cat /etc/auto.master

/net -hosts

/- auto.direct ro

# cat /etc/auto.direct

/nfs1 host01:/export/share1

/nfs2 -sync host01:/export/share2

/nfs3 host02:/export/share3

Automounter must be used to mount these filesystems. Which mount options will it use?

Options:

A.

/nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-only, sync.

B.

All three filesystems are mounted read-write, sync.

C.

All three filesystems are mounted read-only, sync.

D.

All three filesystems are mounted read-only, async.

E.

/nfs1 and /nfs3 are mounted read-only, async while /nfs2 is mounted read-write, sync.

Question 17

Examine the access privileges on this directory:

drwx------ 2 user1 test 4096 Nov 6 10:12 my_directory/

You must enable another user to read and navigate to my_directory. Which command will do this?

Options:

A.

setfacl --default --modify user:user2:rw- my_directory

B.

setfacl --modify user:user2:r-- my_directory

C.

setfacl -x user:user2 my_directory

D.

setfacl --modify user:user2:r-x my_directory

E.

setfacl --modify group:test:r-- my_directory

Question 18

Which two statements are true about fdisk?

Options:

A.

It understands GPT, MBR, and HFS partition tables.

B.

fdisk -l displays disk size information for all disks.

C.

It can partition disks larger than 2 TB by using a GPT partition table.

D.

It can divide logical devices into one or more block disks called partitions.

E.

It cannot partition disks larger than 2 TB by using a GPT partition table.

Page: 1 / 6
Total 60 questions