Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Google Professional Cloud Developer Exam - Topic 7 Question 117 Discussion

Actual exam question for Google's Professional Cloud Developer exam
Question #: 117
Topic #: 7
[All Professional Cloud Developer Questions]

You are porting an existing Apache/MySQL/PHP application stack from a single machine to Google Kubernetes Engine. You need to determine how to containerize the application. Your approach should follow Google-recommended best practices for availability. What should you do?

Show Suggested Answer Hide Answer
Suggested Answer: A

https://cloud.google.com/blog/products/containers-kubernetes/7-best-practices-for-building-containers

https://cloud.google.com/architecture/best-practices-for-building-containers

'classic Apache/MySQL/PHP stack: you might be tempted to run all the components in a single container. However, the best practice is to use two or three different containers: one for Apache, one for MySQL, and potentially one for PHP if you are running PHP-FPM.'


Contribute your Thoughts:

0/2000 characters
Kami
3 days ago
Surprised that D) is even an option, sounds risky!
upvoted 0 times
...
Fernanda
8 days ago
I disagree, B) seems simpler for small apps.
upvoted 0 times
...
Emile
14 days ago
A) is the way to go for best practices!
upvoted 0 times
...
Sharika
19 days ago
I have a vague memory of a lesson where we talked about using a single container, but it seems like that could lead to issues with availability.
upvoted 0 times
...
Gail
24 days ago
I feel like we practiced a question similar to this, and I think packaging each component separately was emphasized as a best practice.
upvoted 0 times
...
Ashley
29 days ago
I'm not entirely sure, but I think using readiness and liveness probes is crucial for ensuring the application is healthy in Kubernetes.
upvoted 0 times
...
Clorinda
1 month ago
I remember we discussed the importance of separating components into different containers for better scalability and management.
upvoted 0 times
...

Save Cancel