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.
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.
A company maintains multiple web and mobile applications. Each application uses custom in-house identity providers as well as social identity providers.
You need to implement single sign-on (SSO) for all the applications. What should you do?
A. Use Azure Active Directory B2C (Azure AD B2C) with custom policies.
B. Use Azure Active Directory B2B (Azure AD B2B) and enable external collaboration.
C. Use Azure Active Directory B2C (Azure AD B2C) with user flows.
D. Use Azure Active Directory B2B (Azure AD B2B).
You are developing a user portal for a company.
You need to create a report for the portal that lists information about employees who are subject matter experts for a specific topic. You must ensure that administrators have full control and cosent over the data.
Which technology should you use?
A. Microsoft Graph connectors
B. Microosft graph API
C. Microsoft Graph data connect
You develop Azure Web Apps for a commercial diving company. Regulations require that all divers fill out a health questionnaire every 15 days after each diving job starts.
You need to configure the Azure Web Apps so that the instance count scales up when divers are filling out the questionnaire and scales down after they are complete.
You need to configure autoscaling.
What are two possible auto scaling configurations to achieve this goal? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
A. Recurrence profile
B. CPU usage-based autoscaling
C. Fixed date profile
D. Predictive autoscaling
You are developing several microservices to deploy to a Azure Service cluster. The microservices manage data stored in Azure Cosmos DB and Azure Blob storage. The data is secured by using customer-managed keys stored in Aue Key
Vault.
You must automate key rotation for all Key Vault keys and allow for manual key rotation. Keys must rotate every three months. Notifications Of expiring keys must be sent before key expiry.
You need to configure key rotation and enable key expiry notifications.
Which two actions should you perform? Each correct answer presents part Of solution.
NOTE: Each correct selection is worth
A. Create and configure a new Azure Event Grid instance.
B. Create configure a key rotation policy during key creation
C. Create and assign an Azure Key Vault access
D. Configure Azure Key Vault
You are developing a .Net web application that stores data is Azure Consmos DB. The application must use the Core API and allow millions of reads and writes. The Azure Cosmos DII account has been created with multiple write region
enabled. The application has been deployed to the East US2 and Central US region.
You need to update the application to support multi-region writes.
What are two possible ways to achieve this goal? Each correct answer presents parts of the solutions.
NOTE: Each correct selection is worth one point.
A. Update the ConnectionPolicy class for the Cosmos client and populate the PreferredLocations property based on the geo-proximity of the application.
B. Update Azure Cosmos DB to use the Strong consistency level. Add indexed properties to the container to indicate region.
C. Update the ConnectionPolicy class for the Cosmos client and set the UseMultipleWriteLocations property to true.
D. Create and deploy a custom conflict resolution policy.
E. Update Azure Cosmos DB to use the Session consistency level. Send the SessionToken property value from the FeedResponse object of the write action to the end- user by using a cookie.
You are developing a mobile app that uses an API which stores geospabal data in Azure Cosmos Dand The app will be used to find restaurants in a particular area and related information including food types, menu information and the optimal route to a selected restaurant from the user's current location.
Which Azure Cosmos DB API should you use for the API?
A. MongoDB
B. Gremlin
C. Cassandra
D. Core
You are developing an application to store information about the organizational structure for a company.
Users must be able to determine which people report to a particular manager, the office where employees work, and the projects that are assigned to an employee.
Which Azure Cosmos DB API should you use for the application?
A. Core
B. Cassandra
C. Table API
D. Gremlin
E. MongoDB
You are a developing a SaaS application that stores data as key value pairs.
You must make multiple editions of the application available. In the lowest cost edition, the performance must be best-effort, and there is no regional failover.
In higher cos! editions customers must be able to select guaranteed performance and support for multiple regions. Azure costs must be minimized.
Which Azure Cosmos OB API should you use for the application?
A. Core
B. MongoDB
C. Cassandra
D. Table API
You are developing an application to store business-critical data in Azure Blob storage. The application must meet the following requirements:
1.
Data must not be modified or deleted for a user-specified interval.
2.
Data must be protected from overwntes and deletes.
3.
Data must be written once and allowed to be read many times.
You need to protect the data fen the Azure Blob storage account.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
A. Configure a time-based retention policy for the storage account.
B. Create an account shared-access signature (SAS).
C. Enable the blob change feed for the storage account.
D. Enable version-level immutability support for the storage account.
E. Enable point-in-time restore for containers in the storage account.
F. Create a service shared-access signature (SAS).
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Microsoft exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your AZ-204 exam preparations and Microsoft certification application, do not hesitate to visit our Vcedump.com to find your solutions here.