Providing accurate, up to date exam questions of popular IT exams

Learning Knowledge Brings Hope

Practice Makes Perfect

Practicing AZ-400: Designing and Implementing Microsoft DevOps Solutions

NO.1 You use Azure Artifacts to host NuGet packages that you create.You need to make one of the packages available to anonymous users outside your organization. The solution must minimize the number of publication points.What should you do?
(A) Change the feed URL of the package
(B) Create a new feed for the package
(C) Promote the package to a release view.
(D) Publish the package to a public NuGet repository.
Answer : B
NO.2 Your company plans to use an agile approach to software development.You need to recommend an application to provide communication between members of the development team who work in locations around the worlThe applications must meet the following requirements:Provide the ability to isolate the members of different project teams into separate communication channels and to keep a history of the chats within those channels.Be available on Windows 10, Mac OS, iOS, and Android operating systems.Provide the ability to add external contractors and suppliers to projects.Integrate directly with Azure DevOps.What should you recommend?
(A) Microsoft Project
(B) Bamboo
(C) Microsoft Lync
(D) Microsoft Teams
Answer : D
NO.3 You manage build pipelines and deployment pipelines by using Azure DevOps.Your company has a team of 500 developers. New members are added continually to the team.You need to automate the management of users and licenses whenever possible.Which task must you perform manually?
(A) modifying group memberships
(B) adding users
(C) assigning entitlements
(D) procuring licenses
Answer : D
NO.4 You are developing a multi-tier application. The application will use Azure App Service web apps as the front end and an Azure SQL database as the back end.The application will use Azure functions to write some data to Azure Storage.You need to send the Azure DevOps team an email message when the front end fails to return a status code of 200.Which feature should you use?
(A) Service Map in Azure Log Analytics
(B) Availability tests in Azure Application Insights
(C) Profiler in Azure Application Insights
(D) Application Map in Azure Application Insights
Answer : D
NO.5 During a code review, you discover many quality issues. Many modules contain unused variables and empty catch blocks.You need to recommend a solution to improve the quality of the code.What should you recommend?
(A) In a Grunt build task, select Enabled from Control Options.
(B) In a Maven build task, select Run PM
(C) In a Xcode build task, select Use xcpretty from Advanced.
(D) In a Gradle build task, select Run Checkstyle.
Answer : B
NO.6 Your company has an on-premises Bitbucket Server that is used for Git-based source control. The server is protected by a firewall that blocks inbound Internet traffic.You plan to use Azure DevOps to manage the build and release processes.Which two components are required to integrate Azure DevOps and Bitbucket? Each correct answer presents part of the solution.
(A) a deployment group
(B) a Microsoft-hosted agent
(C) service hooks
(D) a self-hosted agent
(E) an External Git service connection
Answer : D;E
NO.7 Your company plans to use an agile approach to software development.You need to recommend an application to provide communication between members of the development team who work in locations around the worlThe applications must meet the following requirements:Provide the ability to isolate the members of different project teams into separate communication channels and to keep a history of the chats within those channels.Be available on Windows 10, Mac OS, iOS, and Android operating systems.Provide the ability to add external contractors and suppliers to projects.Integrate directly with Azure DevOps.What should you recommend?
(A) Microsoft Project
(B) Bamboo
(C) Octopus
(D) Slack
Answer : D
NO.8 Your development team is building a new web solution by using the Microsoft Visual Studio integrated development environment (IDE).You need to make a custom package available to all the developers. The package must be managed centrally, and the latest version must be available for consumption in Visual Studio automatically.Which three actions should you perform? Each correct answer presents part of the solution.
(A) Publish the package to a fee
(B) Create a new feed in Azure Artifacts.
(C) Upload a package to a Git repository.
(D) Add the package URL to the Environment settings in Visual Studio.
(E) Add the package URL to the NuGet Package Manager settings in Visual Studio.
(F) Create a Git repository in Azure Repos.
Answer : A;B;E
NO.9 You have a GitHub repository.You create a new repository in Azure DevOps.You need to recommend a procedure to clone the repository from GitHub to Azure DevOps.What should you recommend?
(A) Create a pull request.
(B) Create a webhook.
(C) Create a service connection for GitHub.
(D) From Import a Git repository, click Import.
(E) Create a personal access token in Azure DevOps.
Answer : D
NO.10 Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.What should you use?
(A) SourceGear Vault
(B) Jenkins
(C) Microsoft Visual SourceSafe
(D) WhiteSource Bolt
Answer : D
NO.11 You have a branch policy in a project in Azure DevOps. The policy requires that code always builds successfully.You need to ensure that a specific user can always merge changes to the master branch, even if the code fails to compile. The solution must use the principle of least privilege.What should you do?
(A) Add the user to the Build Administrators group.
(B) Add the user to the Project Administrators group.
(C) From the Security settings of the repository, modify the access control for the user.
(D) From the Security settings of the branch, modify the access control for the user.
Answer : D
NO.12 Your company uses a Git repository in Azure Repos to manage the source code of a web application. The master branch is protected from direct updates.Developers work on new features in the topic branches.Because of the high volume of requested features, it is difficult to follow the history of the changes to the master branch.You need to enforce a pull request merge strategy. The strategy must meet the following requirements:Consolidate commit histories.Merge the changes into a single commit.Which merge strategy should you use in the branch policy?
(A) squash merge
(B) fast-forward merge
(C) Git fetch
(D) no-fast-forward merge
Answer : A
NO.13 Your company uses cloud-hosted Jenkins for builds.You need to ensure that Jenkins can retrieve source code from Azure Repos.Which three actions should you perform? Each correct answer presents part of the solution.
(A) Create a webhook in Jenkins.
(B) Add the Team Foundation Server (TFS) plug-in to Jenkins.
(C) Add a domain to your Jenkins account.
(D) Create a personal access token in your Azure DevOps account.
(E) Create a service hook in Azure DevOps.
Answer : B;D;E
NO.14 You have an Azure Resource Manager template that deploys a multi-tier application.You need to prevent the user who performs the deployment from viewing the account credentials and connection strings used by the application.What should you use?
(A) Azure Key Vault
(B) a Web.config file
(C) an Appsettings.json file
(D) an Azure Storage table
(E) an Azure Resource Manager parameter file
Answer : A
NO.15 You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.Solution: You create an email subscription to an Azure DevOps notification.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.16 You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.Solution: You create a service hook subscription that uses the code pushed event.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.17 You integrate a cloud-hosted Jenkins server and a new Azure DevOps deployment.You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.Solution: You add a trigger to the build pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.18 You are automating the build process for a Java-based application by using Azure DevOps.You need to add code coverage testing and publish the outcomes to the pipeline.What should you use?
(A) Cobertura
(B) Bullseye Coverage
(C) MSTest
(D) Coverlet
(E) NUnit
(F) Coverage.py
Answer : A
NO.19 Your company uses Azure DevOps.Only users who have accounts in Azure Active Directory can access the Azure DevOps environment.You need to ensure that only devices that are connected to the on-premises network can access the Azure DevOps environment.What should you do?
(A) Assign the Stakeholder access level all users.
(B) In Azure Active Directory, configure risky sign-ins.
(C) In Azure DevOps, configure Security in Project Settings.
(D) In Azure Active Directory, configure conditional access.
Answer : D
NO.20 You are automating the testing process for your company.You need to automate UI testing of a web application.Which framework should you use?
(A) JaCoco
(B) Selenium
(C) Xamarin.UITest
(D) Microsoft.CodeAnalysis
Answer : B
NO.21 You have an Azure DevOps organization named Contoso, an Azure DevOps project named Project1, an Azure subscription named Sub1, and an Azure key vault named vault1.You need to ensure that you can reference the values of the secrets stored in vault1 in all the pipelines of Project1. The solution must prevent the values from being stored in the pipelines.What should you do?
(A) Create a variable group in Project1.
(B) Add a secure file to Project1.
(C) Modify the security settings of the pipelines.
(D) Configure the security policy of Contoso.
Answer : A
NO.22 Your team uses an agile development approach.You need to recommend a branching strategy for the team's Git repository. The strategy must meet the following requirements.Provide the ability to work on multiple independent tasks in parallel.Ensure that checked-in code remains in a releasable state always.Ensure that new features can be abandoned at any time.Encourage experimentation.What should you recommend?
(A) a single long-running branch
(B) multiple long-running branches
(C) a single fork per team member
(D) a single-running branch with multiple short-lived topic branches
Answer : D
NO.23 Your company has a project in Azure DevOps for a new web application.The company identifies security as one of the highest priorities.You need to recommend a solution to minimize the likelihood that infrastructure credentials will be leaked.What should you recommend?
(A) Add a Run Inline Azure PowerShell task to the pipeline.
(B) Add a PowerShell task to the pipeline and run Set-AzureKeyVaultSecret.
(C) Add a Azure Key Vault task to the pipeline.
(D) Add Azure Key Vault references to Azure Resource Manger templates.
Answer : B
NO.24 You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:The builds must access an on-premises dependency management system.The build outputs must be stored as Server artifacts in Azure DevOps.The source code must be stored in a Git repository in Azure DevOps.Solution: Configure an Octopus Tentacle on an on-premises machine. Use the Package Application task in the build pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.25 You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:The builds must access an on-premises dependency management system.The build outputs must be stored as Server artifacts in Azure DevOps.The source code must be stored in a Git repository in Azure DevOps.Solution: Install and configure a self-hosted build agent on an on-premises machine. Configure the build pipeline to use the Default agent pool. Include the JavaTool Installer task in the build pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.26 You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:The builds must access an on-premises dependency management system.The build outputs must be stored as Server artifacts in Azure DevOps.The source code must be stored in a Git repository in Azure DevOps.Solution: Configure the build pipeline to use a Hosted VS 2017 agent pool. Include the Java Tool Installer task in the build pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.27 You are designing the development process for your company.You need to recommend a solution for continuous inspection of the company's code base to locate common code patterns that are known to be problematic.What should you include in the recommendation?
(A) Microsoft Visual Studio test plans
(B) Gradle wrapper scripts
(C) SonarCloud analysis
(D) the JavaScript task runner
Answer : C
NO.28 Your company builds a multi-tier web application.You use Azure DevOps and host the production application on Azure virtual machines.Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.You need to create a staging environment in Azure that meets the following requirements:Minimizes the cost of Azure hostingProvisions the virtual machines automaticallyUses the custom Azure Resource Manager template to provision the virtual machinesWhat should you do?
(A) In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
(B) In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
(C) From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
(D) In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answer : D
NO.29 You need to recommend an integration strategy for the build process of a Java application. The solution must meet the following requirements:The builds must access an on-premises dependency management system.The build outputs must be stored as Server artifacts in Azure DevOps.The source code must be stored in a Git repository in Azure DevOps.Solution: Configure the build pipeline to use a Hosted Ubuntu agent pool. Include the Java Tool Installer task in the build pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.30 Your company has a hybrid cloud between Azure and Azure Stack.The company uses Azure DevOps for its full CI/CD pipelines. Some applications are built by using Erlang and Hack.You need to ensure that Erlang and Hack are supported as part of the build strategy across the hybrid clouThe solution must minimize management overhead.What should you use to execute the build pipeline?
(A) a Microsoft-hosted agent
(B) Azure DevOps self-hosted agents on Azure DevTest Labs virtual machines.
(C) Azure DevOps self-hosted agents on Hyper-V virtual machines
(D) Azure DevOps self-hosted agents on virtual machines that run on Azure Stack
Answer : D
NO.31 You need to recommend a Docker container build strategy that meets the following requirements:Minimizes image sizesMinimizes the security surface area of the final imageWhat should you include in the recommendation?
(A) multi-stage builds
(B) PowerShell Desired State Configuration (DSC)
(C) Docker Swarm
(D) single-stage builds
Answer : A
NO.32 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.)01 FROM microsoft/dotnet:2.1-sdk02 COPY ./03 RUN dotnet publish -c Release -o out04 FROM microsoft/dotnet:2.1-sdk05 COPY -fromF0 /out /06 WORKDIR /07 ENTRYPOINT ["dotnet", "appl.dll"] You need to ensure that the image is as small as possible when the image is built.Which line should you modify in the file?
(A) 1
(B) 3
(C) 4
(D) 7
Answer : A
NO.33 You are developing an open source solution that uses a GitHub repository.You create a new public project in Azure DevOps.You plan to use Azure Pipelines for continuous builThe solution will use the GitHub Checks API.Which authentication type should you use?
(A) OAuth
(B) GitHub App
(C) a personal access token
(D) SAML
Answer : B
NO.34 Your company has a project in Azure DevOps for a new web application.You need to ensure that when code is checked in, a build runs automatically.Solution: From the Continuous deployment trigger settings of the release pipeline, you enable the Pull request trigger setting.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.35 Your company has a project in Azure DevOps for a new web application.You need to ensure that when code is checked in, a build runs automatically.Solution: From the Pre-deployment conditions settings of the release pipeline, you select After stage.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.36 Your company has a project in Azure DevOps for a new web application.You need to ensure that when code is checked in, a build runs automatically.Solution: From the Pre-deployment conditions settings of the release pipeline, you select Batch changes while a build is in progress.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.37 Your company has a project in Azure DevOps for a new web application.You need to ensure that when code is checked in, a build runs automatically.Solution: From the Triggers tab of the build pipeline, you select Enable continuous integration.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.38 You have a project in Azure DevOps. You have an Azure Resource Group deployment project in Microsoft Visual Studio that is checked in to the Azure DevOps project.You need to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The solution must minimize administrative effort.Which task type should you include in the solution?
(A) Azure Cloud Service Deployment
(B) Azure RM Web App Deployment
(C) Azure PowerShell
(D) Azure App Service Manage
Answer : C
NO.39 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 quality of the Java solution.Which task types should you add to the build pipeline?
(A) Chef
(B) Gradle
(C) Octopus
(D) Gulp
Answer : B
NO.40 You have an Azure DevOps organization named Contoso and an Azure DevOps project named Project1.You plan to use Microsoft-hosted agents to build container images that will host full Microsoft .NET Framework apps in a YAML pipeline in Project1.What are two possible virtual machine images that you can use for the Microsoft-hosted agent pool? Each correct answer presents a complete solution.
(A) vs2017-win2016
(B) ubuntu-16.04
(C) win1803
(D) macOS-10.13
(E) vs.2015-win2012r2
Answer : A;B
NO.41 Your company has a project in Azure DevOps.You need to ensure that when there are multiple builds pending deployment, only the most recent build is deployed.What should you use?
(A) deployment conditions
(B) deployment queue settings
(C) release gates
(D) pull request triggers
Answer : B
NO.42 Your company develops a client banking application that processes a large volume of data.Code quality is an ongoing issue for the company. Recently, the code quality has deteriorated because of an increase in time pressure on the development team.You need to implement static code analysis.During which phase should you use static code analysis?
(A) integration testing
(B) staging
(C) production release
(D) build
Answer : A
NO.43 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 quality of the Java solution.Which task types should you add to the build pipeline?
(A) Grunt
(B) Chef
(C) Maven
(D) Gulp
Answer : C
NO.44 You have 50 Node.js-based projects that you scan by using WhiteSource. Each project includes Package.json, Package-lock.json, and Npm-shrinkwrap.json files.You need to minimize the number of libraries reports by WhiteSource to only the libraries that you explicitly reference.What should you do?
(A) Configure the File System Agent plug-in.
(B) Add a devDependencies section to Package-lock.json.
(C) Configure the Artifactory plug-in.
(D) Delete Package-lock.json.
Answer : B
NO.45 Your company deploys applications in Docker containers.You want to detect known exploits in the Docker images used to provision the Docker containers.You need to integrate image scanning into the application lifecycle. The solution must expose the exploits as early as possible during the application lifecycle.What should you configure?
(A) a task executed in the continuous integration pipeline and a scheduled task that analyzes the image registry
(B) manual tasks performed during the planning phase and the deployment phase
(C) a task executed in the continuous deployment pipeline and a scheduled task against a running production container
(D) a task executed in the continuous integration pipeline and a scheduled task that analyzes the production container
Answer : A
NO.46 Your company uses Azure DevOps for the build pipelines and deployment pipelines of Java-based projects.You need to recommend a strategy for managing technical debt.Which two actions should you include in the recommendation? Each correct answer presents part of the solution.
(A) Configure post-deployment approvals in the deployment pipeline.
(B) Configure pre-deployment approvals in the deployment pipeline.
(C) Integrate Azure DevOps and SonarQube.
(D) Integrate Azure DevOps and Azure DevTest Labs.
Answer : B;C
NO.47 You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:Two resource groupsFour Azure virtual machines in one resource groupTwo Azure SQL databases in other resource groupYou need to recommend a solution to deploy the resources.Solution: Create a main template that will deploy the resources in one resource group and a nested template that will deploy the resources in the other resource group.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.48 You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:Two resource groupsFour Azure virtual machines in one resource groupTwo Azure SQL databases in other resource groupYou need to recommend a solution to deploy the resources.Solution: Create a main template that has two linked templates, each of which will deploy the resources in its respective group.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.49 Your company has a project in Azure DevOps for a new web application.The company uses ServiceNow for change management.You need to ensure that a change request is processed before any components can be deployed to the production environment.What are two ways to integrate ServiceNow into the Azure DevOps release pipeline? Each correct answer presents a complete solution.
(A) Define a deployment control that invokes the ServiceNow REST API.
(B) Define a pre-deployment gate before the deployment to the Prod stage.
(C) Define a deployment control that invokes the ServiceNow SOAP API.
(D) Define a post-deployment gate after the deployment to the QA stage.
Answer : B;D
NO.50 You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.You have a policy stating that approvals must occur within eight hours.You discover that deployment fail if the approvals take longer than two hours.You need to ensure that the deployments only fail if the approvals take longer than eight hours.Solution: From Post-deployment conditions, you modify the Time between re-evaluation of gates option.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.51 You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.You have a policy stating that approvals must occur within eight hours.You discover that deployment fail if the approvals take longer than two hours.You need to ensure that the deployments only fail if the approvals take longer than eight hours.Solution: From Pre-deployment conditions, you modify the Time between re-evaluation of gates option.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.52 You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.You have a policy stating that approvals must occur within eight hours.You discover that deployment fail if the approvals take longer than two hours.You need to ensure that the deployments only fail if the approvals take longer than eight hours.Solution: From Pre-deployment conditions, you modify the Timeout setting for pre-deployment approvals.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.53 You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:Two resource groupsFour Azure virtual machines in one resource groupTwo Azure SQL databases in other resource groupYou need to recommend a solution to deploy the resources.Solution: Create two standalone templates, each of which will deploy the resources in its respective group.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.54 You plan to create a release pipeline that will deploy Azure resources by using Azure Resource Manager templates. The release pipeline will create the following resources:Two resource groupsFour Azure virtual machines in one resource groupTwo Azure SQL databases in other resource groupYou need to recommend a solution to deploy the resources.Solution: Create a single standalone template that will deploy all the resources.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.55 You have an approval process that contains a condition. The condition requires that releases be approved by a team leader before they are deployed.You have a policy stating that approvals must occur within eight hours.You discover that deployment fail if the approvals take longer than two hours.You need to ensure that the deployments only fail if the approvals take longer than eight hours.Solution: From Post-deployment conditions, you modify the Timeout setting for post-deployment approvals.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.56 You have an Azure DevOps project.Your build process creates several artifacts.You need to deploy the artifacts to on-premises servers.Solution: You deploy a Kubernetes cluster on-premises. You deploy a Helm agent to the cluster. You add a Download Build Artifacts task to the deployment pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.57 You have an Azure DevOps project.Your build process creates several artifacts.You need to deploy the artifacts to on-premises servers.Solution: You deploy a Docker build to an on-premises server. You add a Download Build Artifacts task to the deployment pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.58 You have an Azure DevOps project.Your build process creates several artifacts.You need to deploy the artifacts to on-premises servers.Solution: You deploy an Azure self-hosted agent to an on-premises server. You add a Copy and Publish Build Artifacts task to the deployment pipeline.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.59 Your company hosts a web application in Azure. The company uses Azure Pipelines for the build and release management of the application.Stakeholders report that the past few releases have negatively affected system performance.You configure alerts in Azure Monitor.You need to ensure that new releases are only deployed to production if the releases meet defined performance baseline criteria in the staging environment first.What should you use to prevent the deployment of releases that fall to meet the performance baseline?
(A) an Azure Scheduler job
(B) a trigger
(C) a gate
(D) an Azure function
Answer : C
NO.60 You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure SQL database named DB1.You need to create a release pipeline that uses the Azure SQL Database Deployment task to update DB1.Which artifact should you deploy?
(A) a BACPAC
(B) a DACPAC
(C) an LDF file
(D) an MDF file
Answer : B
NO.61 You plan to share packages that you wrote, tested, validated, and deployed by using Azure Artifacts.You need to release multiple builds of each package by using a single feeThe solution must limit the release of packages that are in development.What should you use?
(A) local symbols
(B) views
(C) global symbols
(D) upstream sources
Answer : D
NO.62 Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.What should you use?
(A) Microsoft Visual SourceSafe
(B) PDM
(C) WhiteSource
(D) OWASP ZAP
Answer : C
NO.63 Your company is concerned that when developers introduce open source libraries, it creates licensing compliance issues.You need to add an automated process to the build pipeline to detect when common open source libraries are added to the code base.What should you use?
(A) Microsoft Visual SourceSafe
(B) Code Style
(C) Black Duck
(D) Jenkins
(E) SourceGea
(F) OWASP ZAP
Answer : C
NO.64 Your company develops an app for iOS. All users of the app have devices that are members of a private distribution group in Microsoft Visual Studio App Center.You plan to distribute a new release of the app.You need to identify which certificate file you require to distribute the new release from App Center.Which file type should you upload to App Center?
(A) .cer
(B) .pfx
(C) .p12
(D) .pvk
Answer : C
NO.65 You have an application that consists of several Azure App Service web apps and Azure functions.You need to access the security of the web apps and the functions.Which Azure features can you use to provide a recommendation for the security of the application?
(A) Security & Compliance in Azure Log Analytics
(B) Resource health in Azure Service Health
(C) Smart Detection in Azure Application Insights
(D) Compute & apps in Azure Security Center
Answer : D
NO.66 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 Visual Studio App Center.What should you do?
(A) Request the Apple ID associated with the user of each device.
(B) Register the devices on the Apple Developer portal.
(C) Create an active subscription in App Center Test.
(D) Add the device owner to the organization in App Center.
Answer : B
NO.67 Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server2016.You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:Ensure that the virtual machines maintain a consistent configuration.Minimize administrative effort to configure the virtual machines.What should you include in the recommendation?
(A) Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows
(B) Deployment YAML and Azure pipeline deployment groups
(C) Azure Resource Manager templates and the Custom Script Extension for Windows
(D) Deployment YAML and Azure pipeline stage templates
Answer : C
NO.68 You manage a project in Azure DevOps.You need to prevent the configuration of the project from changing over time.Solution: Add a code coverage step to the build pipelines.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.69 You manage a project in Azure DevOps.You need to prevent the configuration of the project from changing over time.Solution: Implement Continuous Integration for the project.Does this meet the goal?
(A) Yes
(B) No
Answer : B
NO.70 You manage a project in Azure DevOps.You need to prevent the configuration of the project from changing over time.Solution: Implement Continuous Assurance for the project.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.71 Your company has a release pipeline in an Azure DevOps project.You plan to deploy to an Azure Kubernetes Services (AKS) cluster by using the Helm package and deploy task.You need to install a service in the AKS namespace for the planned deployment.Which service should you install?
(A) Azure Container Registry
(B) Chart
(C) Kubectl
(D) Tiller
Answer : D
NO.72 Your company uses ServiceNow for incident management.You develop an application that runs on Azure.The company needs to generate a ticket in ServiceNow when the application fails to authenticate.Which Azure Log Analytics solution should you use?
(A) Application Insights Connector
(B) Automation & Control
(C) IT Service Management Connector (ITSM)
(D) Insight & Analytics
Answer : C
NO.73 You use Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring.You need to write ad-hoc queries against the monitoring data.Which query language should you use?
(A) Azure Log Analytics
(B) PL/pgSQL
(C) PL/SQL
(D) Transact-SQL
Answer : A
NO.74 You have a multi-tier application that has an Azure Web Apps front end and an Azure SQL Database back end.You need to recommend a solution to capture and store telemetry datThe solution must meet the following requirements:Support using ad-hoc queries to identify baselines.Trigger alerts when metrics in the baseline are exceeded.Store application and database metrics in a central location.What should you include in the recommendation?
(A) Azure Event Hubs
(B) Azure SQL Database Intelligent Insights
(C) Azure Application Insights
(D) Azure Log Analytics
Answer : D
NO.75 Your company creates a web application.You need to recommend a solution that automatically sends to Microsoft Teams a daily summary of the exceptions that occur in the application.Which two Azure services should you recommend? Each correct answer presents part of the solution.
(A) Azure Logic Apps
(B) Azure Pipelines
(C) Microsoft Visual Studio App Center
(D) Azure DevOps Project
(E) Azure Application Insights
Answer : A;E
NO.76 Your company is building a mobile app that targets Android and iOS devices.Your team uses Azure DevOps to manage all work items and release cycles.You need to recommend a solution to perform the following tasks:Collect crash reports for issue analysis.Distribute beta releases to your testers.Get user feedback on the functionality of new apps.What should you include in the recommendation?
(A) the Microsoft Test & Feedback extension
(B) Microsoft Visual Studio App Center integration
(C) Azure Application Insights widgets
(D) Jenkins integration
Answer : A
NO.77 You have an Azure DevOps project named Project1 and an Azure subscription named Sub1. Sub1 contains an Azure virtual machine scale set named VMSS1.VMSS1 hosts a web application named WebApp1. WebApp1 uses stateful sessions.The WebApp1 installation is managed by using the Custom Script extension. The script resides in an Azure Storage account named sa1.You plan to make a minor change to a UI element of WebApp1 and to gather user feedback about the change.You need to implement limited user testing for the new version of WebApp1 on VMSS1.Which three actions should you perform? Each correct answer presents part of the solution.
(A) Modify the load balancer settings of VMSS1.
(B) Redeploy VMSS1.
(C) Upload a custom script file to sa1.
(D) Modify the Custom Script extension settings of VMSS1.
(E) Update the configuration of a virtual machine in VMSS1.
Answer : B;C;D
NO.78 Your company builds a multi-tier web application.You use Azure DevOps and host the production application on Azure virtual machines.Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.You need to create a staging environment in Azure that meets the following requirements:Minimizes the cost of Azure hostingProvisions the virtual machines automaticallyUses the custom Azure Resource Manager template to provision the virtual machinesWhat should you do?
(A) In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
(B) In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
(C) From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
(D) In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answer : D
NO.79 You are automating the build process for a Java-based application by using Azure DevOps.You need to add code coverage testing and publish the outcomes to the pipeline.What should you use?
(A) Cobertura
(B) Bullseye Coverage
(C) MSTest
(D) Coverlet
Answer : A
NO.80 Your company builds a multi-tier web application.You use Azure DevOps and host the production application on Azure virtual machines.Your team prepares an Azure Resource Manager template of the virtual machine that you will use to test new features.You need to create a staging environment in Azure that meets the following requirements:Minimizes the cost of Azure hostingProvisions the virtual machines automaticallyUses the custom Azure Resource Manager template to provision the virtual machinesWhat should you do?
(A) In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group.
(B) In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services.
(C) From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group.
(D) In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
Answer : D
NO.81 You plan to use a NuGet package in a project in Azure DevOps. The NuGet package is in a feed that requires authentication.You need to ensure that the project can restore the NuGet package automatically.What should the project use to automate the authentication?
(A) an Azure Automation account
(B) an Azure Artifacts Credential Provider
(C) an Azure Active Directory (Azure AD) account that has multi-factor authentication (MFA) enabled
(D) an Azure Active Directory (Azure AD) service principal
Answer : B
NO.82 You create a Microsoft ASP.NET Core application.You plan to use Azure Key Vault to provide secrets to the application as configuration data.You need to create a Key Vault access policy to assign secret permissions to the application. The solution must use the principle of least privilege.Which secret permissions should you use?
(A) List only
(B) Get only
(C) Get and List
Answer : B
NO.83 You are designing an Azure DevOps strategy for your company's development team.You suspect that the team's productivity is low due to accumulate technical debt.You need to recommend a metric to assess the amount of the team's technical debt.What should you recommend?
(A) the number of code modules in an application
(B) the number of unit test failures
(C) the percentage of unit test failures
(D) the percentage of overall time spent on rework
Answer : D
NO.84 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 libraries comply with your company's licensing standards.Which service should you use?
(A) NuGet
(B) Maven
(C) Black Duck
(D) Helm
Answer : C
NO.85 Your company has a project in Azure DevOps for a new application. The application will be deployed to several Azure virtual machines that run Windows Server2016.You need to recommend a deployment strategy for the virtual machines. The strategy must meet the following requirements:Ensure that the virtual machines maintain a consistent configuration.Minimize administrative effort to configure the virtual machines.What should you include in the recommendation?
(A) Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows
(B) Deployment YAML and Azure pipeline deployment groups
(C) Azure Resource Manager templates and the Custom Script Extension for Windows
(D) Deployment YAML and Azure pipeline stage templates
Answer : C
NO.86 You are developing an iOS application by using Azure DevOps.You need to test the application manually on 10 devices without releasing the application to the public.Which two actions should you perform? Each correct answer presents part of the solution.
(A) Create a Microsoft Intune device compliance policy.
(B) Deploy a certificate from an internal certification authority (CA) to each device.
(C) Register the application in the iTunes store.
(D) Onboard the devices into Microsoft Intune.
(E) Distribute a new release of the application.
(F) Register the IDs of the devices in the Apple Developer portal.
Answer : B;F
NO.87 You have a multi-tier application that has an Azure Web Apps front end and an Azure SQL Database back end.You need to recommend a solution to capture and store telemetry datThe solution must meet the following requirements:Support using ad-hoc queries to identify baselines.Trigger alerts when metrics in the baseline are exceeded.Store application and database metrics in a central location.What should you include in the recommendation?
(A) Azure Event Hubs
(B) Azure SQL Database Intelligent Insights
(C) Azure Application Insights
(D) Azure Log Analytics
Answer : D
NO.88 Your company has a project in Azure DevOps for a new web application.The company uses ServiceNow for change management.You need to ensure that a change request is processed before any components can be deployed to the production environment.What are two ways to integrate ServiceNow into the Azure DevOps release pipeline? Each correct answer presents a complete solution.
(A) Define a deployment control that invokes the ServiceNow REST API.
(B) Define a pre-deployment gate before the deployment to the Prod stage.
(C) Define a deployment control that invokes the ServiceNow SOAP API.
(D) Define a post-deployment gate after the deployment to the QA stage.
Answer : B;D
NO.89 Your company has a project in Azure DevOps for a new web application.You need to ensure that when code is checked in, a build runs automatically.Solution: From the Triggers tab of the build pipeline, you select Enable continuous integration.Does this meet the goal?
(A) Yes
(B) No
Answer : A
NO.90 You are automating the build process for a Java-based application by using Azure DevOps.You need to add code coverage testing and publish the outcomes to the pipeline.What should you use?
(A) Cobertura
(B) Bullseye Coverage
(C) MSTest
(D) Coverlet
Answer : D