exam questions

Exam KCNA All Questions

View all questions & answers for the KCNA exam

Exam KCNA topic 1 question 126 discussion

Actual exam question from Linux Foundation's KCNA
Question #: 126
Topic #: 1
[All KCNA Questions]

Which of the following is the correct command to run a nginx deployment with 2 replicas?

  • A. kubectl run deploy nginx --image=nginx --replicas=2
  • B. kubectl create deploy nginx --image=nginx --replicas=2
  • C. kubectl create nginx deployment --image=nginx –replicas=2
  • D. kubectl create deploy nginx --image=nginx --count=2
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
heeloco
1 month, 1 week ago
Selected Answer: B
example: # Create a deployment named my-dep that runs the nginx image with 3 replicas kubectl create deployment my-dep --image=nginx --replicas=3
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...