AZ-300 practice questions
You develop an entertainment application where users can buy and trade virtual real estate. The application must scale to support thousands of users. The current architecture includes five Azure virtual machines (VM) that connect to an Azure SQL Database for account information and Azure Table Storage for backend services. A user interacts with these components in the cloud at any given time. ✑ Routing Service “” Routes a request to the appropriate service and must not persist data across sessions. ✑ Account Service “” Stores and manages all account information and authentication and requires data to persist across sessions ✑ User Service “” Stores and manages all user information and requires data to persist across sessions. ✑ Housing Network Service “” Stores and manages the current real-estate economy and requires data to persist across sessions. ✑ Trade Service “” Stores and manages virtual trade between accounts and requires data to persist across sessions. Due to volatile user traffic, a microservices solution is selected for scale agility. You need to migrate to a distributed microservices solution on Azure Service Fabric. Solution: Create a Service Fabric Cluster with a stateful Reliable Service for each component. Does the solution meet the goal?
A. Yes
B. No
Discussion forum
Question
You have an Azure subscription that contains an Azure Service Fabric cluster and a Service Fabric application named FabricApp. You develop and package a Service Fabric application named AppPackage. AppPackage is saved in a compressed folder named AppPackage.zip. You upload AppPackage.zip to an external store. You need to register AppPackage in the Azure subscription. What should you do first?
A. Run the New-ServiceFabricApplication cmdlet.
B. Repackage the application in a file named App.sfpkg.
C. Create a new Service Fabric cluster.
D. Copy AppPackage.zip to a blob storage account.
Discussion forum
Question
You have a web app named WebApp1 that uses an Azure App Service plan named Plan1. Plan1 uses the D1 pricing tier and has an instance count of 1. You need to ensure that all connections to WebApp1 use HTTPS. What should you do first?
A. Scale up Plan1.
B. Modify the connection strings for WebApp1.
C. Scale out Plan1.
D. Disable anonymous access to WebApp1.
Discussion forum
Question
A company hosts virtual machines (VMs) in an on-premises datacenter and in Azure. The on-premises and Azure-based VMs communicate using ExpressRoute. The company wants to be able to continue regular operations if the ExpressRoute connection fails. Failover connections must use the Internet and must not require Multiprotocol Label Switching (MPLS) support. You need to recommend a solution that provides continued operations. What should you recommend?
A. Set up a second ExpressRoute connection.
B. Increase the bandwidth of the existing ExpressRoute connection.
C. Increase the bandwidth for the on-premises internet connection.
D. Set up a VPN connection.
Discussion forum
Question
You have an Azure subscription that contains a policy-based virtual network gateway named GW1 and a virtual network named VNet1. You need to ensure that you can configure a point-to-site connection from VNet1 to an on-premises computer. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
A. Add a service endpoint to VNet1.
B. Add a public IP address space to VNet1.
C. Create a route-based virtual network gateway.
D. Reset GW1.
E. Delete GW1.
F. Add a connection to GW1.
Discussion forum
Question
You have an Azure Service Bus. You need to implement a Service Bus queue that guarantees first-in-first-out (FIFO) delivery of messages. What should you do?
A. Enable partitioning
B. Enable duplicate detection
C. Set the Lock Duration setting to 10 seconds
D. Enable sessions
E. Set the Max Size setting of the queue to 5 GB
Discussion forum
Question
You are building a custom Azure function app to connect to Azure Event Grid. You need to ensure that resources are allocated dynamically to the function app. Billing must be based on the executions of the app. What should you configure when you create the function app?
A. the Windows operating system and the App Service plan hosting plan
B. the Docker container and an App Service plan that uses the B1 pricing tier
C. the Windows operating system and the Consumption plan hosting plan
D. the Docker container and an App Service plan that uses the S1 pricing tier
Discussion forum
Question
You have an Azure subscription named Subscription1 that contains a virtual network named VNet1. VNet1 is in a resource group named RG1. Subscription1 has a user named User1. User1 has the following roles: ✑ Reader ✑ Security Admin ✑ Security Reader You need to ensure that User1 can assign the Reader role for VNet1 to other users. What should you do?
A. Assign User1 the Owner role for VNet1.
B. Assign User1 the Network Contributor role for VNet1.
C. Remove User1 from the Security Reader and Reader roles for Subscription1. Assign User1 the Contributor role for Subscription1.
D. Remove User1 from the Security Reader and Reader roles for Subscription1.
Discussion forum
Question
You have an Azure Active Directory (Azure AD) tenant. All administrators must enter a verification code to access the Azure portal. You need to ensure that the administrators can access the Azure portal only from your on-premises network. What should you configure?
A. the default for all the roles in Azure AD Privileged Identity Management
B. an Azure AD Identity Protection user risk policy
C. an Azure AD Identity Protection sign-in risk policy
D. the multi-factor authentication service settings
Discussion forum
Question
You set the multi-factor authentication status for a user named admin1@contoso.com to Enabled. Admin1 accesses the Azure portal by using a web browser. Which additional security verifications can Admin1 use when accessing the Azure portal?
A. an app password, a text message that contains a verification code, and a verification code sent from the Microsoft Authenticator app
B. a phone call, a text message that contains a verification code, and a notification or a verification code sent from the Microsoft Authenticator app
C. a phone call, an email message that contains a verification code, and a text message that contains an app password
D. an app password, a text message that contains a verification code, and a notification sent from the Microsoft Authenticator app
Discussion forum
Question
You have a Microsoft SQL Server Always On availability group on Azure virtual machines. You need to configure an Azure internal load balancer as a listener for the availability group. What should you do?
A. Create an HTTP health probe on port 1433.
B. Set Session persistence to Client IP.
C. Set Session persistence to Client IP and protocol.
D. Enable Floating IP.
Discussion forum
Question
You have an Azure subscription named Subscription1 that contains two Azure networks named VNet1 and VNet2. VNet1 contains a VPN gateway named VPNGW1 that uses static routing. There is a site-to-site VPN connection between your on-premises network and VNet1. On a computer named Client1 that runs Windows 10, you configure a point-to-site VPN connection to VNet1. You configure virtual network peering between VNet1 and VNet2. You verify that you can connect to VNet2 from the on-premises network. Client1 is unable to connect to VNet2. You need to ensure that you can connect Client1 to VNet2. What should you do?
A. Select Allow gateway transit on VNet1.
B. Download and re-install the VPN client configuration package on Client1.
C. Enable BGP on VPNGW1.
D. Select Allow gateway transit on VNet2.
Discussion forum
Question
You have an on-premises network that contains a Hyper-V host named Host1. Host1 runs Windows Server 2016 and hosts 10 virtual machines that run Windows Server 2016. You plan to replicate the virtual machines to Azure by using Azure Site Recovery. You create a Recovery Services vault named ASR1 and a Hyper-V site named Site1. You need to add Host1 to ASR1. What should you do?
A. ✑ Download the installation file for the Azure Site Recovery Provider. ✑ Download the storage account key. ✑ Install the Azure Site Recovery Provider on each virtual machine and register the virtual machines.
B. ✑ Download the installation file for the Azure Site Recovery Provider. ✑ Download the vault registration key. ✑ Install the Azure Site Recovery Provider on Host1 and register the server.
C. ✑ Download the installation file for the Azure Site Recovery Provider. ✑ Download the storage account key. ✑ Install the Azure Site Recovery Provider on Host1 and register the server.
D. ✑ Download the installation file for the Azure Site Recovery Provider. ✑ Download the vault registration key. ✑ Install the Azure Site Recovery Provider on each virtual machine and register the virtual machines.
Discussion forum
Question
Note: This question is part of 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. A company backs up data to on-premises servers at their main facility. The company currently has 30 TB of archived data that infrequently used. The facility has download speeds of 100 Mbps and upload speeds of 20 Mbps. You need to securely transfer all backups to Azure Blob Storage for long-term archival. All backup data must be sent within seven days. Solution: Use the Set-AzureStorageBlobContent Azure PowerShell command to copy all backups asynchronously to Azure Blob Storage. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question
Note: This question is part of 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. A company backs up data to on-premises servers at their main facility. The company currently has 30 TB of archived data that infrequently used. The facility has download speeds of 100 Mbps and upload speeds of 20 Mbps. You need to securely transfer all backups to Azure Blob Storage for long-term archival. All backup data must be sent within seven days. Solution: Create a file share in Azure Files. Mount the file share to the server and upload the files to the file share. Transfer the files to Azure Blob Storage. Does this meet the goal?
A. Yes
B. No
Discussion forum
Question