Oracle Linux 8 Advanced System Administration - 1Z0-106 Exam Practice Test
Which mdadm command creates a RAID-1 device consisting of two block volumes and one spare device?
Correct Answer: C
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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?
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?
Correct Answer: C,F
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Examine this command and output:
# cat deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
Now examine this command which executes successfully:
$ kubectl create -f deployment.yaml
Which two statements are true?
# cat deployment.yaml
apiVersion: apps/v1
kind: Deployment
metadata:
name: nginx-deployment
spec:
selector:
matchLabels:
app: nginx
replicas: 2
template:
metadata:
labels:
app: nginx
spec:
containers:
- name: nginx
image: nginx:1.14.2
ports:
- containerPort: 80
Now examine this command which executes successfully:
$ kubectl create -f deployment.yaml
Which two statements are true?
Correct Answer: C,D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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?
# 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?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Which two statements are true about container technology?
Correct Answer: B,E
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Examine these requirements for a host with a user oracle:
* Network services must run in a confined domain.
* The oracle user must be confined.
* The oracle user must be able to use Mozilla Firefox.
* Access to files and directories must be granted based only on SELinux contexts.
* The SELinux configuration must be persistent across system restarts.
* Users must be able to publish private HTML content.
Now examine these commands and output:
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max Kernel policy version: 31
# setenforce enforcing
# semanage login -a -s guest_u oracle
# setsebool -P http_enable_homedirs on
Which requirements are satisfied?
* Network services must run in a confined domain.
* The oracle user must be confined.
* The oracle user must be able to use Mozilla Firefox.
* Access to files and directories must be granted based only on SELinux contexts.
* The SELinux configuration must be persistent across system restarts.
* Users must be able to publish private HTML content.
Now examine these commands and output:
# sestatus
SELinux status: enabled
SELinuxfs mount: /sys/fs/selinux
SELinux root directory: /etc/selinux
Loaded policy name: targeted
Current mode: permissive
Mode from config file: permissive
Policy MLS status: enabled
Policy deny_unknown status: allowed
Memory protection checking: actual (secure)
Max Kernel policy version: 31
# setenforce enforcing
# semanage login -a -s guest_u oracle
# setsebool -P http_enable_homedirs on
Which requirements are satisfied?
Correct Answer: D
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
Examine this command:
# nft add rule inet filter input tcp dport 80 drop
Which two statements are true upon execution?
# nft add rule inet filter input tcp dport 80 drop
Which two statements are true upon execution?
Correct Answer: E,F
Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).