Microsoft AZ-204 Exam - Topic 4 Question 63 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.
B) Close the database connection and immediately report an error. and C) Wait five seconds before repeating the connection attempt to the database. and D) Disable connection pooling and configure a second Azure Database for MySQL instance.
A) Increase connection repeat attempts exponentially up to 120 seconds.
E) Set a maximum number of connection attempts to 10 and report an error on subsequent connections.
Chau
7 months agoJamal
7 months agoAimee
7 months agoKristofer
8 months agoCassi
8 months agoAbel
8 months agoHelaine
8 months agoBernadine
8 months agoAmie
8 months agoKerrie
8 months agoKanisha
8 months agoRose
8 months agoAmalia
8 months ago