QuestionQ25

Building and testing applications

Your production application has recently experienced reliability problems, and you are uncertain how it will behave if an unexpected failure occurs. You want to evaluate the application's resilience. What should you do?

  • A Write end-to-end tests to determine how different microservices interact. Validate that all tests pass.
  • B Perform chaos engineering by intentionally introducing failures into the system. Observe how the application behaves, and ensure that it is able to recover from a failure.
  • C Test individual units of code for a critical portion of the application's code. Ensure that unit tests are part of the Cloud Build pipeline.
  • D Perform load testing of the application, and use JMeter for the critical endpoints of the application. Ensure that the application performs as expected under a heavy load.
Explanation

Chaos engineering intentionally introduces controlled failure scenarios to evaluate fault tolerance, observe application behavior during disruptions, and verify recovery. Google Cloud guidance for recovery testing recommends simulating failures and escalating scenarios to assess system resilience and fault tolerance.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!