APIGEE-API-ENGINEER practice question 1 of 25

In your last release, there were unexpected errors uncovered by users within the first 24 hours The root cause analysis found that key configurations were not promoted to production You want to avoid similar release failures in your next release What should you do?

Full set: 126 questions
Answer options
A: Notify operations of the release
B: Run an automated smoke test suite. Correct answer
C: Monitor the logs looking for unusual error patterns
D: Ensure all sources are checked into source control
Correct Answer:
B. Run an automated smoke test suite.
Explanation

The root cause was a failure to promote key configurations to production. An automated smoke test suite is a set of high-level tests run immediately after a deployment to verify that the most critical functionalities of the application are working as expected. By integrating this into the release process, the team can quickly validate that all necessary configurations were correctly deployed and that the system is stable. This proactive approach catches such errors before they impact users, directly preventing a recurrence of the previous release failure.

Why Incorrect

A. Notify operations of the release: This is a good communication practice but does not technically prevent or validate the deployment of correct configurations. It only makes the operations team aware of a potential change.
C. Monitor the logs looking for unusual error patterns: This is a reactive measure. It helps in detecting failures after they have already occurred and are affecting the system, rather than proactively preventing the release from failing in the first place.
D. Ensure all sources are checked into source control: While using source control is a foundational best practice for CI/CD, it does not by itself guarantee that the deployment process will execute correctly and promote all necessary configurations.

References

1. Google Cloud Architecture Center, "CI/CD for Apigee using Google Cloud": This official guide outlines a reference architecture for an Apigee CI/CD pipeline. The pipeline diagram and description explicitly include a "Test" stage that runs immediately after the "Deploy" stage. This stage is intended for "integration tests or system tests," which would include smoke tests to validate the deployment's health and configuration. This directly supports running automated tests post-deployment to prevent failures. (See the "CI/CD pipeline" section and architecture diagram).

2. Google Cloud, "DevOps tech: Continuous testing": This document emphasizes that "Continuous testing provides fast, high-quality feedback... at every stage of the delivery pipeline." It describes different test types, including smoke tests, as essential for validating changes. Applying this principle, a smoke test after a production deployment is a critical step to validate the release.

3. Kan, S. H. (2003). Metrics and Models in Software Quality Engineering (2nd ed.). Addison-Wesley Professional. In Chapter 4, "Software Quality Metrics," the concept of in-process quality metrics is discussed. Smoke testing after a build/deployment is a key practice to ensure "build stability." This academic source establishes smoke testing as a standard engineering practice for validating releases.

Scroll to Top