Google Cloud Professional Cloud DevOps Engineer — Question 9

You deploy a new release of an internal application during a weekend maintenance window when there is minimal user tragic. After the window ends, you learn that one of the new features isn't working as expected in the production environment. After an extended outage, you roll back the new release and deploy a fix.
You want to modify your release process to reduce the mean time to recovery so you can avoid extended outages in the future. What should you do? (Choose two.)

Answer options

Correct answer: B, E

Explanation

Option B is correct because the blue/green deployment strategy allows for safer releases by having two environments, which can reduce downtime. Option E is also correct since running unit tests on a CI server ensures that code changes are validated, catching issues earlier in the development process. Options A, C, and D, while beneficial for overall code quality, do not directly target reducing the mean time to recovery in the context of deployment failures.