option
Questions
ayuda
daypo
search.php

ERASED TEST, YOU MAY BE INTERESTED ON az 400

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
az 400

Description:
100 pytje-P3

Author:
Olsjan
Other tests from this author

Creation Date: 13/03/2025

Category: Others

Number of questions: 100
Share the Test:
New CommentNuevo Comentario
No comments about this test.
Content:
HOTSPOT - You are designing YAML-based Azure pipelines for the apps shown in the following table You need to configure the YAML strategy value for each app. The solution must minimize app downtime. Which value should you configure for each app? App1: canary App1: rolling App1: runonce App2: canary App2: rolling App2: runonce.
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 the principle of least privilege. To which security group should you add the project manager? Reader Project Collection Administrators Project Administrators Contributor.
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 Server 2019. 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? Azure Resource Manager templates and the PowerShell Desired State Configuration (DSC) extension for Windows Deployment YAML and Azure pipeline deployment groups Azure Resource Manager templates and the Custom Script Extension for Windows Deployment YAML and Azure pipeline stage templates .
You have an Azure DevOps project that uses many package feeds. You need to simplify the project by using a single feed that stores packages produced by your company and packages consumed from remote feeds. The solution must support public feeds and authenticated feeds. What should you enable in DevOps? Universal Packages upstream sources views in Azure Artifacts a symbol server.
DRAG DROP - Your company has two virtual machines that run Linux in a third-party public cloud. You plan to use the company's Azure Automation State Configuration implementation to manage the two virtual machines and detect configuration drift. You need to onboard the Linux virtual machines. You install PowerShell Desired State Configuration (DSC) on the virtual machines, and then run register.py. Which three actions should you perform next in sequence? Create a DSC metaconfiguration Copy the metaconfiguration to the virtual machines Add the virtual machines as DSC nodes in Azure Automation Install Windows Management Framework 5.1 on the virtual machines From the virtual machines run setdsclocalconfigurationmanager.py.
You use a Git repository in Azure Repos to manage the source code of a web application. Developers commit changes directly to the default branch. You need to implement a change management procedure that meets the following requirements: ✑ The default branch must be protected, and new changes must be built in the feature branches first. ✑ Changes must be reviewed and approved by at least one release manager before each merge. ✑ Changes must be brought into the default branch by using pull requests. What should you configure in Azure Repos? branch policies of the default branch Services in Project Settings Deployment pools in Project Settings branch security of the default branch.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your company uses Azure DevOps to manage the build and release processes for applications. You use a Git repository for applications source control. You need to implement a pull request strategy that reduces the history volume in the master branch. Solution: You implement a pull request strategy that uses fast-forward merges. Does this meet the goal? Yes No.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your company uses Azure DevOps to manage the build and release processes for applications. You use a Git repository for applications source control. You need to implement a pull request strategy that reduces the history volume in the master branch. Solution: You implement a pull request strategy that uses squash merges. Does this meet the goal? Yes No.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your company uses Azure DevOps to manage the build and release processes for applications. You use a Git repository for applications source control. You need to implement a pull request strategy that reduces the history volume in the master branch. Solution: You implement a pull request strategy that uses an explicit merge. Does this meet the goal? Yes No.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen. Your company uses Azure DevOps to manage the build and release processes for applications. You use a Git repository for applications source control. You need to implement a pull request strategy that reduces the history volume in the master branch. Solution: You implement a pull request strategy that uses a three-way merge. Does this meet the goal? Yes No.
You need to recommend a Docker container build strategy that meets the following requirements: ✑ Minimizes image sizes ✑ Minimizes the security surface area of the final image What should you include in the recommendation? multi-stage builds PowerShell Desired State Configuration (DSC) Docker Swarm single-stage builds.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.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 Batch changes while a build is in progress. Does this meet the goal? Yes No.
HOTSPOT - You need to deploy Azure Kubernetes Service (AKS) to host an application. The solution must meet the following requirements: ✑ Containers must only be published internally. ✑ AKS clusters must be able to create and manage containers in Azure. What should you use for each requirement? Containers must only be published internally: Azure Container Instances Containers must only be published internally: Azure Container Registry Containers must only be published internally: Dockerfile AKS clusters must be able to create and manage containers in Azure: An Azure Active Directory (Azure AD) group AKS clusters must be able to create and manage containers in Azure: An Azure Automation account AKS clusters must be able to create and manage containers in Azure: An Azure service principal.
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? Configure the File System Agent plug-in Add a devDependencies section to Package-lock.json Configure the Artifactory plug-in Delete Package-lock.json.
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 task executed in the continuous integration pipeline and a scheduled task that analyzes the image registry manual tasks performed during the planning phase and the deployment phase a task executed in the continuous deployment pipeline and a scheduled task against a running production container a task executed in the continuous integration pipeline and a scheduled task that analyzes the production container.
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 cloud. The solution must minimize management overhead.What should you use to execute the build pipeline? a Microsoft-hosted agent Azure DevOps self-hosted agents on Azure DevTest Labs virtual machines Azure DevOps self-hosted agents on Hyper-V virtual machines Azure DevOps self-hosted agents on virtual machines that run on Azure Stack.
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 DevOps to control the build process on the build server by using a self-hosted agent. You need to implement the self-hosted agent. You download and install the agent on the build server. Which two actions should you perform next? From Azure, create a shared access signature (SAS) From the build server, create a certificate, and then upload the certificate to Azure Storage. From the build server, create a certificate, and then upload the certificate to Azure Key Vault From DevOps, create a personal access token (PAT) From the build server, run config.cmd.
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 Task1. Task1 will authenticate by using an Azure AD service principal.Which three values should you configure for Task1? the tenant ID the subscription ID the client secret the app ID the object ID.
DRAG DROP - 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. You need to ensure that the virtual machines always have the same Windows feature installed. Which three actions should you perform in sequence? Configure the DSC extension on the virtual machines Create a YAML configuration file Load the file to Azure Blob storage Configure the Custom Script Extension on the virtual machines Load the file to Azure Files Create a PowerShell configuration file.
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 should you use for the inline testing? a single stage Dockerfile an Azure Kubernetes Service (AKS) pod a multi-stage Dockerfile a Docker Compose file.
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? the number of code modules in an application the number of unit test failures the percentage of unit test failures the percentage of overall time spent on rework.
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 build. The solution will use the GitHub Checks API. Which authentication type should you use? OpenID GitHub App a personal access token (PAT) SAML.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.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? Yes No.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.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? Yes No.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.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? Yes No.
HOTSPOT - You company uses a Git source-code repository. You plan to implement GitFlow as a workflow strategy. You need to identify which branch types are used for production code and preproduction code in the strategy. Which branch type should you identify for each code type? Production code: Master Production code: Feature Production code: Develop Preproduction code: Master Preproduction code: Feature Preproduction code: Develop.
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 complete. You need to reduce the time it takes to execute the build pipeline. Which two actions should you perform? Move to a blue/green deployment pattern Create a deployment group Increase the number of parallel jobs Reduce the size of the repository Create an agent pool.
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 successfully if the third-party applications are unavailable. What should you do? Configure the build pipeline to use parallel jobs Configure flaky tests Increase the test pass percentage Add the Requirements quality widget to your dashboard.
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? deployment conditions deployment queue settings release gates pull request triggers.
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? integration testing staging production release build.
You are developing an application. The application source has multiple branches. You make several changes to a branch used for experimentation. You need to update the main branch to capture the changes made to the experimentation branch and override the history of the Git repository.Which Git option should you use? Rebase Fetch Merge Push.
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 ACR1. Image1 uses a base image stored in Docker Hub. You need to ensure that Image1 is updated automatically whenever the base image is updated.What should you do? Enable the Azure Event Grid resource provider and subscribe to registry events Add a Docker Hub service connection to Azure Pipelines Create and run an Azure Container Registry task Create a service hook in Project1.
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 feed. The solution must limit the release of packages that are in development.What should you use? local symbols views global symbols upstream sources.
You have a project in Azure DevOps named Project1. Project1 contains a build pipeline named Pipe1 that builds an application named App1.You have an agent pool named Pool1 that contains a Windows Server 2019-based self-hosted agent. Pipe1 uses Pool1. You plan to implement another project named Project2. Project2 will have a build pipeline named Pipe2 that builds an application named App2.App1 and App2 have conflicting dependencies. You need to minimize the possibility that the two build pipelines will conflict with each other. The solution must minimize infrastructure costs. What should you do? Add another self-hosted agent Add a Docker Compose task to the build pipelines Change the self-hosted agent to use Red Hat Enterprise Linux (RHEL) 8 Create two container jobs.
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? modifying group memberships adding users assigning entitlements procuring licenses.
HOTSPOT - Your company uses Team Foundation Server 2013 (TFS 2013). You plan to migrate to Azure DevOps. You need to recommend a migration strategy that meets the following requirements: ✑ Preserves the dates of Team Foundation Version Control changesets ✑ Preserves the changed dates of work items revisions Minimizes migration effort - ✑ Migrates all TFS artifacts What should you recommend? On the TFS server: Install the TFS Java SDK On the TFS server: Upgrade TFS to the most recent RTW release On the TFS server: Upgrade to the mos recent version of PowerShell Core To perform the migration: Copy the assets manually To perform the migration: Use public API-based tools To perform the migration: Use the TFS Database Import Service To perform the migration: Use the TFS Integration Platform.
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? Octopus Chef CocoaPods Gradle.
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? Maven CocoaPods Xcode Gulp.
You have an Azure subscription named Subscription1 that contains a custom Azure policy named Policy1. Policy1 is an audit policy that monitors naming convention compliance for the resources deployed to Subscription1. You have a pipeline named Pipeline1 in Azure Pipelines. Pipeline1 deploys Azure Resource Manager (ARM) resources to Subscription1. You need to ensure that the resources deployed by Pipeline1 comply with Policy1. What should you add to Pipeline1? a pre-deployment task that runs a security and compliance assessment a post-deployment task that runs a security and compliance assessment an ARM template deployment task to assign Policy1 to Subscription1 an ARM template deployment task to deploy Policy1 to Subscription1.
HOTSPOT - You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Server. You need to perform the following: ✑ Install Internet Information Services (IIS) on the virtual machines. ✑ Update the default home page of the IIS web server. How should you configure the DSC configuration file? Service WindowsFeature WindowsOptionalFeature WindowsProcess Archive File Package Script.
You have a project in Azure DevOps. You need to push notifications about pull requests to a Microsoft Teams channel. The solution must minimize development effort. What should you do? Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in the channel Use Azure Automation to connect to the Azure DevOps REST API and send messages to Teams Install the Azure Repos app for Teams and configure a subscription to receive notifications in the channel Use an Azure function to connect to the Azure DevOps REST API and send messages to Teams.
HOTSPOT - You are creating a YAML-based Azure pipeline to deploy an Azure Data Factory instance that has the following requirements: ✑ If a Data Factory instance exists already, the instance must be overwritten. ✑ No other resources in a resource group named Fabrikam must be affected. How should you complete the code? 'Create Or Update Resource Group' 'Select Resource Group' 'Start' 'Complete' 'Incremental' 'Validation Only'.
You have an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages. You need to configure Azure Artifacts to ensure that both the latest and pre-release versions of the packages are available for consumption. What should you do? Create two feed views named @prerelease and @release, Set @release as the default view. Configure a release pipeline that tags the packages as release after successful testing Create a feed view named @prerelease. Configure a release pipeline that tags the packages as release after successful testing Create two feed views named @prerelease and @default. Configure a release pipeline that promotes a package to the @default view after successful testing Create two feed views named @prerelease and @release. Set @release as the default view. Configure a release pipeline that promotes a package to the @release view after successful testing.
You have an Azure subscription that contains the resources shown in the following table Project produces npm packages that are published to Feed1. Feed1 is consumed by multiple projects. You need to ensure that only tested packages are available for consumption. The solution must minimize development effort. What should you do? Create a feed view named @release and set @release as the default view. After the npm packages test successfully, configure a release pipeline that promotes a package to the @release view Create a feed view named @release and set @release as the default view. After the npm packages test successfully, configure a release pipeline that tags the packages as release Create a feed view named @default. After the npm packages test successfully, configure a release pipeline that tags the packages as release Create a feed view named @default. After the npm packages test successfully, configure a release pipeline that promotes a package to the @default view.
Your company has an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages.You need to minimize the amount of disk space used by older packages in Azure Artifacts. What should you modify? the retention settings of the project’s release the retention settings of the project’s pipeline the retention settings of the project’s tests the retention settings of the company pipeline.
HOTSPOT - You manage the Git repository for a large enterprise application. You need to minimize the data size of the repository. How should you complete the commands? git gc: --aggressive git gc: --auto git gc: --force git gc: --no prune git: --merge git: --prune git: --rebase git: --reset.
DRAG DROP - You provision an Azure Kubernetes Service (AKS) cluster that has RBAC enabled. You have a Helm chart for a client application. You need to configure Helm and Tiller on the cluster and install the chart. Which three commands should you recommend be run in sequence? helm install kubectl create helm completion helm init helm serve.
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 hosting ✑ Provisions the virtual machines automatically ✑ Uses the custom Azure Resource Manager template to provision the virtual machines What should you do? In Azure Cloud Shell, run Azure CLI commands to create and delete the new virtual machines in a staging resource group In Azure DevOps, configure new tasks in the release pipeline to deploy to Azure Cloud Services From Azure Cloud Shell, run Azure PowerShell commands to create and delete the new virtual machines in a staging resource group In Azure DevOps, configure new tasks in the release pipeline to create and delete the virtual machines in Azure DevTest Labs.
DRAG DROP - You are implementing an Azure DevOps strategy for mobile devices using App Center. You plan to use distribution groups to control access to releases. You need to create the distribution groups shown in the following table Which type of distribution group should you use for each group? To answer, drag the appropriate group types to the correct locations. Each group type may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content. Private Public Shared.
HOTSPOT - You need to create deployment files for an Azure Kubernetes Service (AKS) cluster. The deployments must meet the provisioning storage requirements shown in the following table. Which resource type should you use for each deployment? To answer, select the appropriate options in the answer area Deployment 1: drive: secretso-store.csi.k8s.io Deployment 1: blobfuse-flexvol Deployment 1: provisioner: kubernetes.io/azure-disk Deployment 1: provisioner: kubernetes.io/azure-file Deployment 1: volume.beta.kubernetes.io/storage-provisioner Deployment 2: blobfuse-flexvol Deployment 2: provisioner: kubernetes.io/azure-disk Deployment 3: drive: secretso-store.csi.k8s.io Deployment 3: blobfuse-flexvol Deployment 3:volume.beta.kubernetes.io/storage-provisioner.
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 from an existing pull request. Later, you plan to merge the new branch and the target branch of the pull request.You need to use a pull request action to create the new branch. The solution must ensure that the branch uses only a portion of the code in the pull request. Which pull request action should you use? Set as default branch Approve with suggestions Cherry-pick Reactivate Revert.
DRAG DROP - 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 prevent Config.json from being committed to the source control whenever changes to the application are committed. Which three actions should you perform in sequence? Delete and recreate the repository Run the git reflog expire command Run the git add.gitignore command Add Config.json to the .gitignore file Run the git commit command.
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 need to recommend a compute type for the agent. The solution must minimize costs. What should you recommend? an Azure Kubernetes Service (AKS) cluster Azure Container Instances an Azure virtual machine scale set Azure virtual machines.
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? Azure Cloud Service Deployment Azure RM Web App Deployment Azure PowerShell Azure App Service Manage.
DRAG DROP - As part of your application build process, you need to deploy a group of resources to Azure by using an Azure Resource Manager template located on GitHub.Which three action should you perform in sequence? Set the template parameters Create a package Create a release pipeline Create a job agent Add an Azure Resource Group Deployment task.
You have an Azure DevOps project that contains a release pipeline and a Git repository. When a new code revision is committed to the repository, a build and release is triggered. You need to ensure that release information for the pipeline is added automatically to the work items associated to the Git commit. What should you do? Modify the Integrations options for the pipeline Modify the post-deployment conditions for the last stage of the pipeline Add an agentless job to the pipeline Modify the service hooks for the project.
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? Azure Container Registry Chart Kubectl Tiller.
DRAG DROP - Your company plans to deploy an application to the following endpoints: ✑ Ten virtual machines hosted in Azure ✑ Ten virtual machines hosted in an on-premises data center environment All the virtual machines have the Azure Pipelines agent. You need to implement a release strategy for deploying the application to the endpoints. What should you recommend using to deploy the application to the endpoints? A deployment group A management group A resource group Application roles.
You plan to use Terraform to deploy an Azure resource group from a Windows system. You need to install the required frameworks to support the planned deployment. Which two frameworks should you install? Vault Terratest Node.js Yeoman Tiller.
HOTSPOT - You use Azure Pipelines to manage the build and deployment of apps. You are planning the release strategies for a new app. You need to choose strategies for the following scenarios: Releases will be made available to users who are grouped by their tolerance for software faults. ✑ Code will be deployed to enable functionality that will be available in later releases of the app. ✑ When a new release occurs, the existing deployment will remain active to minimize recovery time if a return to the previous version is required.Which strategy should you choose for each scenario? Releases will be made available to users who are grouped by their tolerance for software faults: Progressive explosure Releases will be made available to users who are grouped by their tolerance for software faults: Blue/green Releases will be made available to users who are grouped by their tolerance for software faults: Feature flags Code will be deployed to enable functionality that will be available in later releases of the app: Progressive explosure Code will be deployed to enable functionality that will be available in later releases of the app: Blue/green Code will be deployed to enable functionality that will be available in later releases of the app: Feature flags When a new realease occurs the existing deployment will remain active to minimize recovery :Progressive explosure When a new realease occurs the existing deployment will remain active to minimize recovery :Blue/green When a new realease occurs the existing deployment will remain active to minimize recovery :Feature flags.
DRAG DROP - You have a project in Azure DevOps. You need to associate an automated test to a test case. Which three actions should you perform in sequence? Debug the project Create a test project Create a work item Check in a project to the Azure DevOps repository Add the automated test to a build pipeline.
DRAG DROP - You have an Azure Kubernetes Service (AKS) cluster. You need to deploy an application to the cluster by using Azure DevOps. Which three actions should you perform in sequence? Create a service account in the cluster Create a service principal in Azure Active Directory(Azure AD) Add an Azure Function App for Container task to the deployment pipeline Add a Helm package and deploy a task to the deployment Add a Docker Compose task to the deployment pipeline Configure RBAC roles in the cluster.
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? Yes No.
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? Yes No.
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? Yes No.
DRAG DROP - You are defining release strategies for two applications as shown in the following table. Which release strategy should you use for each application? Blue/Green deployment Canary deployment Rolling deployment.
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. The build process requires access to resource files located in an on-premises file system. You frequently run the jobs on five self-hosted agents but experience long build times and frequently queued builds. You need to minimize the number of queued builds and the time it takes to run the builds.What should you do? Configure the pipelines to use the Microsoft-hosted agents Register additional self-hosted agents Purchase self-hosted parallel jobs Purchase Microsoft-hosted parallel jobs.
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 BACPAC a DACPAC an LDF file an MDF file.
You have a project in Azure DevOps. You plan to create a build pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secrets stored in Azure Key Vault.You need to ensure that you can dynamically generate the resource ID of the key vault during template deployment.What should you include in the template? 'MicrosoftKeyVault/vaults' 'MicrosoftResources/deployments' 'Microsoft Subscription/subscriptions' 'deployment' 'template' 'templateLink'.
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? Define a deployment control that invokes the ServiceNow REST API Define a pre-deployment gate before the deployment to the Prod stage Define a deployment control that invokes the ServiceNow SOAP API Define a post-deployment gate after the deployment to the QA stage.
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 access to an application named App2 that is currently in development.You need to ensure that you can deploy the update to App1 before App2 becomes available. You must be able to enable the service in App1 once App2 is deployed.What should you do? Implement a feature flag Create a fork in the build Create a branch in the build Implement a branch policy.
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? Request the Apple ID associated with the user of each device Register the devices on the Apple Developer portal Create an active subscription in App Center Test Add the device owner to the organization in App Center.
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? Create a Microsoft Intune device compliance policy Deploy a certificate from an internal certification authority (CA) to each device Register the application in the iTunes store Onboard the devices into Microsoft Intune Distribute a new release of the application Register the IDs of the devices in the Apple Developer portal.
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? Select Register devices and sign my app Create an active subscription in App Center Test Create an unsigned build Add the device owner to the collaborators group.
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? a deployment group a Microsoft-hosted agent service hooks a self-hosted agent an External Git service connection .
HOTSPOT - Your company uses Git as a source code control system for a complex app named App1. You plan to add a new functionality to App1. You need to design a branching model for the new functionality. Which branch lifetime and branch time should you use in the branching model? Branch lifetime:Long-lived Branch lifetime:Short-lived Branch type:Master Branch type:Feature Branch type:Integration.
You have a project in Azure DevOps. You plan to deploy a self-hosted agent by using an unattended configuration script. Which two values should you define in the configuration script? authorization credentials the project name the deployment group name the organization URL the agent pool name.
HOTSPOT - You are using PowerShell to administer Azure Log Analytics workspaces. You need to list the available workspaces and their properties. How should you complete the command? Get-AzResource Get-AzResourceGroup Get-AzResourceProvider -ResourceGroupName -ResourceID -ResourceType.
You have Azure Pipelines and GitHub integrated as a source code repository. The build pipeline has continuous integration enabled. You plan to trigger an automated build whenever code changes are committed to the repository. You need to ensure that the system will wait until a build completes before queuing another build. What should you implement? path filters batch changes scheduled builds branch filters.
You are using GitHub as a source code repository. You create a client-side Git hook on the commit-msg event. The hook requires that each commit message contain a custom work item tag. You need to make a commit that does not have a work item tag. Which git commit parameter should you use? --squash --no-verify --message --no-post-rewrite.
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? Select Register devices and sign my app Create an active subscription in App Center Test Add the device owner to the organization in App Center Create an unsigned build.
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? Register the devices on the Apple Developer portal Add the device owner to the organization in App Center Create an unsigned build Add the device owner to the collaborators group.
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 an upstream source? npmjs.org PyPI Maven Central third-party trusted Python.
You have a GitHub repository that contains workflows. The workflows contain steps that execute predefined actions. Each action has one or more versions.You need to request the specific version of an action to execute.Which three attributes can you use to identify the version? the SHA-based hashes the tag the runner the branch the serial.
You have an Azure subscription that contains multiple Azure pipelines. You need to deploy a monitoring solution for the pipelines. The solution must meet the following requirements: ✑ Parse logs from multiple sources. ✑ Identify the root cause of issues. What advanced feature of a monitoring tool should you include in the solution? analytics synthetic monitoring directed monitoring Alert Management.
You use Azure Pipelines to build and test a React.js application. You have a pipeline that has a single job. You discover that installing JavaScript packages from npm takes approximately five minutes each time you run the pipeline. You need to recommend a solution to reduce the pipeline execution time. Solution: You recommend using pipeline artifacts. Does this meet the goal? Yes No.
You use GitHub for source control of .NET applications. You need to deploy a documentation solution that meets the following requirements: ✑ Documents will be written in Markdown as developers make code changes. ✑ Changes to the documents will trigger the recompilation of a static website. ✑ Users will access the documents from the static website. ✑ Documents will be stored in a GitHub repository. Which two tools can you use to compile the website? Word Press Jekyll DocFX caret Medium.
You have an on-premises app named App1 that accesses Azure resources by using credentials stored in a configuration file. You plan to upgrade App1 to use an Azure service principal. What is required for App1 to programmatically sign in to Azure Active Directory (Azure AD)? the application ID, a client secret, and the object ID a client secret, the object ID, and the tenant ID the application ID, a client secret, and the tenant ID the application ID, a client secret, and the subscription ID.
You have an Azure subscription that contains 50 virtual machines. You plan to manage the configuration of the virtual machines by using Azure Automation State Configuration. You need to create the Desired State Configuration (DSC) configuration files. How should you structure the code blocks? Node > Configuration > Resource Configuration > Resource > Node Resource > Configuration > Node Configuration > Node > Resource.
Your team uses Azure Pipelines to deploy applications. You need to ensure that when a failure occurs during the build or release process, all the team members are notified by using Microsoft Teams.The solution must minimize development effort.What should you do? Install the Azure Boards app for Teams and configure a subscription to receive notifications in a channel Use Azure Automation to connect to the Azure DevOps REST API and notify the team members Use an Azure function to connect to the Azure DevOps REST API and notify the team members Install the Azure Pipelines app for Teams and configure a subscription to receive notifications in a channel.
You have a project in Azure DevOps named Project1 that contains two environments named environment1 and environment2. When a new version of Project is released, the latest version is deployed to environment2, and the previous version is redeployed to environment1.You need to distribute users across the environments. The solution must meet the following requirements: • New releases must be available to only a subset of the users. • You must gradually increase the number of users that can access environment2. What should you use? VIP swaping web app deployment slots Azure Load Balancer Azure Traffic Manager.
DRAG DROP You are designing a versioning strategy for Git-based packages. You plan to use a Semantic Versioning (SemVer)-based strategy. You need to identify when to change the build version. What should you identify for each scenario? Major Minor Patch.
You use Calendar Versioning (CalVer) for code assets. You need to store an optional tag of beta as part of the version. Which part of the version should you use for the tag? minor major micro modifier.
You have a project in Azure DevOps named Project1. You need to ensure that all new pipelines in Project1 execute three specific tasks during pipeline execution. What should you create? a task group a JSON template a YAML template a PowerShell task.
You use Azure DevOps processes to build and deploy code. You need to compare how much time is spent troubleshooting issues found during development and how much time is spent troubleshooting issues found in released code.Which KPI should you use? defect escape rate unplanned work rate defect rate rework rate.
You have a project in Azure DevOps named Project1. You implement a Continuous Integration/Continuous Deployment (CI/CD) pipeline that uses PowerShell Desired State Configuration (DSC) to configure the application infrastructure.You need to perform a unit test and an integration test of the configuration before Project1 is deployed.What should you use? the PSScriptAnalyzer tool the Pester test framework the PSCodeHealth module the Test-DscConfiguration cmdlet.
You use Azure Repos to manage source code and Azure Pipelines to implement continuous integration and continuous deployment (CI/CD). You need to ensure that all comments on pull requests are resolved before the pull requests are included in a build. The solution must minimize administrative effort.What should you include in the solution? a custom action a post-deployment gate a branch policy a pre-deployment gate.
DRAG DROP - 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 they are merged: ✑ Committed code must compile successfully. ✑ Pull requests must have a Quality Gate status of Passed in SonarCloud. Which policy type should you configure for each requirement? A build policy A check-in policy A status policy.
DRAG DROP - 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 they are merged: ✑ Committed code must compile successfully. ✑ Pull requests must have a Quality Gate status of Passed in SonarCloud. Which policy type should you configure for each requirement? 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? 1 3 4 7.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.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? Yes No.
Report abuse