ExamGecko
Home Home / Microsoft / AZ-204

Microsoft AZ-204 Practice Test - Questions Answers, Page 23

Question list
Search
Search

List of questions

Search

Related questions











HOTSPOT

You are developing an application to store and retrieve data in Azure Blob storage. The application will be hosted in an on-premises virtual machine (VM). The VM is connected to Azure by using a Siteto-Site VPN gateway connection. The application is secured by using Azure Active Directory (Azure AD) credentials.

The application must be granted access to the Azure Blob storage account with a start time, expiry time, and read permissions. The Azure Blob storage account access must use the Azure AD credentials of the application to secure data access. Data access must be able to be revoked if the client application security is breached.

You need to secure the application access to Azure Blob storage.

Which security features should you use? To answer select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 221
Correct answer: Question 221

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.
A.
Verify that Always On is enabled.
Answers
B.
Modify the trigger to use a SignaIR trigger.
B.
Modify the trigger to use a SignaIR trigger.
Answers
C.
Ensure that the function has a retry configured.
C.
Ensure that the function has a retry configured.
Answers
D.
Modify the trigger to use Consumption mode instead of the App Service plan.
D.
Modify the trigger to use Consumption mode instead of the App Service plan.
Answers
Suggested answer: A, C

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.
A.
Ensure that all Orchestrator code is deterministic.
Answers
B.
Read all state data from the durable function context
B.
Read all state data from the durable function context
Answers
C.
Configure the Azure Our able f unction to run on an App Service Plan with one instance.
C.
Configure the Azure Our able f unction to run on an App Service Plan with one instance.
Answers
D.
Implement the monitor pattern within the workflow.
D.
Implement the monitor pattern within the workflow.
Answers
Suggested answer: A

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.
A.
Configure the Azure Function to run in the West US region.
Answers
B.
Add an app setting named WEBSITE_TIME_ZONE that uses the value Pacific Standard Time
B.
Add an app setting named WEBSITE_TIME_ZONE that uses the value Pacific Standard Time
Answers
C.
Change the Timer trigger to run at 7 AM
C.
Change the Timer trigger to run at 7 AM
Answers
D.
Update the Azure Function to a Premium plan.
D.
Update the Azure Function to a Premium plan.
Answers
Suggested answer: A

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
A.
Core
Answers
B.
MongoDe
B.
MongoDe
Answers
C.
Cassandra
C.
Cassandra
Answers
D.
Gremlin
D.
Gremlin
Answers
Suggested answer: C

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
A.
Core
Answers
B.
MongoDB
B.
MongoDB
Answers
C.
Cassandra
C.
Cassandra
Answers
D.
Table API
D.
Table API
Answers
Suggested answer: D

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
A.
Core
Answers
B.
Cassandra
B.
Cassandra
Answers
C.
Table API
C.
Table API
Answers
D.
Gremlin
D.
Gremlin
Answers
E.
MongoDB
E.
MongoDB
Answers
Suggested answer: E

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
A.
Core
Answers
B.
MongoDB
B.
MongoDB
Answers
C.
Cassandra
C.
Cassandra
Answers
D.
Table API
D.
Table API
Answers
Suggested answer: C

You are developing a mobile app that uses an API which stores geospabal data in Azure Cosmos D& 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
A.
MongoDB
Answers
B.
Gremlin
B.
Gremlin
Answers
C.
Cassandra
C.
Cassandra
Answers
D.
Core
D.
Core
Answers
Suggested answer: A

You are designing a web application to manage user satisfaction surveys. The number of questions that a survey includes is variable.

Application users must be able to display results for a survey as quickly as possible. Users must also be able to quickly compute statistical measures including average values across various groupings of answers.

Which Azure Cosmos 06 API should you use for the application?

A.
Core
A.
Core
Answers
B.
Mongo DB
B.
Mongo DB
Answers
C.
Gremlin
C.
Gremlin
Answers
D.
Table API
D.
Table API
Answers
Suggested answer: D
Total 345 questions
Go to page: of 35