AZ-400 Exam Questions
608 real AZ-400 exam questions with expert-verified answers and explanations. Page 11 of 13.
- Question #509Design and implement build and release pipelines
You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and a user named User1. Pipeline1 is used to build and test an app named App1. User1 is ass...
Azure Deployment EnvironmentsRole-Based Access Control (RBAC)Least PrivilegeAzure Pipelines - Question #510Design and implement build and release pipelines
Hotspot Question You have an Azure subscription that contains Azure DevOps build pipelines. You need to implement pipeline caching by using the cache task. How should you complete...
Azure Pipelines YAMLpipeline cachingbuild optimizationYAML syntax - Question #511Design and implement processes and communications
Hotspot Question You have a management group that contains four Azure subscriptions. Each subscription contains four resource groups. You develop a new web app named App1. You plan...
BicepAzure Resource Manager (ARM)unique namesinfrastructure as code - Question #512Design and implement pipelines - Configure pipeline caching to improve build performance and manage NuGet package dependencies in Azure DevOps
Drag and Drop Question You use an Azure pipeline to build a .NET app that has NuGet dependencies. You need to ensure that the pipeline caches required NuGet packages. How should yo...
Azure PipelinesNuGet CachingPipeline OptimizationCI/CD - Question #513Design and implement build and release pipelines
You have an Azure pipeline that is used to deploy an app named App1. You need to ensure that new versions of App1 are released only if they exceed performance baselines. The soluti...
Azure PipelinesDeployment GatesRelease ManagementPerformance Baselines - Question #514Implement an instrumentation strategy
You have an Azure App Service app named App1. You need to identify when App1 was offline. The solution must minimize administrative effort. Which troubleshooting category in App Se...
- Question #515Implement an instrumentation strategy
You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed serv...
- Question #516Develop a security and compliance plan
SIMULATION Navigate to https://dev.azure.com, select Start Free, and specify the following credentials: - User: [email protected] - Password: 0123456789 Use the default...
Azure DevOps organizationUser managementAccess controlStakeholder role - Question #517Monitor and maintain Azure resources - Configure monitoring, alerting, and action groups in Azure Monitor to notify stakeholders and automate responses to resource health and performance events.
SIMULATION For the RG1lod12345678 resource group, you need to create an action group named DevOpsAG that can be triggered in any region by using Alerts. The action group must email...
Azure MonitorAction GroupsAlertsCommon Alert Schema - Question #518Implement an instrumentation strategy
SIMULATION You need to write a KQL query that will count the number of inbound requests for each source IP address, for any connection made during the last three months of 2021. On...
KQLAzure Data ExplorerData QueryingLog Analysis - Question #519Design and Implement Processes and Communications - Configure and manage Azure DevOps dashboards and analytics widgets to surface team performance and delivery metrics.
Drag and Drop Question You have a project in Azure DevOps. You need to configure a dashboard that will provide information on the following metrics. - How long it takes to close a...
Azure DevOps DashboardsAgile MetricsDORA MetricsWork Item Analytics - Question #520Configure and manage Microsoft Sentinel / Azure Monitor - specifically querying and analyzing log data using KQL, including understanding query operators like 'extend' and KQL data types such as timespan and datetime.
Hotspot Question You are interrogating logs by using KQL. You execute the query shown in the following exhibit. Use the drop-down menus to select the answer choice that completes e...
KQL (Kusto Query Language)Azure Monitor LogsData Types in KQLLog Analytics Queries - Question #521Implement an instrumentation strategy
Hotspot Question You have an Azure subscription that contains multiple web apps. You need to enable Change Analysis for the web apps. How should you complete the script? To answer,...
Azure PowerShellChange AnalysisAzure Resource Providerconfiguration management - Question #522Develop a security and compliance plan
Hotspot Question You have a GitHub organization. You configure the personal access token (PAT) policy shown in the following exhibit. Use the drop-down menus to select the answer c...
GitHubpersonal access tokens (PAT)security policiesaccess control - Question #523Design and Implement Security (Configure pipelines to use security scanning tools such as GitHub Advanced Security and CodeQL)
Drag and Drop Question You have an Azure Repos repository named Repo1 that is used for source control. You need to configure code scanning for Repo1. Which three tasks should the p...
GitHub Advanced SecurityAzure DevOpsCodeQLPipeline Configuration - Question #524Configure secure access to Azure DevOps resources using Personal Access Tokens with appropriate scopes and expiration policies - aligning with the AZ-400 domain of implementing DevOps security and identity management.
SIMULATION You need to create a personal access token (PAT) named Token1 that has only the following capabilities: - Read, write, and manage code - Read and execute builds - Read r...
Azure DevOpsPersonal Access TokensSecurity & AuthenticationAccess Management - Question #525Develop a security and compliance plan
You have a GitHub repository that uses GitHub Actions and stores access keys by using GitHub encrypted secrets. You plan to update the secrets by using the GitHub REST API. You nee...
- Question #526Design and implement build and release pipelines
Hotspot Question You have a GitHub repository named Repo1 and an app named App1. Repo1 stores the source code for App1. You need to perform the following tests: Which GitHub action...
GitHub Actionssecurity testingOWASP ZAPDASTSAST - Question #527Design and implement build and release pipelines
You use Azure Pipelines pipeline to build and deploy an app named App1. You need to ensure that before App1 is deployed, all the code for the app passes a security validation by us...
Azure PipelinesBranch PoliciesSecurity ValidationStatus Checks - Question #528Design and implement source control
You manage source control by using GitHub. You have a file named Data.txt that contains sensitive data. A user pushes Data.txt to a repository. You need to purge the file from the...
- Question #529Design and implement source control
You use GitHub Enterprise for source control repositories. The repositories store C# code. You need to enable CodeQL scanning for the repositories. What should you do?
- Question #530Design and implement source control
You have a GitHub repository. You need to create a tag named v3.0.5 and ensure that the tag is available in the remote repository. Which two commands should you run? Each correct a...
GitGit TagsVersion ControlRemote Repository - Question #531Design and implement source control
You have a GitHub repository. You need to ensure that all changes to code are validated by your company's security department before the main branch is deployed. Which two actions...
- Question #532Design and implement source control - specifically configuring branch protection policies and approval workflows to enforce code review governance and compliance in Azure DevOps Repos
SIMULATION Initialize the default main branch, if it does not exist already. In the User1-12345678 Azure DevOps project, you need to implement an approval process for the default m...
Azure DevOps Branch PoliciesFour-Eyes PrinciplePull Request ApprovalsSource Control Governance - Question #533Configure repositories and branch policies in Azure DevOps to implement source control best practices and enforce merge strategy restrictions (AZ-400: Design and Implement Source Control)
SIMULATION Initialize the default main branch, if it does not exist already. For Project1, you need to implement branch merging restrictions to enable squash merge for all changes...
Azure DevOps Branch PoliciesMerge StrategiesRepository ManagementAzure Repos - Question #534Design and implement build and release pipelines
Hotspot Question You have a GitHub repository that contains a workflow named WF1. WF1 is used to build code for an app named App1. You need to add a build status badge to the READM...
GitHub Actionsbuild status badgeREADME.mdworkflow status - Question #535Design and implement build and release pipelines
Hotspot Question You have a .NET app named App1. You need to upload App1 to GitHub Packages. How should you complete the command? To answer, select the appropriate options in the a...
GitHub Packages.NETdotnet nuget pushpackage management - Question #536Implement secure access to Azure resources using managed identities and service principals within CI/CD pipelines (DevOps / Azure Security)
Drag and Drop Question You have a GitHub repository named repo1 and an Azure key vault named kv1. In repo1, you plan to create a workflow named Workflow1 that will deploy a databas...
Azure Key VaultGitHub ActionsService PrincipalMicrosoft Entra ID - Question #537Design and implement processes and communications
You manage a project by using Azure Boards, and you manage the project code by using GitHub repositories. You have a work item that has an ID of 123. You need to link a commit mess...
Azure BoardsGitHub integrationWork item linkingCommit messages - Question #538Design and implement processes and communications
You have a project in Azure DevOps that uses an Azure Boards board and stores code in a GitHub repository. The repository contains a file named README.md. You need to ensure that R...
Azure BoardsGitHub IntegrationWork Item StatusREADME.md - Question #539Configure processes and communications
You manage a project by using Azure Boards, and you manage the project code by using Azure Repos. You have a bug work item that has an ID of 123. You need to set the work item stat...
- Question #540Configure processes and communications
You manage projects by using Azure Boards. You have a current work item named itemA that is dependent on a work item named itemB. You need to define the dependency for itemA. What...
Azure BoardsWork Item ManagementDependenciesLink Types - Question #541Design and implement DevOps practices for collaboration and reporting - specifically configuring team dashboards and widgets in Azure DevOps to provide visibility into team membership and project metrics.
SIMULATION You need to create a new team dashboard named Dashboard1 for the default project team of Project1. The dashboard must display the members of the team. Answer:
Azure DevOps DashboardsTeam WidgetsProject ConfigurationDashboard Management - Question #542Design and implement processes and communications
SIMULATION For Project1, you need to create a project wiki named Wiki1 that uses the Mermaid syntax to render a diagram. A sample of the desired output is stored in C : \Resources\...
Azure DevOps WikiMermaid syntaxProject documentationDiagrams as code - Question #543Implement an instrumentation strategy
Hotspot Question You have an Azure DevOps project that is used to build and test an app named App1. You need to troubleshoot the following issues: - Most bugs are detected and repo...
DevOps metricsdefect escape ratemean time to detectionincident management - Question #544Design and implement build and release pipelines
SIMULATION You need to configure a virtual machine template in a DevTest Labs environment named az400- 123456789-dtl1. The operating system must be based on Windows Server 2016 Dat...
- Question #545Design and implement build and release pipelines
You have an Azure subscription. You create two Bicep templates named Template1 and Template2 that will be used to create a virtual machine and a website. You need to create a templ...
- Question #546Design and implement build and release pipelines
You have an Azure subscription. You use Bicep templates to deploy websites and Azure SQL infrastructure. You need to automate the deployments by using Azure Pipelines and a self-ho...
- Question #547Design and implement build and release pipelines
You plan to deploy a solution that will include multiple microservices. You need to recommend a deployment strategy for the microservices. The solution must meet the following requ...
Deployment strategiesMicroservices deploymentBlue/Green deploymentRollback strategy - Question #548Design and implement source control
You manage a project by using Azure Boards. You manage the project code by using GitHub. You have three work items that have IDs of 456, 457, and 458. You need to create a pull req...
Azure BoardsGitHub IntegrationWork Item ManagementCommit Messages - Question #549Design and implement build and and release pipelines
You plan to deploy a solution that will include multiple microservices. You need to recommend a deployment strategy for the microservices. The solution must meet the following requ...
- Question #550Design and implement build and release pipelines
You use Azure Pipelines to build and test code. You need to analyze the agent pool usage. What are two ways to achieve the goal? Each correct answer presents a complete solution. N...
- Question #551Design and implement build and release pipelines
You use an Azure Pipelines pipeline to build and deploy an app. You have a custom test task that has the following inputs: - testResultsFiles: **/TEST-*.trx - searchFolder: $(Syste...
- Question #552Design and implement build and release pipelines
You use an Azure Pipelines pipeline to build, test, and deploy an app named App1. You need to reduce how long it takes to complete unit and integration tests for App1. The solution...
- Question #553Design and implement build and release pipelines
You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines. You need to configure a release pipeline that will mark the app a...
- Question #554Design and implement build and release pipelines
You manage package feeds by using Azure Artifacts. You plan to create a new package feed that will include the following views: - @Local - @Latest - @Release - @Prerelease Which vi...
- Question #555Design and implement build and release pipelines
You plan to create an image that will contain a .NET Core application. You have a Dockerfile file that contains the following code. (Line numbers are included for reference only.)...
- Question #556Design and implement build and release pipelines
You have an Azure subscription that includes an app named App1. You have an Azure DevOps project that contains two environments named Staging and Production. You use Azure Pipeline...
- Question #557Design and implement build and release pipelines
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Azure PipelinesYAML pipelinesStage dependenciesConditional execution - Question #558Design and implement build and release pipelines
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some q...
Azure PipelinesYAML PipelinesStage DependenciesParallel ExecutionPipeline Conditions