AZ-303 practice questions, page 7 of 14, with answer review and explanations.
Question 31
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 have an Azure Cosmos DB database that contains a container named Container1. The partition key for Container1 is set to /day. Container1 contains the items shown in the following table. You need to programmatically query Azure Cosmos DB and retrieve Item1 and Item2 only. Solution: You run the following query. You set the EnableCrossPartitionQuery property to True. Does this meet the goal?
Yes
No
Question 32
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 manage an Active Directory domain named contoso.local. You install Azure AD Connect and connect to an Azure Active Directory (Azure AD) tenant named contoso.com without syncing any accounts. You need to ensure that only users who have a UPN suffix of contoso.com in the contoso.local domain sync to Azure AD. Solution: You use the Synchronization Service Manager to modify the Metaverse Designer tab. Does this meet the goal?
Yes
No
Question 33
You have an Azure subscription that contains a resource group named RG1. You have a group named Group1 that is assigned the Contributor role for RG1. You need to enhance security for the virtual machines in RG1 to meet the following requirements: ✑ Prevent Group1 from assigning external IP addresses to the virtual machines. ✑ Ensure that Group1 can establish a Remote Desktop connection to the virtual machines through a shared external IP address. What should you use to meet each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
Question 34
You create a container image named Image1 on a developer workstation. You plan to create an Azure Web App for Containers named WebAppContainer that will use Image1. You need to upload Image1 to Azure. The solution must ensure that WebAppContainer can use Image1. To which storage type should you upload Image1?
an Azure Storage account that contains a blob container
Azure Container Instances
Azure Container Registry
an Azure Storage account that contains a file share
Question 35
You have an Azure Service Bus and two clients named Client1 and Client2. You create a Service Bus queue named Queue1 as shown in the exhibit. (Click the Exhibit tab.) Client1 send messages to Queue1 as shown in the following table. Client2 reads the messages from Queue1 at 12:01:05. How will the messages be presented to Client2?
Client2 will read three messages in the following order: M1, M2, and then M3.
Client2 will read three messages in the following order: M3, M1, and then M2.
Client2 will read four messages in the following order: M3, M1, M2 and then M3.
Client2 will read four messages in the following order: M3, M2, M1 and then M3.