May/2022 Latest Braindump2go AZ-204 Exam Dumps with PDF and VCE Free Updated Today! Following are some new AZ-204 Real Exam Questions!
QUESTION 316
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an HTTP triggered Azure Function app to process Azure Storage blob data.
The app is triggered using an output binding on the blob.
The app continues to time out after four minutes. The app must process the blob data.
You need to ensure the app does not time out and processes the blob data.
Solution: Update the functionTimeout property of the host.json project file to 10 minutes.
Does the solution meet the goal?
A. Yes
B. No
Answer: B
Explanation:
Instead pass the HTTP trigger payload into an Azure Service Bus queue to be processed by a queue trigger function and return an immediate HTTP success response.
Note: Large, long-running functions can cause unexpected timeout issues. General best practices include:
Whenever possible, refactor large functions into smaller function sets that work together and return responses fast. For example, a webhook or HTTP trigger function might require an acknowledgment response within a certain time limit; it’s common for webhooks to require an immediate response. You can pass the HTTP trigger payload into a queue to be processed by a queue trigger function. This approach lets you defer the actual work and return an immediate response.
Reference:
https://docs.microsoft.com/en-us/azure/azure-functions/functions-best-practices
QUESTION 317
You manage a data processing application that receives requests from an Azure Storage queue.
You need to manage access to the queue. You have the following requirements:
– Provide other applications access to the Azure queue.
– Ensure that you can revoke access to the queue without having to regenerate the storage account keys.
– Specify access at the queue level and not at the storage account level.
Which type of shared access signature (SAS) should you use?
A. Service SAS with a stored access policy
B. Account SAS
C. User Delegation SAS
D. Service SAS with ad hoc SAS
Answer: A
Explanation:
A service SAS is secured with the storage account key. A service SAS delegates access to a resource in only one of the Azure Storage services: Blob storage, Queue storage, Table storage, or Azure Files.
Stored access policies give you the option to revoke permissions for a service SAS without having to regenerate the storage account keys.
Reference:
https://docs.microsoft.com/en-us/azure/storage/common/storage-sas-overview
QUESTION 318
You are developing an Azure Function App that runs in an App Service Plan. The Azure Function is triggered by a Timer object. You observe that the Azure Function does not reliably trigger when scheduled. Which two actions should you perform?
A. Verify that Always On is enabled.
B. Modify the trigger to use a SignaIR trigger.
C. Ensure that the function has a retry configured.
D. Modify the trigger to use Consumption mode instead of the App Service plan.
Answer: AC
QUESTION 319
You are developing a complex workflow by using Azure Durable Functions. During testing you observe that the results of the workflow differ based on how many instances of the Azure Function are running.
You need to resolve the issue.
What should you do?
A. Ensure that all Orchestrator code is deterministic.
B. Read all state data from the durable function context
C. Configure the Azure Our able f unction to run on an App Service Plan with one instance.
D. Implement the monitor pattern within the workflow.
Answer: A
QUESTION 320
You are developing an Azure Function App that generates end of day reports (or retail stores. All stores dose at 11 PM each day. Reports must be run one hour after dosing.
You configure the function to use a Timer trigger that runs at midnight Customers in the Western United States Pacific Time zone (UTC – 8) report that the Azure Function runs before the stores dose.
You need to ensure that the Azure Function runs at midnight in the Pacific Time zone.
What should you do?
A. Configure the Azure Function to run in the West US region.
B. Add an app setting named WEBSITE_TIME_ZONE that uses the value Pacific Standard Time
C. Change the Timer trigger to run at 7 AM
D. Update the Azure Function to a Premium plan.
Answer: A
QUESTION 321
You are developing an application to manage shipping information for cargo ships. The application will use Azure Cosmos D8 for storage.
The application must run offline when ships are at sea. The application must be connected to Azure when ships are in port.
Which Azure Cosmos D8 API should you use for the application?
A. Core
B. MongoDe
C. Cassandra
D. Gremlin
Answer: C
QUESTION 322
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 cost 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
Answer: D
QUESTION 323
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
Answer: E
Resources From:
1.2022 Latest Braindump2go AZ-204 Exam Dumps (PDF & VCE) Free Share:
https://www.braindump2go.com/az-204.html
2.2022 Latest Braindump2go AZ-204 PDF and AZ-204 VCE Dumps Free Share:
https://drive.google.com/drive/folders/1qSt-4_6x_lmYQoqET8lOEQmDK4tWxrUP?usp=sharing
3.2021 Free Braindump2go AZ-204 Exam Questions Download:
https://www.braindump2go.com/free-online-pdf/AZ-204-PDF-Dumps(316-323).pdf
Free Resources from Braindump2go,We Devoted to Helping You 100% Pass All Exams!