Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam 5V0-23.20 All Questions

View all questions & answers for the 5V0-23.20 exam

Exam 5V0-23.20 topic 1 question 73 discussion

Actual exam question from VMware's 5V0-23.20
Question #: 73
Topic #: 1
[All 5V0-23.20 Questions]

A developer is trying to deploy a Kubernetes Application by using an image from the embedded Registry Service into an existing Namespace within a Supervisor Cluster.

Which three steps must be completed to ensure the deployment is successful? (Choose three.)

  • A. Include the image: //: in the YAML spec.
  • B. Run kubectl config use-context to switch to the correct namespace.
  • C. Run kubectl config set-context to switch to the correct namespace.
  • D. Pull the image into the Registry service with docker pull //:.
  • E. Include the image: /: in the YAML spec.
  • F. Push the image to the Registry service with docker push //:.
Show Suggested Answer Hide Answer
Suggested Answer: ABF 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
edsel123
7 months, 3 weeks ago
ABF. Ignoring the //: and using the workflow https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-EC79A6DE-477A-40C1-A90C-9DF96465CDA6.html
upvoted 1 times
...
KingJ92
1 year ago
The correct steps to ensure the deployment is successful are: B. Run kubectl config use-context to switch to the correct namespace. This command sets the active namespace, allowing subsequent kubectl commands to operate within that namespace. E. Include the image: /: in the YAML spec. When deploying a Kubernetes application, the YAML specification should include the full path to the image, such as image: /:. F. Push the image to the Registry service with docker push //:. Before deploying an image from the embedded Registry Service, it needs to be pushed to the registry. The docker push command is used for this purpose. So, the correct combination is B, E, and F.
upvoted 1 times
...
Klatu
1 year, 2 months ago
Going with ABF The //: is strange, but I am going off of this: https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-EC79A6DE-477A-40C1-A90C-9DF96465CDA6.html In your YAML spec, you must include image: <Registry-IP-Address>/<vsphere-namespace>/<image-name>:<version> which if you remove the <> items ends up as //: Also you do not need to do a docker pull to use a registry image in kubernetes. But you do need to do the docker push to ensure the image exists in registry (assuming private registry for your own code)
upvoted 1 times
...
HenryDCase
1 year, 6 months ago
Selected Answer: ABF
ABF is correct.
upvoted 2 times
...
obeythefist
1 year, 7 months ago
Selected Answer: ABF
I was incorrect in my first response. https://docs.vmware.com/en/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-EC76B511-8DEB-4595-9DFA-3E9567C98ECA.html It's clearly Docker Push, not Docker Pull!
upvoted 1 times
...
obeythefist
1 year, 8 months ago
Selected Answer: ABD
I don't fully understand the answers to this question (\\:?????) but will go with the ExamTopics answers. We are being asked three questions: 1. Is it kubectl use context or kubectl set-context (it's use context, B not C) 2. Is it docker push or docker pull (duh.. it's pull, D not F) 3. Is it //: or /: (what does this even mean? But the other answers all have //:, so that must be the best choice, A not E).
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 ...