1Z0-106 Exam Question 26

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?
  • 1Z0-106 Exam Question 27

    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?
  • 1Z0-106 Exam Question 28

    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?
  • 1Z0-106 Exam Question 29

    Which two statements are true about removing a physical volume (PV) from a volume group (VG)?
  • 1Z0-106 Exam Question 30

    Which two actions are performed by the logrotate utility?