{"id":7944,"date":"2021-02-19T12:25:38","date_gmt":"2021-02-19T12:25:38","guid":{"rendered":"https:\/\/blog.cloudthat.com\/?p=7944"},"modified":"2024-06-25T11:08:57","modified_gmt":"2024-06-25T11:08:57","slug":"practice-questions-for-passing-microsoft-az-400-exam-designing-and-implementing-azure-devops-engineer-expert","status":"publish","type":"blog","link":"https:\/\/www.cloudthat.com\/resources\/blog\/practice-questions-for-passing-microsoft-az-400-exam-designing-and-implementing-azure-devops-engineer-expert","title":{"rendered":"Practice Questions for Passing Microsoft AZ-400 exam: Designing and Implementing Azure DevOps Engineer- Expert"},"content":{"rendered":"<p>Hello Readers, have you enrolled for the Microsoft exam AZ-400 Designing and Implementing Azure DevOps Engineer- Expert ? Are you willing to take up the exam and get certified? It is time to check your skills and review some sample questions that may appear for the AZ-400 certification exam.<\/p>\n<h2>Here goes the quiz:<\/h2>\n<ol>\n<li>Azure resources deployed via Ansible are found to be going around in a loop and unable to proceed, resulting in a deployment failure. What is the correct way of deploying resources in the above case? (Select all correct answers)<br \/>\nSelect one:<br \/>\na. Redeploy after providing additional Azure policies<br \/>\nb.\u00a0Rerun the Ansible playbook<br \/>\nc. Move some deployment operations into child resources which can be deployed after the resources with the circular dependency<br \/>\nd.\u00a0Evaluate your template to see if any dependencies are not needed and can be removed<\/li>\n<li>The client is using one of the configuration management tools to deploy their resources. A security group attached to VM is found to have additional rules configured for port number 22 because of configuration drift. What are the best solutions for managing configuration drift? (Select all correct answers)<br \/>\nSelect one:<br \/>\na.\u00a0Use Windows PowerShell Desired State Configuration<br \/>\nb. Enforce policies and compliance standards for Azure resourcesc.\u00a0Manually change the security group<br \/>\nd.\u00a0Delete and recreate security group<\/li>\n<li>The user is deploying infrastructure via Resource Manager Deployment and wants to use Azure key vault for passing secrets. What are the steps needed to execute before deploying the resources? (Select all correct answers)<br \/>\nSelect one:<br \/>\na.\u00a0Template must have Microsoft.KeyVault\/vaults\/deploy\/action<br \/>\nb.\u00a0Set the key vault property enabledForDeployment<br \/>\nc. Set the key vault property enabledForTemplateDeployment<br \/>\nd.\u00a0Template must have Microsoft.compute\/KeyVault\/vaults\/deploy\/action<\/li>\n<li>You want to deploy resources in a subscription and make them available to all resource groups. Which of the below services are required?<br \/>\nSelect one:<br \/>\na. RBAC, Azure Security Center<br \/>\nb.\u00a0Azure Policy, RBAC<br \/>\nc.\u00a0Azure Policy, RBAC, Azure Security Center<br \/>\nd.\u00a0Azure Security Center, Azure Policy<\/li>\n<li>A developer using Azure CLI wants to know the commands that might help him manage a storage bloB. Which is the most appropriate command that needs to be executed<br \/>\nSelect one:<br \/>\na.\u00a0az find storage blob &#8211;help<br \/>\nb.\u00a0az find \u2013query blob<br \/>\nc.\u00a0az storage blob &#8211;help<br \/>\nd.\u00a0az find blob<\/li>\n<li>A user is trying to get the image from the ACR repository for deploying into the existing AKS cluster. On doing so, he is getting the ImagePullBackoff error. What are the troubleshooting steps he should take?<br \/>\nSelect one:<br \/>\na.\u00a0az aks create -n &amp;lt;cluster name&amp;gt; -g &amp;lt;resourcegroup name&amp;gt; &#8211;attach-acr &amp;lt;acr name&amp;gt;<br \/>\nb.\u00a0az aks update -n &amp;lt;cluster name&amp;gt; -g &amp;lt;resourcegroup name&amp;gt; &#8211;attach-acr &amp;lt;acr name\/acr resource id&amp;gt;<br \/>\nc.\u00a0az aks create -n &amp;lt;cluster name&amp;gt; -g &amp;lt;resourcegroup name&amp;gt; &#8211;generate-ssh-keys &#8211;attach-acr &amp;lt;acr name&amp;gt;<br \/>\nd.\u00a0az aks update-credentials -n &amp;lt;cluster name&amp;gt; -g &amp;lt;resourcegroup name&amp;gt; &#8211;attach-acr &amp;lt;acr name&amp;gt;<\/li>\n<li>An\u00a0Organization is running a monolithic financial management application. They want to have dev stages environments to run the transactions tested by different teams. The team is planning to move the architecture into microservices. What could be the best reason behind this scenario?<br \/>\nSelect one:<br \/>\na. Very easy to adopt as the cloud-native solution.<br \/>\nb. Microservices reduces the cost of infrastructure provisioning significantly<br \/>\nc.\u00a0For achieving security Compliance<br \/>\nd.\u00a0Each microservice can be scaled deployed managed independently with high agility<\/li>\n<li>The developer who wanted to optimize the Dockerfile with better readability and maintenance has decided to use Multiple Stage Builds. What are the considerations for having Multiple Stage Builds?<br \/>\nSelect one:<br \/>\na. Adopt Container Modularity<br \/>\nb.\u00a0Choose an Appropriate Base<br \/>\nc.\u00a0All the above<br \/>\nd.\u00a0Avoid Including Application Data<br \/>\ne.\u00a0Avoid Unnecessary Packages<\/li>\n<li>A Game company has a global mobile application. As they have added some new features in the application. They want to serve users to get confidence about the stability of the new features on the application. Which deployment strategy will be suitable for them to follow?<br \/>\nSelect one:<br \/>\na.\u00a0Ramped deployment strategy<br \/>\nb.\u00a0Blue-Green deployment strategy<br \/>\nc.\u00a0Canary deployment strategy<\/li>\n<li>In Azure DevOps, what will be the best practice of using dynamic variables for build pipelines?<br \/>\nSelect one:<br \/>\na.\u00a0By adding the variable while configuring build pipelines<br \/>\nb.\u00a0By prompting the user to add variables on builds<br \/>\nc.\u00a0By linking Variable Group with the build pipelines<br \/>\nd.\u00a0By adding the variables in the repository<\/li>\n<\/ol>\n<p>Correct Answers:<br \/>\n1. d<br \/>\nExplanation: Evaluate your template to see if any dependencies are not needed and can be removed.\u00a0 Move some deployment operations into child resources which can be deployed after the resources with the circular dependency to resolve the problem.<\/p>\n<p>2. a<br \/>\nExplanation: DSC is a management platform in PowerShell that enables you to manage your IT and development infrastructure with configuration as code. Create policies at the core of Azure to govern every existing resource or resource to be deployed.\u00a0 New policy constructs allow you to measure your VM configuration and discover configuration drifts.<\/p>\n<p>3. c<br \/>\nExplanation: Instead of putting a secure value (like a password) directly in your template or parameter file, you can retrieve the value from an Azure Key Vault during deployment. You retrieve the value by referencing the key vault and secret in your parameter file. To access a key vault during template deployment, set enabledForTemplateDeployment on the key vault to true. The user who deploys the template must have Microsoft.KeyVault\/vaults\/deploy\/action permission for the scope of the resource group and key vault.<\/p>\n<p>4. c<br \/>\nAzure Policy evaluates the state by examining properties on resources that are represented in Resource Manager and RBAC focuses on managing user actions at different scopes. Azure Security Center helps you to monitor all the available security recommendations.<\/p>\n<p>5. d<br \/>\nExplanation: The az find command provides you with example commands based on Azure documentation and usage patterns of the Azure CLI and Azure Resource Manager users<\/p>\n<p>6. b<br \/>\nExplanation: Integrate an existing ACR with existing AKS clusters by supplying valid values for acr-name or acr-resource-id use command\u00a0 az aks update -n &lt;cluster name&gt; -g &lt;resourcegroup name&gt; &#8211;attach-acr &lt;acr-name\/acr-resource-id&gt;<\/p>\n<p>7. d<br \/>\nExplanation: Microservices can be deployed in different environments and scaled accordingly. Each microservice can be deployed, managed independently without affecting other services running on the environment.<\/p>\n<p>8. c<br \/>\nExplanation: Multi-stage build is a new feature requiring Docker 17.05 or higher on the daemon and client. Multistage builds is useful to anyone who has struggled to optimize Docker files while keeping them easy to read and maintain.<\/p>\n<p>9. c<br \/>\nExplanation: Canary deployments are a pattern for rolling out releases to a subset of users or servers. The idea is to first deploy the change to a small subset of servers, test it, and then roll the change out to the rest of the servers.<\/p>\n<p>10. c<br \/>\nExplanation: Variable Groups is used to store pipeline based variable and can be linked with Azure Key Vault.<\/p>\n<p>This brings us to the end of the correct answers section. For more such practice sessions and hands-on labs, check out <a href=\"https:\/\/testprep.cloudthat.com\/?utm_source=blog-website&amp;utm-medium=text-link&amp;utm_campaign=testprep.cloudthat.com\" target=\"_blank\" rel=\"noopener\"><strong>TestPrep material<\/strong><\/a>.<\/p>\n<p><strong>Disclaimer:<\/strong>\u00a0These questions are NOT appearing in the certification exam. I personally or <strong>CloudThat<\/strong> do not have any official tie-up\u00a0with Microsoft regarding the certification or the kind of questions asked. These are my best guesses for the kind of questions to expect with Microsoft in general and with the examination.<\/p>\n<p>Here is a <a href=\"https:\/\/blog.cloudthat.com\/study-guide-for-passing-microsoft-certification-exam-az-400-designing-and-implementing-azure-devops-engineer-expert\/?utm_source=blog-website&amp;utm-medium=text-link&amp;utm_campaign=study-guide-for-passing-microsoft-certification-exam-az-400-designing-and-implementing-azure-devops-engineer-expert\" target=\"_blank\" rel=\"noopener\"><strong>Study Guide for the Microsoft AZ-400 exam: Designing and Implementing Azure DevOps Engineer- Expert<\/strong><\/a><\/p>\n<p>Feel free to drop any questions in the comment box, I would love to address them. I hope you enjoyed the article. Best of luck!<\/p>\n","protected":false},"author":231,"featured_media":7985,"parent":0,"comment_status":"open","ping_status":"open","template":"","blog_category":[3608,3607],"user_email":"anusha@cloudthat.com","published_by":"324","primary-authors":"","secondary-authors":"","acf":[],"_links":{"self":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/7944"}],"collection":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog"}],"about":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/types\/blog"}],"author":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/users\/231"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/comments?post=7944"}],"version-history":[{"count":2,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/7944\/revisions"}],"predecessor-version":[{"id":46035,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog\/7944\/revisions\/46035"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/"}],"wp:attachment":[{"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/media?parent=7944"}],"wp:term":[{"taxonomy":"blog_category","embeddable":true,"href":"https:\/\/www.cloudthat.com\/resources\/wp-json\/wp\/v2\/blog_category?post=7944"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}