AZ-204 : Developing Solutions for Microsoft Azure : Part 01

  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?

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

    Explanation:
    When you redeploy a VM, it moves the VM to a new node within the Azure infrastructure and then powers it back on, retaining all your configuration options and associated resources.

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

    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q02 001
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q02 001
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q02 002
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q02 002
  3. Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.

    Developers have created an application named MyApp. MyApp was packaged into a container image.

    You need to deploy the YAML manifest file for the application.

    Solution: You install the Azure CLI on the device and run the kubectl apply –f myapp.yaml command.

    Does this meet the goal?

    • Yes 
    • No
    Explanation:
    kubectl apply -f myapp.yaml applies a configuration change to a resource from a file or stdin.
  4. Your company has an Azure Kubernetes Service (AKS) cluster that you manage from an Azure AD-joined device. The cluster is located in a resource group.

    Developers have created an application named MyApp. MyApp was packaged into a container image.

    You need to deploy the YAML manifest file for the application.

    Solution: You install the docker client on the device and run the docker run -it microsoft/azure-cli:0.10.17 command.

    Does this meet the goal?

    • Yes
    • No
  5. Your company has a web app named WebApp1.

    You use the WebJobs SDK to design a triggered App Service background task that automatically invokes a function in the code every time new data is received in a queue.

    You are preparing to configure the service processes a queue data item.

    Which of the following is the service you should use?

    • Logic Apps
    • WebJobs
    • Flow
    • Functions
  6. Your company has an Azure subscription.

    You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.

    You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.

    Which of the following is the value that you should configure for the platformFaultDomainCount property?

    • 10
    • 30
    • Min Value
    • Max Value

    Explanation:
    The number of fault domains for managed availability sets varies by region – either two or three per region.

  7. Your company has an Azure subscription.

    You need to deploy a number of Azure virtual machines to the subscription by using Azure Resource Manager (ARM) templates. The virtual machines will be included in a single availability set.

    You need to ensure that the ARM template allows for as many virtual machines as possible to remain accessible in the event of fabric failure or maintenance.

    Which of the following is the value that you should configure for the platformUpdateDomainCount property?

    • 10
    • 20
    • 30
    • 40

    Explanation:
    Each virtual machine in your availability set is assigned an update domain and a fault domain by the underlying Azure platform. For a given availability set, five non-user-configurable update domains are assigned by default (Resource Manager deployments can then be increased to provide up to 20 update domains) to indicate groups of virtual machines and underlying physical hardware that can be rebooted at the same time.

  8. DRAG DROP

    You are creating an Azure Cosmos DB account that makes use of the SQL API. Data will be added to the account every day by a web application.

    You need to ensure that an email notification is sent when information is received from IoT devices, and that compute cost is reduced.

    You decide to deploy a function app.

    Which of the following should you configure the function app to use? Answer by dragging the correct options from the list to the answer area.

    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q08 003
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q08 003
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q08 004
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q08 004
  9. This question requires that you evaluate the underlined text to determine if it is correct.

    You company has an on-premises deployment of MongoDB, and an Azure Cosmos DB account that makes use of the MongoDB API.

    You need to devise a strategy to migrate MongoDB to the Azure Cosmos DB account.

    You include the Data Management Gateway tool in your migration strategy.

    Instructions: Review the underlined text. If it makes the statement correct, select “No change required.” If the statement is incorrect, select the answer choice that makes the statement correct.

    • No change required
    • mongorestore
    • Azure Storage Explorer
    • AzCopy
  10. 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?

    • Run the az keyvault secret command.
    • Enable Azure AD Connect.
    • Enable Managed Service Identity (MSI).
    • Create an Azure AD service principal.
    Explanation:
    A managed identity from Azure Active Directory allows your app to easily access other AAD-protected resources such as Azure Key Vault.
  11. 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.

    • No change required.
    • a secret
    • a login hint
    • a client ID
    Explanation:
    For Native Applications you need to provide a Redirect URI, which Azure AD will use to return token responses.
  12. 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.)

    • EnabledForDeployment
    • EnablePurgeProtection
    • EnabledForTemplateDeployment
    • EnableSoftDelete
  13. HOTSPOT

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

    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q13 005
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q13 005
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q13 006
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q13 006
  14.  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?

    • Azure AD token.
    • Azure Multi-Factor authentication.
    • Active Directory integrated authentication.
    • OATH software tokens.

    Explanation:
    Azure AD can be the initial Azure AD managed domain. Azure AD can also be an on-premises Active Directory Domain Services that is federated with the Azure AD.

    Using an Azure AD identity to connect using SSMS or SSDT
    The following procedures show you how to connect to a SQL database with an Azure AD identity using SQL Server Management Studio or SQL Server Database Tools.

    Active Directory integrated authentication
    Use this method if you are logged in to Windows using your Azure Active Directory credentials from a federated domain.

    1. Start Management Studio or Data Tools and in the Connect to Server (or Connect to Database Engine) dialog box, in the Authentication box, select Active Directory – Integrated. No password is needed or can be entered because your existing credentials will be presented for the connection.

    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q14 007
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q14 007

    2. Select the Options button, and on the Connection Properties page, in the Connect to database box, type the name of the user database you want to connect to. (The AD domain name or tenant ID” option is only supported for Universal with MFA connection options, otherwise it is greyed out.)

  15. 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?

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

    Explanation:
    When soft-delete is enabled, resources marked as deleted resources are retained for a specified period (90 days by default). The service further provides a mechanism for recovering the deleted object, essentially undoing the deletion.

    Purge protection is an optional Key Vault behavior and is not enabled by default. Purge protection can only be enabled once soft-delete is enabled.

    When purge protection is on, a vault or an object in the deleted state cannot be purged until the retention period has passed. Soft-deleted vaults and objects can still be recovered, ensuring that the retention policy will be followed.

    The default retention period is 90 days, but it is possible to set the retention policy interval to a value from 7 to 90 days through the Azure portal. Once the retention policy interval is set and saved it cannot be changed for that vault.

  16. HOTSPOT

    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.

    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q16 008
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q16 008
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q16 009
    AZ-204 Developing Solutions for Microsoft Azure Part 01 Q16 009
  17. 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?

    • Yes
    • No
  18. 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?

    • Yes
    • No
  19. 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?

    • Yes
    • No
  20. 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?

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

    Explanation:
    Configure the web app to the Standard App Service Tier. The Standard tier supports auto-scaling, and we should minimize the cost. We can then enable autoscaling on the web app, add a scale rule and add a Scale condition.

Subscribe
Notify of
guest
0 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments