List of questions
Related questions
Question 252 - AZ-204 discussion
You develop and deploy an ASP.NET Core application that connects o 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.
A.
Increase connection repeat attempts exponentially up to 120 seconds.
B.
Close the database connection and immediately report an error.
C.
Wait five seconds before repeating the connection attempt to the database.
D.
Disable connection pooling and configure a second Azure Database for MySQL instance.
E.
Set a maximum number of connection attempts to 10 and report an error on subsequent connections.
Your answer:
0 comments
Sorted by
Leave a comment first