Recommend!! Get the Full CKA dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/CKA-exam-dumps.html (83 New Questions)
Linux Foundation
Exam Questions CKA
Certified Kubernetes Administrator (CKA) Program
Passing Certification Exams Made Easy visit - https://www.surepassexam.com
, Recommend!! Get the Full CKA dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/CKA-exam-dumps.html (83 New Questions)
NEW QUESTION 1
CORRECT TEXT
Create a pod with image nginx called nginx and allow traffic on port 80
Solution:
kubectl run nginx --image=nginx --restart=Never --port=80
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 2
CORRECT TEXT
Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.
Solution:
kubectl create namespace development
kubectl run nginx --image=nginx --restart=Never -n development
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 3
CORRECT TEXT
List pod logs named “frontend” and search for the pattern “started” and write it to a file “/opt/error-logs”
Solution:
Kubectl logs frontend | grep -i “started” > /opt/error-logs
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 4
CORRECT TEXT
Score: 4%
Task
Scale the deployment presentation to 6 pods.
Solution:
Solution:
kubectl get deployment
kubectl scale deployment.apps/presentation --replicas=6
Does this meet the goal?
A. Yes
B. No
Passing Certification Exams Made Easy visit - https://www.surepassexam.com
https://www.surepassexam.com/CKA-exam-dumps.html (83 New Questions)
Linux Foundation
Exam Questions CKA
Certified Kubernetes Administrator (CKA) Program
Passing Certification Exams Made Easy visit - https://www.surepassexam.com
, Recommend!! Get the Full CKA dumps in VCE and PDF From SurePassExam
https://www.surepassexam.com/CKA-exam-dumps.html (83 New Questions)
NEW QUESTION 1
CORRECT TEXT
Create a pod with image nginx called nginx and allow traffic on port 80
Solution:
kubectl run nginx --image=nginx --restart=Never --port=80
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 2
CORRECT TEXT
Create a namespace called 'development' and a pod with image nginx called nginx on this namespace.
Solution:
kubectl create namespace development
kubectl run nginx --image=nginx --restart=Never -n development
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 3
CORRECT TEXT
List pod logs named “frontend” and search for the pattern “started” and write it to a file “/opt/error-logs”
Solution:
Kubectl logs frontend | grep -i “started” > /opt/error-logs
Does this meet the goal?
A. Yes
B. No
Answer: A
NEW QUESTION 4
CORRECT TEXT
Score: 4%
Task
Scale the deployment presentation to 6 pods.
Solution:
Solution:
kubectl get deployment
kubectl scale deployment.apps/presentation --replicas=6
Does this meet the goal?
A. Yes
B. No
Passing Certification Exams Made Easy visit - https://www.surepassexam.com