Oracle Linux 8 Advanced System Administration - 1Z0-106 Exam Practice Test
Question 1
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
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 2
Which two directories store PAM authentication modules?
Correct Answer: C,E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 3
Examine this segment of /etc/rsyslog.conf:
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg :omusrmsg:*
Now examine this log output:
less
Nov 9 20:32:16 server02 sudo[4570]: pam_unix(sudo:session): session opened for user opc (uid=0) Nov 9 20:32:17 server02 sudo[4570]: pam_unix(sudo:session): session closed Nov 9 20:32:24 server02 unix_chkpwd[4661]: password check failed for user Nov 9 20:32:24 server02 su[4581]: pam_unix(su:auth): authentication failed; logname= uid=1000 euid=0 tty=pts/0 ruser=opc rhost= user=root Which setting enabled the reporting of this log file output?
# Log all kernel messages to the console.
# Logging much else clutters up the screen.
#kern.* /dev/console
# Log anything (except mail) of level info or higher.
# Don't log private authentication messages!
*.info;mail.none;authpriv.none;cron.none /var/log/messages
# The authpriv file has restricted access.
authpriv.* /var/log/secure
# Log all the mail messages in one place.
mail.* -/var/log/maillog
# Log cron stuff
cron.* /var/log/cron
# Everybody gets emergency messages
*.emerg :omusrmsg:*
Now examine this log output:
less
Nov 9 20:32:16 server02 sudo[4570]: pam_unix(sudo:session): session opened for user opc (uid=0) Nov 9 20:32:17 server02 sudo[4570]: pam_unix(sudo:session): session closed Nov 9 20:32:24 server02 unix_chkpwd[4661]: password check failed for user Nov 9 20:32:24 server02 su[4581]: pam_unix(su:auth): authentication failed; logname= uid=1000 euid=0 tty=pts/0 ruser=opc rhost= user=root Which setting enabled the reporting of this log file output?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 4
Examine this udev device naming rule which gets processed successfully:
makefile
KERNEL=="hdb", DRIVER=="ide-disk", SYMLINK+="sparedisk"
Which two statements are true?
makefile
KERNEL=="hdb", DRIVER=="ide-disk", SYMLINK+="sparedisk"
Which two statements are true?
Correct Answer: A,B
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 5
Which three statements are true about DNF modules?
Correct Answer: A,C,E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 6
Examine these Kubernetes components:

Which option correctly matches the components with their description?

Which option correctly matches the components with their description?
Correct Answer: C
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).
Question 7
Which two statements are true about control groups (cgroups) in Oracle Linux 8?
Correct Answer: A,E
Explanation: Only visible for Actualtests4sure members. You can sign-up / login (it's free).

