Developing Solutions for Microsoft Azure — Question 65

You are developing a microservices-based application that uses Azure Container Apps. The application consists of several containerized services that handle tasks, such as processing orders, managing inventory, and generating reports. You deploy a new revision of the processing orders app.

Processing orders must be triggered by a web request and must always be available based on incoming web requests.

You need to validate that the replica is ready to handle incoming requests.

What should you implement?

Answer options

Correct answer: A

Explanation

The correct answer is A, the HTTP readiness probe, as it specifically checks if the application is ready to accept requests over HTTP. The TCP readiness probe (B) checks the TCP connection but does not verify application readiness for HTTP requests. The HTTP startup probe (C) is used to check if an application has started, while the TCP liveness probe (D) checks if the application is still running, and the HTTP liveness probe (E) checks the application's health rather than its readiness to handle incoming requests.