40%off
AZ-400 Premium Bundle
Latest AZ-400 Exam Premium Dumps provide by TrainingDump.com to help you Passing AZ-400 Exam! TrainingDump.com offers the updated AZ-400 exam dumps, the TrainingDump.com AZ-400 exam questions has been updated to correct Answer. Get the latest TrainingDump.com AZ-400 pdf dumps with Exam Engine here:
(625 Q&As Dumps, 40%OFF Special Discount: DumpsFiles)
Join the discussion
Question 47/173
Your company has an Azure subscription.
The company requires that all resource group in the subscription have a tag named organization set to a value of Contoso.
You need to implement a policy to meet the tagging requirement.
How should you complete the policy? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

The company requires that all resource group in the subscription have a tag named organization set to a value of Contoso.
You need to implement a policy to meet the tagging requirement.
How should you complete the policy? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Correct Answer:

Explanation

Box 1: " Microsoft.Resources/subscriptions/resourceGroups"
Box 2: "Deny",
Sample - Enforce tag and its value on resource groups
},
"policyRule": {
"if": {
"allOf": [
{
"field": "type",
"equals": "Microsoft.Resources/subscriptions/resourceGroups"
},
{
"not": {
"field": "[concat('tags[',parameters('tagName'), ']')]",
"equals": "[parameters('tagValue')]"
}
}
]
},
"then": {
"effect": "deny"
}
}
}
}
References:
https://docs.microsoft.com/en-us/azure/governance/policy/samples/enforce-tag-on-resource-groups
Add Comments
- Other Question (173q)
- Q1. You need to create a virtual machine template in an Azure DevTest Labs environment named a...
- Q2. You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant. ...
- Q3. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q4. You are using PowerShell to administer Azure Log Analytics workspaces. You need to list th...
- Q5. You are automating the build process for a Java-based application by using Azure DevOps. Y...
- Q6. Your company has two virtual machines that run Linux in a third-party public cloud. You pl...
- Q7. Your company builds a multi tier web application. >You use Azure DevOps and host the pr...
- Q8. You are configuring the Azure DevOps dashboard. The solution must meet the technical requi...
- Q9. Your company uses a Git source-code repository. You plan to implement GitFlow as a workflo...
- Q10. You are designing YAML-based Azure pipelines for the apps shown in the following table. (E...
- Q11. You plan to create alerts that will be triggered based on the page load performance of a h...
- Q12. You are integrating an Azure Boards project and a GitHub repository. You need to authentic...
- Q13. You have an application that consists of several Azure App Service web apps and Azure func...
- Q14. Your company has an Azure DevOps project, The source code for the project is stored in an ...
- Q15. Your company has a project in Azure DevOps for a new web application. The company identifi...
- Q16. You create a Microsoft ASP.NET Core application. You plan to use Azure Key Vault to provid...
- Q17. (Exhibit)
- Q18. How should you complete the code to initialize App Center in the mobile application? To an...
- Q19. SIMULATION You need to create and configure an Azure Storage account named az400lod1156689...
- Q20. Your company has an Azure subscription. The company requires that all resource group in th...
- Q21. You are designing the security validation strategy for a project in Azure DevOps. You need...
- Q22. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q23. You are designing a strategy to monitor the baseline metrics of Azure virtual machines tha...
- Q24. You have several Azure virtual machines that run Windows Server 2019. You need to identify...
- Q25. Your company has an Azure subscription. The company requires that all resource group in th...
- Q26. Your company is concerned that when developers introduce open source libraries, it creates...
- Q27. You need to deploy Internet Information Services (IIS) to an Azure virtual machine that ru...
- Q28. Your company has an Azure subscription. The company requires that all resource group in th...
- Q29. You plan to implement a CI/CD strategy for an Azure Web App named az400-11566895-main. You...
- Q30. You need to configure the alert for VM1. The solution must meet the technical requirements...
- Q31. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q32. You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to t...
- Q33. Your company creates a new Azure DevOps team. D18912E1457D5D1DDCBD40AB3BF70D5D You plan to...
- Q34. Your company has a project in Azure DevOps for a new web application. The company identifi...
- Q35. Your company has an on-premises Bitbucket Server that is used for Git-based source control...
- Q36. You have a private project in Azure DevOps and two users named User1 and User2. You need t...
- Q37. You provision an Azure Kubernetes Service (AKS) cluster that has RBAC enabled. You have a ...
- Q38. You have a GitHub repository. You create a new repository in Azure DevOps. You need to rec...
- Q39. You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to t...
- Q40. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q41. You have an Azure DevOps organization named Contoso and an Azure subscription. You use Azu...
- Q42. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q43. You have an Azure DevOps organization named Contoso and an Azure subscription. You use Azu...
- Q44. You have an Azure DevOps organization named Contoso. You have 10 Azure virtual machines th...
- Q45. How should you configure the release retention policy for the investment planning applicat...
- Q46. You have a Microsoft ASP.NET Core web app in Azure that is accessed worldwide. You need to...
- Q47. Your company has an Azure subscription. The company requires that all resource group in th...
- Q48. Your company is concerned that when developers introduce open source libraries, it creates...
- Q49. Your company has an Azure subscription. The company requires that all resource group in th...
- Q50. You use Azure DevOps to manage the build and deployment of an app named App1. You have a r...
- Q51. You have a GitHub organization named org1 and an Azure tenant named Tenant1. You need to e...
- Q52. You add the virtual machines as managed nodes in Azure Automation State Configuration. You...
- Q53. You use Azure Pipelines to manage project builds and deployments. You plan to use Azure Pi...
- Q54. You use Azure Pipelines lo manage the build and deployment of apps. You are planning the r...
- Q55. You manage the Git repository for a large enterprise application. You need to minimize the...
- Q56. You are implementing a package management solution for a Node.js application by using Azur...
- Q57. You are designing the development process for your company. You need to recommend a soluti...
- Q58. You have an Azure Kubermets Service (AKS) implementation that is RBAC-enabled You plan to ...
- Q59. Your company has a project in Azure DevOps for a new application. The application will be ...
- Q60. You are implementing a package management solution for a Node.js application by using Azur...
- Q61. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q62. You have a GitHub repository that contains the source code for an app. You need to identif...
- Q63. Your company uses Service Now for incident management. You develop an application that run...
- Q64. Your company wants to use Azure Application Insights to understand how user behaviors affe...
- Q65. What should you use to implement the code quality restriction on the release pipeline for ...
- Q66. You need to recommend a Docker container build strategy that meets the following requireme...
- Q67. You use Azure Pipelines to manage build pipelines. GitHub to store source code, and Depend...
- Q68. Your company wants to use Azure Application Insights to understand how user behaviors affe...
- Q69. How should you configure the release retention policy for the investment planning applicat...
- Q70. You have an Azure subscription that contains a resources group named RG1. RG1 contains the...
- Q71. You need to recommend project metrics for dashboards in Azure DevOps. Which chart widgets ...
- Q72. You have an Azure subscription that contains a resources group named RG1. RG1 contains the...
- Q73. You are developing a full Microsoft .NET Framework solution that includes unit tests. You ...
- Q74. You need to configure Azure Automation for the computers in Pool7. Which three actions sho...
- Q75. You manage the Git repository for a large enterprise application. You need to minimize the...
- Q76. Your company uses a Git source-code repository. You plan to implement GitFlow as a workflo...
- Q77. You need to configure Azure Automation for the computer in Group7. Which three actions sho...
- Q78. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q79. You plan to deploy a website that will be hosted in two Azure regions. You need to create ...
- Q80. You are designing an Azure DevOps strategy for your company's development team. You suspec...
- Q81. You are configuring a release pipeline in Azure DevOps as shown in the exhibit. (Exhibit) ...
- Q82. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q83. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q84. Your company uses a Git repository in Azure Repos to manage the source code of a web appli...
- Q85. You are building an ASP.NET Core application. You plan to create an application utilizatio...
- Q86. You are developing an application. The application source has multiple branches. You make ...
- Q87. You need to deploy Azure Kubernetes Service (AKS) to host an application. The solution mus...
- Q88. You use Azure Pipelines lo manage the build and deployment of apps. You are planning the r...
- Q89. You are using PowerShell to administer Azure Log Analytics workspaces. You need to list th...
- Q90. You need to deploy Azure Kubernetes Service (AKS) to host an application. The solution mus...
- Q91. Your company has four projects. The version control requirements for each project are show...
- Q92. You have a private GitHub repository. You need to display the commit status of the reposit...
- Q93. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q94. You need to find and isolate shared code. The shared code will be maintained in a series o...
- Q95. You have a private project in Azure DevOps and two users named User1 and User2. You need t...
- Q96. You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Cl...
- Q97. You use Azure DevOps to manage the build and deployment of an app named App1. You have a r...
- Q98. unique solution that might meet the stated goals. Some question sets might have more than ...
- Q99. You use Azure Pipelines lo manage the build and deployment of apps. You are planning the r...
- Q100. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q101. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q102. You have a build pipeline in Azure Pipelines. You create a Slack App Integration. You need...
- Q103. You have a project in Azure DevOps named Project1. Project1 contains a pipeline that build...
- Q104. You need to find and isolate shared code. The shared code will be maintained in a series o...
- Q105. You have the Azure DevOps pipeline shown in the following exhibit. (Exhibit) Use the drop-...
- Q106. SIMULATION You need to create a virtual machine template in an Azure DevTest Labs environm...
- Q107. Your company uses a Git source-code repository. You plan to implement GitFlow as a workflo...
- Q108. You have an Azure subscription that contains Azure DevOps build pipelines. You to implemen...
- Q109. You are configuring the Azure DevOps dashboard. The solution must meet the technical requi...
- Q110. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q111. You have a build pipeline in Azure Pipelines. You create a Slack App Integration. You need...
- Q112. You need to implement the code flow strategy for Project2 in Azure DevOps. Which three act...
- Q113. Your company is concerned that when developers introduce open source libraries, it creates...
- Q114. Your company has four projects. The version control requirements for each project are show...
- Q115. You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to t...
- Q116. You are building an application that has the following assets: * Source code * Logs from a...
- Q117. You need to recommend a Docker container build strategy that meets the following requireme...
- Q118. You are configuring a release pipeline in Azure DevOps as shown in the exhibit. (Exhibit) ...
- Q119. You have a project in Azure DevOps. You have an Azure Resource Group deployment project in...
- Q120. You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Cl...
- Q121. You have a project in Azure DevOps named Contoso App that contains pipelines in Azure Pipe...
- Q122. Your company is building a new web application. You plan to collect feedback from pilot us...
- Q123. Your company develops an application named App1 that is deployed in production. As part of...
- Q124. You use GitHub Enterprise Server as a source code repository. You create an Azure DevOps o...
- Q125. You need to implement the code flow strategy for Project2 in Azure DevOps. Which three act...
- Q126. You have a free tier of an Azure DevOps organization named Contoso. Contoso contains 10 pr...
- Q127. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q128. You have a project Azure DevOps. You plan to create a build pipeline that will deploy reso...
- Q129. You have a project in Azure DevOps. You have an Azure Resource Group deployment project in...
- Q130. You have a multi-tier application. The front end of the application is hosted in Azure App...
- Q131. You need to replace the existing DevOps tools to support the planned changes. What should ...
- Q132. You need to find and isolate shared code. The shared code will be maintained in a series o...
- Q133. As part of your application build process, you need to deploy a group of resources to Azur...
- Q134. You have several Azure virtual machines that run Windows Server 2019. You need to identify...
- Q135. You need to recommend a procedure to implement the build agent for Project1. Which three a...
- Q136. You plan to deploy a template named D:\Deploy.json to a resource group named Deploy-lod994...
- Q137. Your company plans to deploy an application to the following endpoints: * Ten virtual mach...
- Q138. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q139. You need to recommend project metrics for dashboards in Azure DevOps. Which chart widgets ...
- Q140. Your company uses a Git source-code repository. You plan to implement GitFlow as a workflo...
- Q141. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q142. Your company uses Git as a source code control system for a complex app named App1. You pl...
- Q143. You have several apps that use an Azure SQL Database named db1. You need to ensure that qu...
- Q144. After you answer a question in this section, you will NOT be able to return to it. As a re...
- Q145. You have an Azure DevOps organization named Contoso and an Azure subscription. You use Azu...
- Q146. You have an Azure DevOps project that contains a build pipeline. The build pipeline uses a...
- Q147. You use Azure Pipelines to manage project builds and deployments. You plan to use Azure Pi...
- Q148. SIMULATION You need to ensure that an Azure web app named az400-9940427-main supports roll...
- Q149. You have a private project in Azure DevOps. You need to ensure that a project manager can ...
- Q150. SIMULATION You need to create a virtual machine template in an Azure DevTest Labs environm...
- Q151. You need to configure an Azure web app named az400-9940427-main to contain an environmenta...
- Q152. You are designing an Azure DevOps strategy for your company's development team. You suspec...
- Q153. You need to configure Azure Automation for the computer in Group7. Which three actions sho...
- Q154. You manage build and release pipelines by using Azure DevOps. Your entire managed environm...
- Q155. Your company plans to use an agile approach to software development. You need to recommend...
- Q156. Your company implements an Agile development methodology. You plan to implement retrospect...
- Q157. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q158. You manage the Git repository for a large enterprise application. During the development o...
- Q159. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q160. You need to configure Azure Automation for the computers in Pool7. Which three actions sho...
- Q161. You need to configure a cloud service to store the secrets required by the mobile applicat...
- Q162. You need to replace the existing DevOps tools to support the planned changes. What should ...
- Q163. You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL da...
- Q164. You plan to create alerts that will be triggered based on the page load performance of a h...
- Q165. You have a multi-tier application. The front end of the application is hosted in Azure App...
- Q166. You plan to use Desired State Configuration (DSC) to maintain the configuration state of v...
- Q167. You need to create deployment files for an Azure Kubernetes Service (AKS) cluster. The dep...
- Q168. Note: This question is part of a series of questions that present the same scenario. Each ...
- Q169. Your company is concerned that when developers introduce open source libraries, it creates...
- Q170. Your company uses Git as a source code control system for a complex app named App1. You pl...
- Q171. You have a brand policy in a project in Azure DevOps. The policy requires that code always...
- Q172. You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project...
- Q173. You currently use JIRA, Jenkins, and Octopus as part of your DevOps processes. You plan to...
