Sign In
Home/Microsoft/AZ-204/Free questions

AZ-204 — Free Practice Questions

10 free sample questions from a bank of 514, with the correct answers and explanations. No signup required — start practising right now.

1You have two Hyper-V hosts named Host1 and Host2. Host1 has an Azure virtual machine named VM1 that was deployed by using a custom Azure Resource Manager template. You need to move VM1 to Host2. What should you do?
  • From the Update management blade, click Enable.
  • From the Overview blade, move VM1 to a different subscription.
  • From the Redeploy blade, click Redeploy.
  • From the Profile blade, modify the usage location.
Answer: C
2You are developing an e-Commerce Web App. You want to use Azure Key Vault to ensure that sign-ins to the e-Commerce Web App are secured by using Azure App Service authentication and Azure Active Directory (AAD). What should you do on the e-Commerce Web App?
  • Run the az keyvault secret command.
  • Enable Azure AD Connect.
  • Enable Managed Service Identity (MSI).
  • Create an Azure AD service principal.
Answer: C
3This question requires that you evaluate the underlined text to determine if it is correct. Your Azure Active Directory Azure (Azure AD) tenant has an Azure subscription linked to it. Your developer has created a mobile application that obtains Azure AD access tokens using the OAuth 2 implicit grant type. The mobile application must be registered in Azure AD. You require a redirect URI from the developer for registration purposes. Instructions: Review the underlined text. If it makes the statement correct, select No change is needed. If the statement is incorrect, select the answer choice that makes the statement correct.
  • No change required.
  • a secret
  • a login hint
  • a client ID
Answer: A
4You are creating an Azure key vault using PowerShell. Objects deleted from the key vault must be kept for a set period of 90 days. Which two of the following parameters must be used in conjunction to meet the requirement? (Choose two.)
  • EnabledForDeployment
  • EnablePurgeProtection
  • EnabledForTemplateDeployment
  • EnableSoftDelete
Answer:
5HOTSPOT - You have an Azure Active Directory (Azure AD) tenant. You want to implement multi-factor authentication by making use of a conditional access policy. The conditional access policy must be applied to all users when they access the Azure portal. Which three settings should you configure? To answer, select the appropriate settings in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
AZ-204 question 5
    Answer:
    6You manage an Azure SQL database that allows for Azure AD authentication. You need to make sure that database developers can connect to the SQL database via Microsoft SQL Server Management Studio (SSMS). You also need to make sure the developers use their on-premises Active Directory account for authentication. Your strategy should allow for authentication prompts to be kept to a minimum. Which of the following should you implement?
    • Azure AD token.
    • Azure Multi-Factor authentication.
    • Active Directory integrated authentication.
    • OATH software tokens.
    Answer: C
    7You are developing an application to transfer data between on-premises file servers and Azure Blob storage. The application stores keys, secrets, and certificates in Azure Key Vault and makes use of the Azure Key Vault APIs. You want to configure the application to allow recovery of an accidental deletion of the key vault or key vault objects for 90 days after deletion. What should you do?
    • Run the Add-AzKeyVaultKey cmdlet.
    • Run the az keyvault update --enable-soft-delete true --enable-purge-protection true CLI.
    • Implement virtual network service endpoints for Azure Key Vault.
    • Run the az keyvault update --enable-soft-delete false CLI.
    Answer: B
    8HOTSPOT - You have developed a Web App for your company. The Web App provides services and must run in multiple regions. You want to be notified whenever the Web App uses more than 85 percent of the available CPU cores over a 5 minute period. Your solution must minimize costs. Which command should you use? To answer, select the appropriate settings in the answer area. NOTE: Each correct selection is worth one point. Hot Area:
    AZ-204 question 8
      Answer:
      9Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. You are configuring a web app that delivers streaming video to users. The application makes use of continuous integration and deployment. You need to ensure that the application is highly available and that the users' streaming experience is constant. You also want to configure the application to store data in a geographic location that is nearest to the user. Solution: You include the use of Azure Redis Cache in your design. Does the solution meet the goal?
      • Yes
      • No
      Answer: B
      10Note: The question is included in a number of questions that depicts the identical set-up. However, every question has a distinctive result. Establish if the solution satisfies the requirements. You are configuring a web app that delivers streaming video to users. The application makes use of continuous integration and deployment. You need to ensure that the application is highly available and that the users' streaming experience is constant. You also want to configure the application to store data in a geographic location that is nearest to the user. Solution: You include the use of an Azure Content Delivery Network (CDN) in your design. Does the solution meet the goal?
      • Yes
      • No
      Answer: A

      Want the full bank of 514 questions for AZ-204? See all practice exams.