Microsoft

AZ-204 practice test

Practice with 15 free Testara sample questions, or choose paid access to the full 321-question bank.

Provider
Microsoft
Question bank
321
Free sample
15 questions
Publisher
Testara

About this practice material

This page covers Testara's practice question bank for AZ-204, a certification listed under Microsoft. Questions use original, exam-style scenarios and are not questions from the official certification exam.

Testara is an independent practice platform and is not affiliated with, endorsed by, or authorized by Microsoft. The certification credential is issued by Microsoft, not Testara. Certification and provider names belong to their respective owners.

Start practicing

The guest demo does not save an attempt. Sign in before buying access.

Try 15 questions free

Available without signing in

Free sample questions

These 15 questions and their explanations are server-rendered so you can inspect the material before opening the interactive demo.

  1. Question 1 · 1

    You 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?

    Choose one answer.

    • 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.
  2. Question 2 · 1

    You 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?

    Choose one answer.

    • Run the az keyvault secret command.
    • Enable Azure AD Connect.
    • Enable Managed Service Identity (MSI).
    • Create an Azure AD service principal.
  3. Question 3 · 1

    This 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.

    Choose one answer.

    • No change required.
    • a secret
    • a login hint
    • a client ID
  4. Question 4 · 1

    You 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.)

    Choose all answers that apply.

    • EnabledForDeployment
    • EnablePurgeProtection
    • EnabledForTemplateDeployment
    • EnableSoftDelete
  5. Question 5 · 1

    You 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?

    Choose one answer.

    • Azure AD token.
    • Azure Multi-Factor authentication.
    • Active Directory integrated authentication.
    • OATH software tokens.
  6. Question 6 · 1

    You 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?

    Choose one answer.

    • 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.
  7. Question 7 · 1

    Note: 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?

    Choose one answer.

    • Yes
    • No
  8. Question 8 · 1

    Note: 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?

    Choose one answer.

    • Yes
    • No
  9. Question 9 · 1

    Note: 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 a Storage Area Network (SAN) in your design. Does the solution meet the goal?

    Choose one answer.

    • Yes
    • No
  10. Question 10 · 1

    DRAG DROP - You have downloaded an Azure Resource Manager template to deploy numerous virtual machines. The template is based on a current virtual machine, but must be adapted to reference an administrative password. You need to make sure that the password is not stored in plain text. You are preparing to create the necessary components to achieve your goal. Which of the following should you create to achieve your goal? Answer by dragging the correct option from the list to the answer area. Select and Place:

    Match each destination with an option.

    Question illustration 1

    Answer

    • An Azure Key Vault
    • An Azure Storage account
    • Azure Active Directory (AD) Identity Protection
    • An access policy
    • An Azure policy
    • A backup policy
  11. Question 11 · 1

    You develop a Web App on a tier D1 app service plan. You notice that page load times increase during periods of peak traffic. You want to implement automatic scaling when CPU load is above 80 percent. Your solution must minimize costs. What should you do first?

    Choose one answer.

    • Enable autoscaling on the Web App.
    • Switch to the Premium App Service tier plan.
    • Switch to the Standard App Service tier plan.
    • Switch to the Azure App Services consumption plan.
  12. Question 12 · 1

    Your company's Azure subscription includes an Azure Log Analytics workspace. Your company has a hundred on-premises servers that run either Windows Server 2012 R2 or Windows Server 2016, and is linked to the Azure Log Analytics workspace. The Azure Log Analytics workspace is set up to gather performance counters associated with security from these linked servers. You must configure alerts based on the information gathered by the Azure Log Analytics workspace. You have to make sure that alert rules allow for dimensions, and that alert creation time should be kept to a minimum. Furthermore, a single alert notification must be created when the alert is created and when the alert is resolved. You need to make use of the necessary signal type when creating the alert rules. Which of the following is the option you should use?

    Choose one answer.

    • The Activity log signal type.
    • The Application Log signal type.
    • The Metric signal type.
    • The Audit Log signal type.
  13. Question 13 · 1

    You are developing a .NET Core MVC application that allows customers to research independent holiday accommodation providers. You want to implement Azure Search to allow the application to search the index by using various criteria to locate documents related to accommodation. You want the application to allow customers to search the index by using regular expressions. What should you do?

    Choose one answer.

    • Configure the SearchMode property of the SearchParameters class.
    • Configure the QueryType property of the SearchParameters class.
    • Configure the Facets property of the SearchParameters class.
    • Configure the Filter property of the SearchParameters class.
  14. Question 14 · 1

    You are a developer at your company. You need to update the definitions for an existing Logic App. What should you use?

    Choose one answer.

    • the Enterprise Integration Pack (EIP)
    • the Logic App Code View
    • the API Connections
    • the Logic Apps Designer
  15. Question 15 · 1

    Note: 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 developing a solution for a public facing API. The API back end is hosted in an Azure App Service instance. You have implemented a RESTful service for the API back end. You must configure back-end authentication for the API Management service instance. Solution: You configure Basic gateway credentials for the Azure resource. Does the solution meet the goal?

    Choose one answer.

    • Yes
    • No

Each purchase applies to this certification. Prices are one-time payments, not monthly subscriptions.

Starter

$29 USD one time

Full access to one certification's question bank in standard practice mode for 60 days.

  • Full question bank for one certification
  • 60 days of access
  • Standard practice mode
  • Question notes and community discussions
  • Attempt scores and answer review

Professional

$49 USD one time

Full access to one certification's question bank, custom test controls and advanced analytics for 60 days.

  • Custom test builder
  • Timers and question selection
  • Randomized question and answer order
  • Advanced performance and weak-question analytics
  • Priority customer support
Try 15 questions free