PROFESSIONAL-CLOUD-DEVOPS-ENGINEER · Question #144
Your company experiences bugs, outages, and slowness in its production systems. Developers use the production environment for new feature development and bug fixes. Configuration and experiments are…
The correct answer is D. Create a development environment for writing code and a test environment for configurations. To resolve production issues caused by developing, experimenting, and testing in the production environment, redesign by establishing a dedicated development environment for code writing and a separate test environment for configurations, experiments, and load testing.
Question
Options
- ACreate an automated testing script in production to detect failures as soon as they occur.
- BCreate a development environment with smaller server capacity and give access only to
- CSecure the production environment to ensure that developers can't change it and set up one
- DCreate a development environment for writing code and a test environment for configurations,
How the community answered
(13 responses)- A15% (2)
- B8% (1)
- C8% (1)
- D69% (9)
Why each option
To resolve production issues caused by developing, experimenting, and testing in the production environment, redesign by establishing a dedicated development environment for code writing and a separate test environment for configurations, experiments, and load testing.
Automated testing in production is a detection and monitoring strategy, not a preventive measure against the root causes of issues stemming from misuse of the production environment for development and testing.
While creating a development environment is a step in the right direction, it's incomplete as it doesn't address the need for a separate environment for configurations, experiments, and load testing that currently cause production issues.
While securing production is good, consolidating all development, configuration, and testing into a *single* separate environment risks conflicts and instability, especially when load testing is performed alongside active development.
Creating distinct development and test environments isolates new feature development and testing (including load testing and experiments) from the production system, preventing configuration changes, testing loads, and development bugs from impacting users and ensuring production stability.
Concept tested: Environment isolation, DevOps best practices, SDLC stages
Source: https://cloud.google.com/architecture/devops/devops-tech-accelerate-software-delivery#environments
Topics
Community Discussion
No community discussion yet for this question.