Google Professional Cloud DevOps Engineer Question 104
Select 4Google Cloud PlatformYour team is preparing to launch a new microservice in your organization's Google Cloud environment. To ensure a smooth rollout, you are tasked with following a pre-service onboarding checklist and creating a comprehensive launch plan. Which of the following steps should you include in your pre-service onboarding and launch plan to align with Google Cloud's best practices?
- A
Define service-level objectives (SLOs) for the new microservice.
- B
Perform load testing to ensure the microservice can handle expected traffic patterns.
- C
Deploy the microservice directly to the production environment to test real-world performance.
- D
Set up monitoring and logging to track the microservice's performance and errors.
- E
Establish a rollback plan in case issues arise during deployment.
Show answer and explanation
Correct answers: A, B, D, E
Explanation
Google Cloud's best practices for launching a new service include defining clear service-level objectives (SLOs), performing thorough testing (e.g., load testing), setting up robust monitoring and logging, and preparing a rollback plan for safe deployments. Deploying directly to production without validation goes against these practices and increases the risk of service disruption.
- A. Correct.
Defining service-level objectives (SLOs) is critical to align with organizational goals and ensure the microservice meets reliability and performance targets.
- B. Correct.
Load testing is essential to validate that the microservice can handle expected and peak traffic loads before going live.
- C. Incorrect.
Deploying directly to production without prior validation violates best practices, as it can introduce untested issues into the live environment.
- D. Correct.
Setting up monitoring and logging ensures that the team can track performance, detect issues early, and troubleshoot effectively.
- E. Correct.
A rollback plan is a key part of any deployment strategy, allowing the team to revert changes quickly if unexpected problems occur.