Free Microsoft GH-200 Actual Exam Questions - Question 2 Discussion
Container Registry? (Choose three.)
B, C, D for sure, since pulling (E) isn’t about publishing but using the image.
C imo, because you obviously need to build the image before doing anything else. Then B is critical to authenticate, otherwise you can’t push the image anywhere. Pushing it (D) is obviously the final step to actually publish it. A and E are more about setup or later usage, not actually publishing. So B, C, and D cover all the necessary steps to get your image up on the registry.
B imo, because without authenticating, you can’t push the image. C and D feel like no-brainers since you have to build and then push the image to publish it. A seems more like a helper step if you’re using GitHub Actions, but not strictly part of the publishing process itself. E is definitely out since pulling doesn’t publish anything.
Maybe B, C, and D make the most sense here since you need to authenticate first, build the image, and then push it. A seems more about the workflow setup, not the core publishing steps.
Makes sense to exclude E since pulling doesn't help publish. I’d go with B, C, and D because you need to authenticate (B), build the image (C), and then push it (D). Setting up Docker via an action (A) seems more like a step for GitHub Actions workflows, not a general publishing step.
B/C/D? You definitely need to authenticate (B) before pushing, and pushing (D) is the whole point. Building (C) is a must to have an image ready to push. Setting up Docker with an action (A) seems specific to GitHub Actions workflows, but the question doesn’t say it’s required, so it might not count as a general publishing step. Pulling (E) is definitely out since that’s more for consuming images, not publishing them.
A/B/D? Setting up Docker (A) is needed before building, but you might just need to authenticate (B) and push (D) if build happens elsewhere. Pulling (E) isn’t part of publishing.
If you’re not using GitHub Actions, A might be irrelevant, so B, C, D for sure.
Option B, C, D since pull (E) happens after publishing, not during.
Setting up Docker (A) helps but isn’t mandatory to publish; B, C, D cover the key publish steps.
B, C, D make the most sense here. You need to authenticate first (B), then build the image (C), and finally push it (D). Pulling (E) or just setting up Docker (A) alone won’t get the image published.
B, C, D imo