Question #161
-
You are developing an online game that allows players to vote for their favorite photo that illustrates a word. The game is built by using Azure Functions and uses durable entities to track the vote count.
The voting window is 30 seconds. You must minimize latency.
You need to implement the Azure Function for voting.
How should you complete the code? To answer, select the appropriate options in the answer area.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584956221733882image422.png)
Correct Answer:
Question #162
You have a requirement to prevent the user from attempting to perform operations that would fail only when a legal hold is in effect and when all other policies are expired.
You need to meet the requirement.
Which two operations should you prevent? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Correct Answer:
BD
In the context of Azure Blob Storage, when a legal hold is active, operations such as deletion or overwriting of documents are prohibited. While a legal hold is in effect, attempting to delete or overwrite blobs will result in an error. This ensures compliance with legal requirements by preserving the integrity and availability of the data. Preventing these operations avoids users encountering errors due to the immutable state enforced by the legal hold. Understanding and implementing restrictions according to the state of the legal hold are crucial for maintaining data governance and legal compliance.
Question #163
-
You provisioned an Azure Cosmos DB for NoSQL account named account1 with the default consistency level.
You plan to configure the consistency level on a per request basis. The level needs to be set for consistent prefix for read and write operations to account1.
You need to identify the resulting consistency level for read and write operations.
Which levels should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584705771827874image424.png)
Correct Answer:
Question #165
-
You have an App Service plan named asp1 based on the Free pricing tier.
You plan to use asp1 to implement an Azure Function app with a queue trigger. Your solution must minimize cost.
You need to identify the configuration options that will meet the requirements.
Which value should you configure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584956223219488image443.png)
Correct Answer:
Question #166
-
You are developing several microservices to run on Azure Container Apps.
The microservices must allow HTTPS access by using a custom domain.
You need to configure the custom domain in Azure Container Apps.
In which order should you perform the actions? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584956224673495image445.png)
Correct Answer:
Question #167
The microservices must be deployed to the same virtual network and write logs to the same Log Analytics workspace.
You need to deploy the microservices.
What should you do?
Correct Answer:
A
Employing a single environment for all containers is a strategic approach when working with multiple microservices on Azure Container Apps. This configuration simplifies management by allowing all the services to operate within the same virtual network and utilize the same Log Analytics workspace. This streamlined environment enables more efficient network policy management and facilitates smoother inter-service communication. Hence, this setup not only meets the requirement of connectivity and logging but also enhances overall service manageability and efficiency.
Question #168
-
You develop two Python scripts to process data.
The Python scripts must be deployed to two, separate Linux containers running in an Azure Container Instance container group. The containers must access external data by using the Server Message Block (SMB) protocol. Containers in the container group must run only once.
You need to configure the Azure Container Instance.
Which configuration value should you use? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584966037546463image447.png)
Correct Answer:
Question #169
-
You are developing a static website hosted on Azure Blob Storage. You create a storage account and enable static website hosting.
The website must support the following requirements:
• Custom domain name
• Custom header values for all responses
• Custom SSL certificate
You need to implement the static website.
What should you configure? To answer, select the appropriate values in the answer area.
NOTE: Each correct selection is worth one point.
![](https://secexams.s3.us-east-2.amazonaws.com/media/questions/1709584966039520945image449.png)
Correct Answer:
Question #170
The solution must meet the following requirements:
• Item results from Azure Cosmos DS must return the most recent committed version of an item.
• Items written to Azure Cosmos DB must provide ordering guarantees.
You need to configure the consistency level for the Azure Cosmos DB deployments.
Which consistency level should you use?
Correct Answer:
D
Strong consistency in Azure Cosmos DB guarantees that reads will always reflect the most recent write operation, fulfilling the requirement for returning the most recent committed version of an item. This level ensures linearizability which is crucial for scenarios where accuracy and recency of the data are critical. However, it's worth noting that if the deployment extends to multiple write regions, strong consistency might not be achievable due to the inherent limitations in distributed systems. Thus, another consistency level like bounded staleness could be a better fit in multi-write region scenarios.
No comments:
Post a Comment