New Year Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Oracle Linux 8 Advanced System Administration 1z0-106 Question # 17 Topic 2 Discussion

Oracle Linux 8 Advanced System Administration 1z0-106 Question # 17 Topic 2 Discussion

1z0-106 Exam Topic 2 Question 17 Discussion:
Question #: 17
Topic #: 2

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?


A.

The command creates and guarantees the availability of a specified number of identical pods.


B.

The command creates a deployment named nginx.


C.

The command creates a pod named nginx.


D.

The command specifies port 80 as the port that the container exposes.


E.

The command specifies nginx image version 1.14.2 and will fail if the image version is not available.


Get Premium 1z0-106 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.