QuestionQ101

VerifiedConnect to and consume Azure services and third-party services

You develop and deploy an ASP.NET Core application that connects to an Azure Database for MySQL instance.

Database connections seem to drop intermittently, and the application code does not handle connection failures.

You need to handle transient connection errors in code by implementing retries.

What are three possible ways to accomplish this goal? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

Choose three
Explanation

Transient Azure Database for MySQL connectivity failures should use retry logic that waits before the initial retry, increases retry delays exponentially when failures persist, and limits the number of retries before treating the operation as failed. This prevents immediate repeated requests during recovery while ensuring the application does not retry indefinitely.

Learn more

Community Discussion

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