nerdexam
MicrosoftMicrosoft

AZ-204 · Question #94

AZ-204 Question #94: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-204 to reveal the answer and full explanation for question #94. The question stem and answer options stay visible for context.

Submitted by miguelv· Mar 30, 2026

Question

You develop and deploy an ASP.NET Core application that connects to an Azure Database for MySQL instance. Connections to the database appear to drop intermittently and the application code does not handle the connection failure. You need to handle the transient connection errors in code by implementing retries. What are three possible ways to achieve this goal? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

Options

  • AIncrease connection repeat attempts exponentially up to 120 seconds.
  • BClose the database connection and immediately report an error.
  • CWait five seconds before repeating the connection attempt to the database.
  • DDisable connection pooling and configure a second Azure Database for MySQL instance.
  • ESet a maximum number of connection attempts to 10 and report an error on subsequent connections.

Unlock AZ-204 to see the answer

You've previewed enough free AZ-204 questions. Unlock AZ-204 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-204 PracticeBrowse All AZ-204 Questions