Google Professional Cloud DevOps Engineer Question 36
Select 4Google Cloud PlatformYour team is developing a new application and needs to define the number of environments required to support development, testing, and production deployments. Which of the following environments and purposes should you include to ensure a reliable and scalable CI/CD pipeline?
- A
Development environment for writing and testing code changes by developers.
- B
Staging environment for simulating production-like conditions before release.
- C
UAT (User Acceptance Testing) environment for business stakeholders to validate features.
- D
Production environment for hosting the live application for end-users.
- E
Sandbox environment for exploratory testing and experimentation by end-users.
- F
Disaster Recovery environment for daily development activities.
Show answer and explanation
Correct answers: A, B, C, D
Explanation
To build a reliable and scalable CI/CD pipeline, you need core environments such as development, staging, UAT, and production. Each environment serves a distinct purpose: development for coding and testing, staging for simulating production, UAT for stakeholder validation, and production for live usage. Additional environments like sandbox or disaster recovery may serve specific needs but are not mandatory for the core pipeline.
- A. Correct.
Correct. A development environment is essential for developers to write and test code changes before they are integrated into staging or production.
- B. Correct.
Correct. A staging environment mimics production and is used to test the application in conditions as close as possible to the live environment.
- C. Correct.
Correct. A UAT environment is important for stakeholders to validate that the application meets business requirements and is ready for production.
- D. Correct.
Correct. A production environment is required to host the live application for end-users.
- E. Incorrect.
Incorrect. While a sandbox environment can be useful in specific cases, it is not a core requirement for a CI/CD pipeline or for the environments mentioned in the scenario.
- F. Incorrect.
Incorrect. A disaster recovery environment is designed for failover scenarios and is not suitable for daily development activities.