AZ-400 Exam Questions
608 real AZ-400 exam questions with expert-verified answers and explanations. Page 5 of 13.
- Question #205Implement containerization and manage container images using Docker and Azure Container Registry, including optimizing Dockerfile configurations for production deployments
Drag and Drop Question You are creating a container for an ASP.NET Core app. You need to create a Dockerfile file to build the image. The solution must ensure that the size of the...
DockerMulti-stage BuildsASP.NET CoreContainerization - Question #206Monitor and Optimize Azure Solutions - specifically configuring Application Insights alerts based on performance telemetry and understanding percentile-based metrics for user experience monitoring.
Hotspot Question You plan to create alerts that will be triggered based on the page load performance of a home page. You have the Application Insights log query shown in the follow...
Application InsightsAzure Monitor AlertsPerformance MonitoringKQL Log Queries - Question #207Design and Implement Source Control - Configure repository settings and branch policies to enforce code quality gates and build validation in Azure DevOps (AZ-400 Exam Domain: Implement CI with Azure Pipelines and GitHub Actions / Source Control Management)
Drag and Drop Question You are configuring the settings of a new Git repository in Azure Repos. You need to ensure that pull requests in a branch meet the following criteria before...
Azure ReposBranch PoliciesSonarCloud IntegrationPull Request Validation - Question #208Design and implement source control
Case Study 3 - Woodgrove Bank Overview General Overview Woodgrove Bank is a financial services company that has a main office in the United Kingdom. Technical Requirements and Plan...
- Question #209Configure processes and communications
You use Azure Pipelines to manage project builds and deployments. You plan to use Azure Pipelines for Microsoft Teams to notify the legal team when a new build is ready for release...
- Question #210Configure processes and communications
Your company implements an Agile development methodology. You plan to implement retrospectives at the end of each sprint. Which three questions should you include? Each correct ans...
- Question #211Design and implement build and release pipelines
Your company uses Azure Artifacts for package management. You need to configure an upstream source in Azure Artifacts for Python packages. Which repository type should you use as a...
- Question #212Design and implement source control
Your company uses Azure DevOps to manage the build and release processes for applications. You use a Git repository for applications source control. You plan to create a new branch...
- Question #213Design and implement build and release pipelines
You have an Azure DevOps organization named Contoso that contains a project named Project1. You provision an Azure key vault named Keyvault1. You need to reference Keyvault1 secret...
- Question #214Design and implement build and release pipelines
You are designing a build pipeline in Azure Pipelines. The pipeline requires a self-hosted agent. The build pipeline will run once daily and will take 30 minutes to complete. You n...
- Question #215Develop a security and compliance plan
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...
- Question #216Design and implement build and release pipelines
Your company has an Azure DevOps project. The source code for the project is stored in an on-premises repository and uses on an on- premises build server. You plan to use Azure Dev...
- Question #217Design and implement build and release pipelines
You have an Azure subscription that contains an Azure Active Directory (Azure AD) tenant. You are configuring a build pipeline in Azure Pipelines that will include a task named Tas...
- Question #218Design and implement build and release pipelines
You need to execute inline testing of an Azure DevOps pipeline that uses a Docker deployment model. The solution must prevent the results from being published to the pipeline. What...
- Question #219Develop a security and compliance plan
You need to configure GitHub to use Azure Active Directory (Azure AD) for authentication. What should you do first?
- Question #220Design and implement build and release pipelines
You have a project in Azure DevOps named Project1. Project1 contains a pipeline that builds a container image named Image1 and pushes Image1 to an Azure container registry named AC...
- Question #221Configure processes and communications
You have a free tier of an Azure DevOps organization named Contoso. Contoso contains 10 private projects. Each project has multiple jobs with no dependencies. You frequently run th...
- Question #222Develop a security and compliance plan
You have an Azure DevOps project that contains a build pipeline. The build pipeline uses approximately 50 open source libraries. You need to ensure that all the open source librari...
- Question #223Design and implement processes and communications
Your company develops an application named App1 that is deployed in production. As part of an application update, a new service is being added to App1. The new service requires acc...
- Question #224Develop a security and compliance plan
You are designing the security validation strategy for a project in Azure DevOps. You need to identify package dependencies that have known security issues and can be resolved by a...
- Question #225Design and implement build and release pipelines
You have a private distribution group that contains provisioned and unprovisioned devices. You need to distribute a new iOS application to the distribution group by using Microsoft...
- Question #226Develop a security and compliance plan
Your company uses the following resources: - Windows Server 2019 container images hosted in an Azure Container Registry. - Azure virtual machines that run the latest version of Ubu...
- Question #227Configure processes and communications
You have a private project in Azure DevOps. You need to ensure that a project manager can create custom work item queries to report on the project's progress. The solution must use...
- Question #228Design and implement source control
You use Azure Pipelines to manage build pipelines, GitHub to store source code, and Dependabot to manage dependencies. You have an app named App1. Dependabot detects a dependency i...
- Question #229Configure processes and communications
You are integrating Azure Pipelines and Microsoft Teams. You install the Azure Pipelines app in Microsoft Teams. You have an Azure DevOps organization named Contoso that contains a...
- Question #230Implement an instrumentation strategy
You have an Azure DevOps organization named Contoso and an Azure subscription. You use Azure DevOps to build and deploy a web app named App1. Azure Monitor is configured to generat...
- Question #231Implement an instrumentation strategy
You have a Microsoft ASP.NET Core web app in Azure that is accessed worldwide. You need to run a URL ping test once every five minutes and create an alert when the web app is unava...
- Question #232Implement an instrumentation strategy
You are designing a strategy to monitor the baseline metrics of Azure virtual machines that run Windows Server. You need to collect detailed data about the processes running in the...
- Question #233Implement an instrumentation strategy
You configure an Azure Application Insights availability test. You need to notify the customer services department at your company by email when availability is degraded. You creat...
- Question #234Design and implement build and release pipelines
You have an Azure DevOps organization named Contoso and an Azure subscription. You use Azure DevOps to build a containerized app named App1 and deploy App1 to an Azure container in...
- Question #235Configure and manage source control - specifically configuring Git repositories to exclude files from version tracking using .gitignore, which is a core competency in the AZ-400 (DevOps Engineer Expert) certification under 'Design and Implement Source Control Strategies'.
Drag and Drop Question You manage the Git repository for a large enterprise application. During the development of the application, you use a file named Config.json. You need to pr...
GitSource Control.gitignoreAzure DevOps - Question #236Implement and Manage Azure Infrastructure / Deploy and Configure Virtual Machines (Azure Administrator AZ-104)
Drag and Drop Question You are deploying a new application that uses Azure virtual machines. You plan to use the Desired State Configuration (DSC) extension on the virtual machines...
Azure DSC ExtensionDesired State ConfigurationVirtual Machine ConfigurationAzure Blob Storage - Question #237Implement and manage Azure infrastructure - specifically configuring Azure Virtual Machines using PowerShell DSC for automated role and feature deployment (AZ-104 / AZ-800 domain: Deploy and manage Azure compute resources)
Drag and Drop Question You need to deploy Internet Information Services (IIS) to an Azure virtual machine that runs Windows Server 2019. How should you complete the Desired State C...
Desired State Configuration (DSC)Azure Virtual MachinesWindows Server IISInfrastructure as Code - Question #238Design and Implement Source Control / Select Appropriate Azure DevOps Services for Asset Management
Drag and Drop Question You are building an application that has the following assets: - Source code - Logs from automated tests and builds - Large and frequently updated binary ass...
Azure DevOpsAzure ReposAzure ArtifactsAzure PipelinesAzure Storage - Question #239Monitor and maintain Azure resources - specifically writing KQL queries in Azure Monitor Log Analytics to analyze virtual machine event data (Maps to AZ-104 or AZ-140 Monitor and Backup domain)
Drag and Drop Question You have several Azure virtual machines that run Windows Server 2019. You need to identify the distinct event IDs of each virtual machine as shown in the fol...
Azure MonitorKusto Query Language (KQL)Log AnalyticsWindows Event Logs - Question #240Configure secure access and manage permissions in Azure DevOps, including dashboard-level and project-level role assignments (AZ-400: Implement DevOps Security and Compliance)
Hotspot Question You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Click the Teams tab.) You create a new dashboard named Dash1. You configure...
Azure DevOps DashboardsPermission ManagementTeam RolesAccess Control - Question #241Design and implement build and release pipelines
You have an existing project in Azure DevOps. You plan to integrate GitHub as the repository for the project. You need to ensure that Azure Pipelines runs under the Azure Pipelines...
- Question #242Design and implement build and release pipelines
You plan to provision a self-hosted Linux agent. Which authentication mechanism should you use to register the self-hosted agent?
- Question #243Develop a security and compliance plan
You are building a Microsoft ASP.NET application that requires authentication. You need to authenticate users by using Azure Active Directory (Azure AD). What should you do first?
- Question #244Design and implement a source control strategy
You plan to create in Azure DevOps. Multiple developers will work on the project. The developers will work offline frequently and will require access to the full project history wh...
- Question #245Develop a security and compliance plan
You have the following Azure policy. You assign the policy to the Tenant root group. What is the effect of the policy?
- Question #246Design and implement build and release pipelines
You have a build pipeline in Azure Pipelines that uses different jobs to compile an application for 10 different architectures. The build pipeline takes approximately one day to co...
- Question #247Design and implement build and release pipelines
You are creating a build pipeline in Azure Pipelines. You define several tests that might fail due to third-party applications. You need to ensure that the build pipeline completes...
- Question #248Design and implement build and release pipelines
Your company is building a new solution in Java. The company currently uses a SonarQube server to analyze the code of .NET solutions. You need to analyze and monitor the code quali...
- Question #249Configure processes and communications
You are designing a configuration management solution to support five apps hosted on Azure App Service. Each app is available in the following three environments: development, test...
- Question #250Design and implement build and release pipelines
You have a containerized solution that runs in Azure Container Instances. The solution contains a frontend container named App1 and a backend container named DB1. DB1 loads a large...
- Question #251Configure processes and communications
You have an Azure DevOps organization named Contoso. You need to receive Microsoft Teams notifications when work items are updated. What should you do?
- Question #252Implement an instrumentation strategy
You have an Azure DevOps organization named Contoso and an Azure subscription. The subscription contains an Azure virtual machine scale set named VMSS1 that is configured for autos...
- Question #253Implement an instrumentation strategy
You create an alert rule in Azure Monitor as shown in the following exhibit. Which action will trigger an alert?
- Question #254Implement an instrumentation strategy
You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when there are 10,000 simultaneous connections to th...