exam questions

Exam Associate Cloud Engineer All Questions

View all questions & answers for the Associate Cloud Engineer exam

Exam Associate Cloud Engineer topic 1 question 175 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 175
Topic #: 1
[All Associate Cloud Engineer Questions]

You have developed an application that consists of multiple microservices, with each microservice packaged in its own Docker container image. You want to deploy the entire application on Google Kubernetes Engine so that each microservice can be scaled individually. What should you do?

  • A. Create and deploy a Custom Resource Definition per microservice.
  • B. Create and deploy a Docker Compose File.
  • C. Create and deploy a Job per microservice.
  • D. Create and deploy a Deployment per microservice.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
obeythefist
Highly Voted 2 years ago
I was a little unsure about this question, here's how I understand why D is the best answer A. Custom Resource Definition... we have docker containers already, which is an established kind of resource for Kubernetes. We don't need to create a whole new type of resource, so this is wrong. B. Docker Compose is a wholly different tool from Kubernetes. C. A Kubernetes job describes a specific "task" which involves a bunch of pods and things. It makes no sense to have one job per microservice, a "Job" would be a bunch of different microservices executing together. D. is the leftover, correct answer. You can add scaling to each Deployment, an important aspect of the question.
upvoted 25 times
akshaychavan7
1 year, 9 months ago
Thanks for your insights! Makes sense.
upvoted 2 times
...
...
Kollipara
Highly Voted 2 years, 10 months ago
D is the correct answer
upvoted 20 times
...
taylz876
Most Recent 4 months, 3 weeks ago
Selected Answer: D
To deploy a microservices-based application on Google Kubernetes Engine (GKE), it's common to create and deploy a Deployment per microservice. D. Create and deploy a Deployment per microservice. Here's why: Deployment: In Kubernetes, a Deployment is a resource that allows you to define, create, and manage the desired number of replicas of your application. Each microservice can be independently managed and scaled using its own Deployment. This approach provides the flexibility to scale individual microservices as needed and manage their lifecycle effectively. Each microservice will have its own set of pods that can be scaled up or down independently, making it suitable for a microservices architecture.
upvoted 5 times
...
Captain1212
5 months, 3 weeks ago
Selected Answer: D
D is the corrrect answer
upvoted 1 times
...
scanner2
5 months, 4 weeks ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
Captain1212
5 months, 4 weeks ago
Selected Answer: D
D seems more correct , as in A , we already have the own docker container image , so no need to create , b is completely diffenret tool, c is also of no use
upvoted 2 times
...
snkhatri
1 year, 6 months ago
D, keyword "each microservice can be scaled individually"!
upvoted 1 times
...
abirroy
1 year, 7 months ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
AzureDP900
1 year, 8 months ago
D is the best answer among other choices.
upvoted 1 times
...
Raz0r
2 years, 1 month ago
D is right! It's one of Googles main ideas to distribute a complex system into microservices. They do it as well and encourage customers to do the same.
upvoted 2 times
...
alaahakim
2 years, 3 months ago
Selected Answer: D
D is the Answer
upvoted 2 times
...
alaahakim
2 years, 3 months ago
Ans: D
upvoted 2 times
...
associatecloudexamuser
2 years, 7 months ago
Yes. D is correct. Can deploy each service through kubectl apply -f <deployment_config.yaml>
upvoted 5 times
...
pacman_user
2 years, 7 months ago
D is the correct answer
upvoted 1 times
...
AD_0525
2 years, 8 months ago
D is correct
upvoted 2 times
...
norrec9
2 years, 10 months ago
D is the answer
upvoted 6 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago