AZ-400 Exam Questions
608 real AZ-400 exam questions with expert-verified answers and explanations. Page 12 of 13.
- Question #559Design 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 #560Design and implement build and release pipelines
You are developing an Azure Pipelines pipeline. You need to configure a check in the pipeline that will query Azure Boards to ensure that there are no active work item issues befor...
Azure PipelinesPre-deployment gatesAzure BoardsDeployment strategy - Question #561Design and implement build and release pipelines
You have an Azure Resource Manager (ARM) template that contains the following expression. [if(parameters('isComplete'), '1a', '2a')] You need to migrate the template to Bicep. Whic...
BicepARM template migrationConditional expressionsIaC syntax - Question #562Design 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 PipelinesPR TriggersPath Filtering - Question #563Design 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 PipelinesPull Request TriggersPath Filters - Question #564Design 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 Pipelines YAMLPull Request TriggersPath FiltersPipeline Configuration - Question #565Design and implement build and release pipelines
SIMULATION Initialize the default main branch, if it does not exist already. In the User1-12345678 organization, you need to install the Microsoft Security DevOps extension. Next,...
Azure PipelinesSecurity DevOpsExtension IntegrationPipeline Task Configuration - Question #566Design and Implement Pipelines - Configure Azure Pipelines using YAML and integrate with Azure Repos as the source control platform
SIMULATION Initialize the default main branch, if it does not exist already. In Project1, you need to create a new Azure Pipelines YAML pipeline by using the ASP.NET template. The...
Azure PipelinesYAML PipelineAzure ReposCI/CD Configuration - Question #567Configure secure access to build agents and pipeline resources - specifically creating and managing variable groups in Azure DevOps to share configuration values across pipelines (AZ-400: Designing and Implementing Microsoft DevOps Solutions)
SIMULATION In Project1, you need to create a variable group named varGroup1 that will contain the following variables: serverName: server1 dbName: db1 Answer:
Azure DevOpsVariable GroupsPipelines LibraryCI/CD Configuration - Question #568Configure and manage Azure Pipelines - specifically managing pipeline settings including retention policies for build artifacts, symbols, and attachments within Azure DevOps project configuration.
SIMULATION For Project1, you need to ensure that artifacts, symbols, and attachments are retained for 60 days. Answer:
Azure DevOpsPipeline Retention PoliciesArtifact ManagementProject Settings - Question #569Design 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 PipelinesTest AutomationPipeline Configuration - Question #570Design 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 PipelinesTest AutomationYAML ConfigurationPipeline Control Flow - Question #571Design and implement build and release pipelines
You have an Azure DevOps subscription that contains the projects shown in the following table. You build apps for the projects by using Azure Pipelines. Which two projects meet the...
Azure PipelinesParallel JobsFree Tier GrantsAzure DevOps - Question #572
You use an Azure Pipelines pipeline to build and test an app named App1. Your company's development department works in the feature branches. You need to ensure that a pull request...
- Question #573
You have an Azure Pipelines pipeline named Pipeline1 and a user named User1. Pipeline1 contains a temporary final stage named final1. You need to ensure that User1 can delete final...
- Question #574Design and implement pipelines - specifically reusable pipeline templates and security enforcement strategies in Azure DevOps (AZ-400 / DevOps Engineer Expert)
Drag and Drop Question You have an Azure subscription. You have the standards shown in the following table. You plan to use Azure Pipelines to build and release web apps. You need...
Azure PipelinesPipeline TemplatesExtends TemplatesDevSecOps - Question #575
Hotspot Question You have an Azure subscription that contains a user named User1. You have an Azure Resource Manager (ARM) template named Template1. You plan to perform the followi...
- Question #576Design and Implement Azure Networking Solutions - Configure load balancing and traffic routing (AZ-104 / AZ-700)
Drag and Drop Question You have an Azure subscription that contains an Azure Traffic Manager profile named ATM1 and a web app named App1. ATM1 manages App1 traffic. ATM1 is configu...
Azure Traffic ManagerGeographic RoutingTraffic Routing MethodsAzure Networking - Question #577Design and Implement Pipelines - Understanding Azure Pipelines structure, YAML syntax, and the distinction between predefined system variables and user-defined variables (AZ-400 / DevOps Engineer Expert certification)
Hotspot Question You have an Azure Pipelines pipeline named Pipeline1 that has the following YAML definition. For each of the following statements, select Yes if True. Otherwise se...
Azure Pipelines YAMLPredefined VariablesPipeline StagesPipeline Configuration - Question #578Manage GitHub Actions secrets, authentication mechanisms, and integrate GitHub Apps for automated authenticated API access within workflows
Drag and Drop Question You have a GitHub organization. You are creating a GitHub Actions workflow. You need to perform authenticated API requests by using a GitHub app name App1. W...
GitHub Apps AuthenticationGitHub ActionsInstallation Access TokensAPI Security - Question #581Implement and Manage Azure Automation / Configure Management and Monitoring Solutions (AZ-104 / AZ-800 Exam Domain)
Drag and Drop Question You have an Azure subscription that contains 50 virtual machines. You manage the configuration of the virtual machines by using Azure Automation State Config...
Azure AutomationDesired State Configuration (DSC)PowerShell DSC ResourcesWindows Defender - Question #582Implement containerized solutions - understanding Dockerfile structure, multi-stage builds, and .NET container base images (AZ-204: Develop solutions that use blob storage / containerized solutions)
Hotspot Question You have an app named App1 that is built and deployed by using containers. The Dockerfile for App1 has the following definition. For each of the following statemen...
DockerMulti-stage buildsASP.NET CoreContainerization - Question #583Configure processes and communications
Drag and Drop Question You have an Azure subscription that contains multiple users. You need to create an Azure Deployment Environment. The solution must meet the following require...
Azure Deployment EnvironmentsManaged IdentityLeast PrivilegeInfrastructure as Code - Question #584
You have an Azure subscription. You need to ensure that users can provision preconfigured cloud-based environments for developing apps. The solution must minimize administrative ef...
- Question #585
You have an Azure subscription that contains 20 virtual machines. You plan to deploy an Azure infrastructure by using Bicep files. The files will be deployed by using self-hosted G...
- Question #586
You have an Azure DevOps organization that contains a repo named Repo1 that contains infrastructure as code (IaC) resources. You plan to deploy the resources by using a GitHub Acti...
- Question #587Implement security and validate code bases for compliance - specifically managing secrets, credentials, and sensitive configuration in CI/CD pipelines using Azure Key Vault integration with Azure DevOps Pipelines
Hotspot Question You have an Azure Pipelines pipeline that has the following definition. For each of the following statements, select Yes if the statement is true. Otherwise, selec...
Azure Key VaultAzure PipelinesSecret ManagementPipeline Variables - Question #588
You have an Azure DevOps pipeline named Pipeline1. You need to track the stability of code changes in Pipeline1. Which metric should you use?
- Question #589Design and implement build and release pipelines
Hotspot Question You deploy multiple apps by using Azure Pipelines. You need to recommend a solution to manage the configuration of the apps. The solution must meet the following r...
Azure App ConfigurationFeature FlagsDeployment SlotsApplication Configuration - Question #590
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...
- Question #591
Hotspot Question You have an Azure DevOps project that is used to build an app named App1. You need to recommend a release strategy for App1. The solution must meet the following r...
- Question #592Design and implement a release strategy - specifically configuring CI pipelines for infrastructure-as-code (IaC) workflows including security scanning, Terraform plan generation, and artifact publishing in Azure DevOps (AZ-400 Domain: Develop a Security and Compliance Plan / Implement Infrastructure as Code)
Drag and Drop Question You have an Azure DevOps project that contains a repo named Repo1. Repo1 contains Terraform code that defines the infrastructure of an app. You need to creat...
Azure DevOps PipelinesTerraform IaCStatic Code Analysis / CheckovPipeline Artifact Management - Question #593
You are designing a build and release pipeline. You need to implement continuous integration and continuous delivery (CI/CD) for the pipeline. Which automated activities should you...
- Question #594
You have an Azure DevOps subscription that contains two projects named Project1 and Project2. The projects contain the jobs shown in the following table. You purchase two parallel...
- Question #595Implement and manage continuous delivery (CD) pipelines using Azure DevOps, including ARM template deployments to Azure resource groups
Drag and Drop Question You have an Azure subscription that contains a resource group named RG1. You have a template artifact named template1. You plan to use Azure Pipelines to dep...
Azure PipelinesARM TemplatesAzure BlueprintsResource Deployment - Question #596
You have an Azure subscription. The subscription contains virtual machines that run either Windows Server or Ubuntu. You need to recommend a configuration management solution for t...
- Question #597
You have an Azure DevOps release pipeline named Pipeline1. You plan to use Pipeline1 to deploy infrastructure as code (IaC) resources to Azure. You need to create templates to defi...
- Question #598Deploy and manage Azure compute resources / Infrastructure as Code - Understanding Azure Bicep What-If operations and interpreting deployment evaluation results, typically tested in AZ-104 or AZ-305 certification exams.
Hotspot Question You have a Bicep file named Main.bicep. You run the following command. You receive the following response. Use the drop-down menus to select the answer choice that...
Azure BicepWhat-If DeploymentARM TemplatesAzure Resource Manager - Question #599
Hotspot Question You have an Azure DevOps organization that contains a build job. The job is configured by using a pipeline named Pipeline1. You need to run the job on multiple ope...
- Question #600
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether th...
- Question #601
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether th...
- Question #602
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether th...
- Question #603
Hotspot Question You have a GitHub Enterprise account. You have three projects named Project1, Project2, and Project3. Project1 must meet the following requirements: - Perform conc...
- Question #604
You are designing a build and release pipeline. You need to implement a shift-left testing strategy for the pipeline. Which types of tests should you include?
- Question #606Design and Implement Source Control and CI/CD Pipelines using GitHub Actions - specifically understanding the required directory structure and file setup process for GitHub Actions workflow automation.
Drag and Drop Question You have a GitHub repository named Repo1. You plan to implement continuous integration and continuous delivery (CI/CD) by using GitHub Actions. You need to c...
GitHub ActionsCI/CD WorkflowsYAML ConfigurationDevOps Automation - Question #607
Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether th...
- Question #608
You have an infrastructure as code (IaC) solution that is managed by using Bicep files and Azure Pipelines. You need to ensure that pipeline actions that significantly affect the e...
- Question #609
You have a widget named App1 and an Azure DevOps YAML pipeline named Pipeline1. App1 is released by using Pipeline1. Pipeline1 contains a single stage and a single job. You need to...
- Question #610Design and Implement Pipelines - Configure pipeline stages, dependencies, and execution conditions in Azure DevOps multi-stage YAML pipelines (AZ-400 Domain: Implement CI with Azure Pipelines)
Hotspot Question You have a project that includes a .NET app and a database backend. You have a pipeline that includes the following YAML code. For each of the following statements...
Azure DevOps YAML PipelinesStage DependenciesPipeline ParallelismCI/CD Pipeline Configuration - Question #611
Hotspot Question You have a GitHub organization that contains a repository and an organizational secret named DB_Credential. You need to build a workflow that will configure a serv...