option
Questions
ayuda
daypo
search.php

ERASED TEST, YOU MAY BE INTERESTED ON AZ-400-DevOps

COMMENTS STATISTICS RECORDS
TAKE THE TEST
Title of test:
AZ-400-DevOps

Description:
100 pyetje-P4

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:
Your company makes use of Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring purposes. You have been tasked with analyzing the monitoring using ad-hoc queries. You need to utilize the correct query language. Solution: You use the Contextual Query Language (CQL). Does the solution meet the goal? Yes No.
Your company makes use of Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring purposes. You have been tasked with analyzing the monitoring using ad-hoc queries. You need to utilize the correct query language. Solution: You use the Transact-SQL. Does the solution meet the goal? Yes No.
Your company makes use of Azure SQL Database Intelligent Insights and Azure Application Insights for monitoring purposes. You have been tasked with analyzing the monitoring using ad-hoc queries. You need to utilize the correct query language. Solution: You use Azure Log Analytics. Does the solution meet the goal? Yes No.
You have a GitHub repository that contains the source code for an app named App1. You need to create process documentation for App1. The solution must include a diagram that displays the relationships between the phases ofApp1 as shown in the following exhibit. Failed flowChart Incomplete Processing sequenceDiagram stateDiagram Waiting.
You have a web app named App1 that uses Application Insights in Azure Monitor to store log data. App1 has users in multiple locations. You need to query App1 requests from London and Paris that return a 404 error. The solution must meet the following requirements: • Return the timestamp url, resultCode, and duration fiel • Only show requests made during the last hour. extend project select timestamp>= ago(1hr) timestamp -gt ago(1hr).
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 question sets might have more than one correct solution, while others might not have a correct solution.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.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 autoscalinYou have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1.You need to ensure that an email alert is generated whenever VMSS1 scales in or out.Solution: From Azure Monitor, configure the autoscale setting.Does this meet the goal? Yes No.
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 create an Azure logic app that will handle the email and follow up actions. Which type of trigger should you use to invoke the logic app? an HTTPWebhook trigger an HTTP trigger a Request trigger an ApiConnection trigger.
You have an Azure subscription that contains resources in several resource groups. You need to design a monitoring strategy that will provide a consolidated view. The solution must support the following requirements: ✑ Support role-based access control (RBAC) by using Azure Active Directory (Azure AD) identifie ✑ Include visuals from Azure Monitor that are generated by using the Kusto query language. ✑ Support documentation written in markdown. ✑ Use the latest data available for each visual. What should you use to create the consolidated view? Azure Monitor Microsoft Power BI Azure Data Explorer Azure dashboards.
You are building an ASP.NET Core application. You plan to create an application utilization baseline by capturing telemetry data. You need to add code to the application to capture the telemetry data. The solution must minimize the costs of storing the telemetry data. Which two actions should you perform? Add the <InitialSamplingPercentage>99</InitialSamplingPercentage> parameter to the ApplicationInsights.config file. From the code of the application, enable adaptive sampling From the code of the application, add Azure Application Insights telemetry Add the <MaxTelemetryItemsPerSecond>5</MaxTelemetryItemsPerSecond> parameter to the ApplicationInsights.config file From the code of the application, disable adaptive sampling.
You have an application named App1 that has a custom domain of app.contoso.com. You create a test in Azure Application Insights as shown in the following exhibit The test will execute- every 30 seconds at a random location The test will execute- every 30 seconds per location The test will execute- every five minutes at a random location The test will execute- every five minutes per location The test will pass if- App1 responds to an ICMP ping The test will pass if- the HTML of App1 and the HTML from URLs in <a> tags load The test will pass if- all the HTML,JavaScripts,and images of App1 load.
Your company has a project in Azure DevOps for a new web application. The company identifies security as one of the highest prioritie You need to recommend a solution to minimize the likelihood that infrastructure credentials will be leaked. What should you recommend? Add a Run Inline Azure PowerShell task to the pipeline Add a PowerShell task to the pipeline and run Set-AzureKeyVaultSecret Add an Azure Key Vault task to the pipeline Add Azure Key Vault references to Azure Resource Manger templates.
You create a Microsoft ASP.NET Core application. You plan to use Azure Key Vault to provide secrets to the application as configuration dat 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? List only Get only Get and List.
Your company has a project in Azure DevOps. You plan to create a release pipeline that will deploy resources by using Azure Resource Manager templates. The templates will reference secrets stored in Azure Key Vault. You need to recommend a solution for accessing the secrets stored in the key vault during deployments. The solution must use the principle of least privilege.What should you include in the recommendation? A Key Vault access policy A Key Vault advanced access policy RBAC.
Your company has an Azure subscription named Subscription1. Subscription1 is associated to an Azure Active Directory tenant named contoso.com. You need to provision an Azure Kubernetes Services (AKS) cluster in Subscription1 and set the permissions for the cluster by using RBAC roles that reference the identities in contoso.com. Which three objects should you create in sequence? a system-assigned managed identity a cluster an application registration in contoso.com an RBAC binding.
You manage build and release pipelines by using Azure DevOps. Your entire managed environment resides in Azure. You need to configure a service endpoint for accessing Azure Key Vault secrets. The solution must meet the following requirement ✑ Ensure that the secrets are retrieved by Azure DevOps. ✑ Avoid persisting credentials and tokens in Azure DevOps. How should you configure the service endpoint? Service connection type-Azure Resource Manager Service connection type-Generic service Service connection type-Team Foundation Server / Azure Pipelines service connection Authentication/authorization method for the connection-Azure Active Directory OAuth 2.0 Authentication/authorization method for the connection-Grant authorization Authentication/authorization method for the connection-Managed Service Identity Authentication.
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? Assign the Stakeholder access level to all users. In Azure Active Directory, configure risky sign-ins In Azure DevOps, configure Security in Project Settings In Azure Active Directory, configure conditional access.
You use GitHub Enterprise Server as a source code repository. You create an Azure DevOps organization named Contoso. In the Contoso organization, you create a project named Project1. You need to link GitHub commits, pull requests, and issues to the work items of Project1. The solution must use OAuth-based authentication.Which three actions should you perform in sequence? From Developer settings in GitHub Enterprise Server,register a new OAuth app From Project Settings in Azure DevOps,create a service hook subscription From Organization settings in Azure DevOps,connect to Azure Active Directory(Azure AD) From Project Settings in Azure DevOps,add a GitHub connection From Organization settings in Azure DevOps,add an OAuth configuration From Developer settings in GitHub Enterprise Server,generate a private key.
You are configuring an Azure DevOps deployment pipeline. The deployed application will authenticate to a web service by using a secret stored an Azure key vault.You need to use the secret in the deployment pipeline.Which three actions should you perform in sequence? Create a service principal in Azure Active Directory (Azure AD) Add an app registration in Azure Active Directory (Azure AD) Configure an access policy in the key vault Generate a self-signed certificate Add an Azure Resource Manager service connection to the pipeline Export a certificate from the key vault.
You have a project in Azure DevOps that has three teams as shown in the Teams exhibit. (Click the Teams tab.) NO-Web Team can delete Dash1 YES-Contoso Team can view Dash1 YES-Project administrators can create new dashboards.
You plan to use Azure Kubernetes Service (AKS) to host containers deployed from images hosted in a Docker Trusted Registry. You need to recommend a solution for provisioning and connecting to AKS. The solution must ensure that AKS is RBAC-enabled and uses a custom service principal.Which three commands should you recommend be run in sequence? az role assignment create az aks get-credentials az aks create az ad sp create-for-rbac kubectl create.
You have a project in Azure DevOps named Project1 that contains two Azure DevOps pipelines named Pipeline1 and Pipeline2. You need to ensure that Pipeline1 can deploy code successfully to an Azure web app named webapp1. The solution must ensure that Pipeline2 does not have permission to webapp1.Which three actions should you perform in sequence? Create a service principal in Azure Active Directory In Project1,create a service connection In Pipeline1,authorize the service connection Create a system-assigned managed identity in Azure Active Directory In Project1,configure permissions In Pipeline1,create a variable.
You need to increase the security of your team's development process. Which type of security tool should you recommend for each stage of the development process? To answer, drag the appropriate security tools to the correct stages. Each security tool 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. Penetration testing Static code analysis Threat modeling.
You have an Azure subscription that uses Azure Monitor and contains a Log Analytics workspace. You have an encryption key. You need to configure Azure Monitor to use the key to encrypt log dat Which five actions should you perform in sequence? Configure the key vault properties for the cluster Link the Log Analytics workspace to the cluster Grant the sstem-assigned managed identity Key permissions for the key vault Grant the system-assigned managed identity Certificate permissions for the key vault Create an Azure Monitor Logs dedicated cluster that has a system-assigned managed identity Create an Azure key vault and store the key.
You have an Azure Key Vault that contains an encryption key named key1. You plan to create a Log Analytics workspace that will store logging data. You need to encrypt the workspace by using key1. Which four actions should you perform in sequence? Link the workspace Register the Azure subscription to allow cluster creation Grant permissions to the key vault Create a Log Analytics Cluster Enable soft delete for the key vault.
You need to deploy a new project in Azure DevOps that has the following requirements: * The lead developer must be able to create repositories, manage permissions, manage policies, and contribute to the repository. * Developers must be able to contribute to the repository and create branches, but NOT bypass policies when pushing builds. * Project managers must only be able to view the repository. * The principle of least privilege must be used. You create a new Azure DevOps project team for each role. To which Azure DevOps groups should you add each team? Build Administrator Contributors Project Administrators Project Collection Administrators Project Collection Valid Users Readers.
Your company has a project in Azure DevOps named Project1. All the developers at the company have Windows 10 devices. You need to create a Git repository for Project1. The solution must meet the following requirements: • Support large binary file • Store binary files outside of the repositor • Use a standard Git workflow to maintain the metadata of the binary files by using commits to the reposit Which three actions should you perform in sequence on each developer’s device? Configure SSH key-based authentication Configure personal access token (PAT)-based authentication Perform a custom installation of Git for Windows that includes Git Virtual File System (GVFS) Configure Git Large File Storage (LFS) file tracking Perform a custom installation of Git for Windows that includes Git Large File Storage (LFS).
You are developing a full Microsoft .NET Framework solution that includes unit tests. You need to configure SonarQube to perform a code quality validation of the C# code as part of the build pipeline Which four tasks should you perform in sequence? Run Code Analysis Visual Studio Test Publish Build Artifacts Visual Studio Build Prepare Analysis Configuration.
You need to find and isolate shared code. The shared code will be maintained in a series of package Which three actions should you perform in sequence? Group the related components Assign ownership to each component group Create a dependency graph for the application Identify the mos common language used Rewrite the components in the most common language.
You are creating a NuGet package. You plan to distribute the package to your development team privately. You need to share the package and test that the package can be consumed. Which four actions should you perform in sequence? Create a new Azure Artifacts feed Configure a self-hosted agent Publish a package Install a package Connect to an Azure Artifacts feed.
You have a GitHub repository named repo1 that stores the code of an app named App1. You need deploy a workflow for repo1 by using GitHub Actions. The solution must meet the following requirement • Scan on pushes to the main branch. • Scan on pull requests to the main branch. • Scan on pull requests to any branch that has a prefix of releases • Scan all the files in the subdirectories of the src director • Exclude scanning of markdown file How should you complete the code? - '**/*.md' - '*.md' - 'release*' - 'releases/**' - 'src/*' - 'src/**'.
You have a GitHub repository that contains the code for an app named App1. App1 depends on a library of functions from a repository at https://github.com/contoso/afeed. You need to keep a clone of the afeed repository as a subdirectory of the App1 repository. How should you complete the Git command? add branch clone pull submodule.
You have a GitHub repository. You need to configure Dependabot dependency scanning. The solution must meet the following requirement • Automatically open a pull request to resolve an alert. • Automatically open a pull request when a dependency is updated. What should you enable for each requirement? Alerts A dependency graph Security updates Version updates.
You use Exabeam Fusion SIEM and the Azure cloud platform. You need to integrate Exabeam and Azure. The solution must use OAuth authentication. Which three actions should you perform in sequence? Upload a certificate Create a client secret Register an Exabeam application in Microsoft Azure Active Directory (Azure AD),part of Microsoft Entra Configure the Exabeam Azure cloud connector Configure API permissions.
You plan to use Azure Repos for all the projects. Which version control system should you use for each project? Git Perforce Subversion Team Foundation Version Control.
You need to complete the pipeline to configure OWASP ZAP for security testin Which five Azure CLI tasks should you add in sequence? Convert Report Format Build machine image Publish Test Results Destroy OWASP Container Call the Baseline Scan Docker CLI installer Download the file.
You have an Azure subscription that contains a resources group named RG1. RG1 contains the following resources: ✑ Four Azure virtual machines that run Windows Server and have Internet Information Services (IIS) installed. ✑ SQL Server on an Azure virtual machine. ✑ An Azure Load Balancer. You need to deploy an application to the virtual machines in RG1 by using Azure Pipelines. Which four actions should you perform in sequence? Create an agent pool Add the Puppet Agent extension to the virtual machines Add the Azure Pipelines Agent extension to the virtual machines Create a deployment group Execute the pipeline Add and configure a deployment group job for the pipeline.
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? vs2017-win2016 ubuntu-16.04 win1803 macOS-10.13 vs.2015-win2012r2.
You currently use JIRA, Jenkins, and Octopus as part of your DevOps processes. You plan to use Azure DevOps to replace these tools. Which Azure DevOps service should you use to replace each tool? JIRA- Boards JIRA- Build pipelines JIRA- Release pipelines JIRA- Repos JENKINS- Boards JENKINS- Build pipelines JENKINS- Release pipelines JENKINS- Repos OCTOPUS- Boards OCTOPUS- Release pipelines.
You have the Azure DevOps pipeline shown in the following exhibit.Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic. The pipeline has- 0 The pipeline has- 1 The pipeline has- 4 The pipeline has- 0 The pipeline has- 1 The pipeline has- 4.
You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Ser 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 are configuring a release pipeline in Azure DevOps as shown in the exhibi Use the drop-down menus to select the answer choice that answers each question based on the information presented in the graphic How many stages have triggers set ? - 1 How many stages have triggers set ? - 2 How many stages have triggers set ? - 3 How many stages have triggers set ? - 4 How many stages have triggers set ? - 7 Which component should you modify to enable continuous delivery?- The Development stage Which component should you modify to enable continuous delivery?- The Internal Review stage Which component should you modify to enable continuous delivery?- The Production stage Which component should you modify to enable continuous delivery?- The Web Application artifact.
You have an Azure virtual machine named VM1 that runs Linux. You plan to deploy the Desired State Configuration (DSC) extension to VM You need to grant the Log Analytics agent the appropriate directory permissions. How should you complete the command? setfacl -m u:omsagent: r setfacl -m u:omsagent: x setfacl -m u:omsagent: rx setfacl -m u:omsagent: rwx setfacl -m u:omsagent: /lib setfacl -m u:omsagent: /etc setfacl -m u:omsagent: /tmp setfacl -m u:omsagent: /usr.
You plan to use Desired State Configuration (DSC) to maintain the configuration of a server that runs Windows Server 2 The server must have the following features installed: ✑ A web server ✑ An email server How should you complete the DSC configuration file? =@(''Mail-Server'',IIS") =@(''SMTP-Server'',IIS") =@(''Mail-Server'',Web-Server") =@(''SMTP-Server'',Web-Server") Install Ensure Enforce Required.
You have a project in Azure DevOps that contains a release pipeline. The pipeline contains two stages named QA and Prod. QA deploys code to anAzure web app named webapp1. Prod deploys code to an Azure web app named webapp2. You need to ensure that code deployments to webapp2 are blocked if Azure Application Insights generates Failed requests alerts following the deployment of new code to webapp1. QA:Add a task to configure alert rules in Application Insights QA:Configure a gate in the pre-deployment conditions QA:Configure an auto-redeploy trigger in the post-deployment conditions QA:Configure a post-deployment approval in the post-deployment conditions Prod:Add a task to configure an alert rule in Application Insights Prod:Configure a gate in the pre-deployment conditions Prod:Configure a trigger in the pre-deployment conditions Prod:Configure the Deployment queue settings in the pre-deployment conditions.
You have an Azure subscription that contains the resources shown in the following table. DepPipeline1 and ADFPipeline1 use a single credential that is stored in Vault1. You need to configure ADFPipeline1 to retrieve the credential from Vault1 Which type of activity should you use? Lookup Get Metadata Сoрy Web.
You have an Azure web app that is deployed by using Azure Pipelines. You need to ensure that when a new version of the app is deployed to production, you can roll back to the previous version. The solution must meet the following requirements: • Minimize downtime during the deployment. • Minimize the time it takes for the rollback. What should you use? a single web app and two deployment slots a single web app and two deployment pipelines two web apps and an Azure Standard Load Balancer two web apps and an Azure Traffic Manager instance.
You have an app named App1 that you release by using Azure Pipelines. App1 has the versions shown in the following table. You complete a code change to fix a bug that was introduced in version 3.4.3 Which version number should you assign to the release? 3.4.4 3.4.8 3.5.0 4.0.1.
You have a project in Azure DevOps named Project1 that references an Azure Artifacts feed named Feed1. You have a package named Package1 that has the versions shown in the following table. You need to perform a build of Project1. Which version of Package1 will be used? 1.0.3 1.4.0 2.0.0 2.3.1.
You use Azure Pipelines to build and test code projects. You notice an increase in cycle times. You need to identify whether agent pool exhaustion is causing the issue. What are two possible ways to achieve this goal? Query the PipelineRun/PipelineRuns endpoint Query the TaskAgentPoolSizeSnapshots endpoint. View the Pipeline duration report View the pool consumption report at the organization level.
You have an Azure subscription that contains an Azure pipeline named Pipeline1 and a GitHub repository named Repo1. Repo1 contains Bicep modules. Pipeline1 deploys Azure resources by using the Bicep modules. You need to ensure that all releases comply with Azure Policy before they are deployed to production.What should you do? To Pipeline1, add a step that runs a What if deployment before the deployment step Configure a deployment gate for Pipeline1 that uses Azure Automation to run a What If deployment Create an Azure DevOps build that runs on the creation of a pull request and assesses the code for compliance. Configure a deployment gate for Pipeline1 and include the Azure DevOps Security and compliance assessment task.
You add the virtual machines as managed nodes in Azure Automation State Configuration. You need to configure the managed computers in Pool7. What should you do next? Modify the RefreshMode property of the Local Configuration Manager (LCM) Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet Modify the ConfigurationMode property of the Local Configuration Manager (LCM) Install PowerShell Core.
How should you configure the release retention policy for the investment planning depletions suite? Required secrets:Certificate Required secrets:Personal access token Required secrets:Shared Access Authorization token Required secrets:Username and password Storage location:Azure Data Lake Storage location:Azure Key Vault Storage location:Azure Storage with HTTPS access Storage location:Azure Storage with HTTP access.
You need to configure a cloud service to store the secrets required by the mobile applications to call the share pricing servic What should you include in the solution? Required secrets:Certificate Required secrets:Personal access token Required secrets:Shared Access Authorization token Required secrets:Username and password Storage location:Azure Data Lake Storage location:Azure Key Vault Storage location:Azure Storage with HTTP access Storage location:Azure Storage with HTTPS access.
Which package feed access levels should be assigned to the Developers and Team Leaders groups for the investment planning applications suite?To answer, drag the appropriate access levels to the correct groups. Each access level 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. Collaborator Contributor Owner Reader.
You need to meet the technical requirements for controlling access to Azure DevOps. What should you use? Azure Multi-Factor Authentication (MFA) on-premises firewall rules conditional access policies in Azure AD Azure role-based access control (Azure RBAC).
You need to configure Azure Pipelines to control App2 builds Which authentication method should you use? Windows NTLM certificate SAML personal access token (PAT).
You need to the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run? git rebase git merge --squash git push git merge --allow-unrelated-histories.
You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment. What should you use? git clone GitHub Importer Import repository in Azure Repos git-tfs.
How should you configure the filters for the Project5 trigger? Set a - branch filter to exclude Set a - branch filter to include Set a - path filter to exclude Set a - path filter to include Set a - branch filter to exclude Set a - branch filter to include Set a - path filter to exclude Set a - path filter to include.
In Azure DevOps, you create Project3. You need to meet the requirements of the project. What should you do first? From Azure DevOps, modify the build definition From SonarQube, obtain an authentication token From Azure DevOps, create a service endpoint From SonarQube, create a project.
You need to implement Project4. What should you do first? Add the FROM instruction in the Dockerfile file Add a Copy and Publish Build Artifacts task to the build pipeline Add a Docker task to the build pipeline. Add the MAINTAINER instruction in the Dockerfile file.
To resolve the current technical issue, what should you do to the Register-AzureRmAutomationDscNode command? Change the value of the ConfigurationMode parameter Replace the Register-AzureRmAutomationDscNode cmdlet with Register-AzureRmAutomationScheduledRunbook Add the AllowModuleOverwrite parameter. Add the DefaultProfile parameter.
Which branching strategy should you recommend for the investment planning applications suite? release isolation main only development isolation feature isolation.
What should you use to implement the code quality restriction on the release pipeline for the investment planning applications suite? a pre-deployment approval a deployment gate a post-deployment approval a trigger.
Where should the build and release agents for the investment planning applications suite run? Build agent: A hosted service Build agent: A source control system Build agent: The developers' computers Release agent: A hosted service Release agent: A source control system Release agent: The developers' computers.
You need to meet the technical requirements for monitoring App1. What should you use? Splunk Azure Application Insights Azure Advisor App Service logs.
You have an Azure virtual machine named web1. You need to query the amount of free memory that was available on web1 during the past seven days. The solution must meet the following requirements: • Display the data as a time chart. • Calculate the average value per hour. How should you complete the KQL query? where: TimeGenerated>ago(7d) where: TimeGenerated<ago(7d) where: TimeGenerated==ago(7d) sumarize avg(CounterValue) by: bin(timeGenerated,1d) sumarize avg(CounterValue) by: bin(timeGenerated,1h) dcount(CounterName).
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You manage a project in Azure DevOps. You need to prevent the configuration of the project from changing over time Solution: Perform a Subscription Health scan when packages are created. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.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? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You manage a project in Azure DevOps. You need to prevent the configuration of the project from changing over tim Solution: Implement Continuous Integration for the project. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.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? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution. 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. 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 autoscalin You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1. You need to ensure that an email alert is generated whenever VMSS1 scales in or out. Solution: From Azure DevOps, configure the Notifications settings for Project1 Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.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 autoscalin You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1. You need to ensure that an email alert is generated whenever VMSS1 scales in or out. Solution: From Azure DevOps, configure the Service hooks settings for Project Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.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 autoscalin You have a project in Azure DevOps named Project1. Project1 is used to build a web app named App1 and deploy App1 to VMSS1. You need to ensure that an email alert is generated whenever VMSS1 scales in or out. Solution: From Azure Monitor, create an action group. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You plan to update the Azure DevOps strategy of your company. You need to identify the following issues as they occur during the company's development process: ✑ Licensing violations ✑ Prohibited libraries Solution: You implement continuous integration. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You plan to update the Azure DevOps strategy of your company. You need to identify the following issues as they occur during the company's development process: ✑ Licensing violations ✑ Prohibited libraries Solution: You implement pre-deployment gates. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You plan to update the Azure DevOps strategy of your company. You need to identify the following issues as they occur during the company's development process: ✑ Licensing violations ✑ Prohibited libraries Solution: You implement automated security testing. Does this meet the goal? Yes No.
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 question sets might have more than one correct solution, while others might not have a correct solution.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.You plan to update the Azure DevOps strategy of your company. You need to identify the following issues as they occur during the company's development process: ✑ Licensing violations ✑ Prohibited libraries Solution: You implement continuous deployment. Does this meet the goal? Yes No.
You have an Azure subscription that contains a project in Azure DevOps named Project1. You have three Azure Active Directory (Azure AD) users that require access to Project1 as shown in the following table.You need to ensure that the users have the appropriate permissions. The solution must use the principle of least privilege.To which permission group in Azure DevOps should you add each user? To answer, drag the appropriate permission groups to the correct users.Each permission group 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 Build Administrators Contributors Project Administrators Readers.
You have an Azure App Service app named App1. You need to identify when App1 was offline. The solution must minimize administrative effort. Which troubleshooting category in App Service diagnostics should you use? Navigator Configuration and Management Diagnostic Tools Availability and Performance.
You have an Azure subscription that contains an Azure Kubernetes Service (AKS) instance named AKS1. You collect and analyze metrics for AKS1 by using the Azure Monitor managed service for Prometheus. You need to analyze the performance of AKS1. Which query language should you use? PL/SQL PromQL SparkQL KQL.
You plan to deploy several Azure virtual machines that will run Windows Server 2019 in a virtual machine scale set by using an Azure Resource Manager template. You need to ensure that NGINX is available on all the virtual machines after they are deployed. What should you use? the Publish-AzVMDscConfiguration cmdlet Azure Application Insights Azure Custom Script Extension Most Voted a Microsoft Endpoint Manager device configuration profile.
You manage source control by using GitHub. You have a file named Data.txt that contains sensitive data. A user pushes Data.txt to a repository. You need to purge the file from the repository. Which two commands can you use? Each correct answer presents a complete solution. NOTE: Each correct solution is worth one point. git checkout git reset -hard -pathspec data.txt git checkout git clean -d data.txt --force bfg --delete-files data.txt git push --force git rm data.txt git push --force git filter-repo --invert-paths --path data.txt git push origin --force --all git revert -edit data.txt git push -force.
You use GitHub Enterprise for source control repositories. The repositories store C# code. You need to enable CodeQL scanning for the repositories. What should you do? Enable Dependabot security updates Enable Dependabot alerts Configure a required GitHub Actions workflow for all the repositories Push a GitHub Actions workflow to all the repositories.
You have a GitHub repository that contains a workflow named WF1. WF1 is used to build code for an app named App1. You need to add a build status badge to the README.md file in the repository for App1. How should you complete the URL for the badge? To answer, select the appropriate options in the answer area. https://github.com/ -- Badge type https://github.com/ -- Branch name https://github.com/ -- Organization name https://github.com/ -- Repository name e dytaaa https://github.com/ -- Repository owner e para.
You have a GitHub repository. You need to create a tag named v3.0.5 and ensure that the tag is available in the remote repository. Which two commands should you run? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point git push -force git push origin v3.0.5 git tag v3.0.5 git commit -m ‘tag v3.0.5’ git add ‘tag v3.0.5’.
You have a GitHub repository. You need to ensure that all changes to code are validated by your company’s security department before the main branch is deployed. Which two actions can you perform? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point. Require signed commits Create a branch protection rule for the feature branches Create a LICENSE file Create a branch protection rule for the main branch Create a CODEOWNERS file.
You plan to publish build artifacts by using an Azure pipeline. You need to create an .artifactignore file that meets the following requirements: • Includes all files in the build output folder and all subfolders • Excludes files that have the .dll extension What should you include in the file? . ./** !*.dll **/* !*.dll */** *.dll **/* #*.dll.
You have an Azure subscription. You create two Bicep templates named Template1 and Template2 that will be used to create a virtual machine and a website. You need to create a template named Template3 that will reuse logic from Template1 and Template2. What should you define first? outputs resources modules parameters.
You plan to deploy a solution that will include multiple microservices. You need to recommend a deployment strategy for the microservices. The solution must meet the following requirements: • Enable users to test new features by using a specific URL. • Minimize the effort required to promote a test version to production. • Minimize the effort required to revert production code to the previous version. Which strategy should you recommend? A/B feature toggle progressive exposure blue/green.
You plan to deploy a solution that will include multiple microservices. You need to recommend a deployment strategy for the microservices. The solution must meet the following requirements: • Enable testing and monitoring of changes during a gradual rollout. • Control the number of users that will receive new code releases. Which strategy should you recommend? progressive exposure A/B feature toggle blue/green.
You use an Azure Pipelines pipeline to build and deploy an app. You have a custom test task that has the following inputs: • testResultsFiles: **/TEST-*.trx • searchFolder: $(System.DefaultWorkingDirectory) • mergeTestResults: true Which format should you use for the input data of testResultsFiles? VSTest NUnit CTest Junit.
You use an Azure Pipelines pipeline to build, test, and deploy an app named App1. You need to reduce how long it takes to complete unit and integration tests for App1. The solution must ensure that the code coverage testing ratio is maintained. What should you do? Enable flaky test management Purchase additional parallel jobs Enable Test Impact Analysis (TIA) Add an agent pool.
You have an app that is deployed to two environments named Production-A and Production-B by using Azure Pipelines. You need to configure a release pipeline that will mark the app as complete and ready for release into the Production-B environment. The solution must meet the following requirements: • Ensure that there are no active Azure Monitor alerts in the Production-A environment before the app is marked as complete. • Minimize administrative effort. What should you do? To the Production-B environment stage, add a pre-deployment gate that will query Azure Monitor To the Production-A environment stage, add a post-deployment gate that will query Azure Monitor To the Production-A environment stage, add a post-deployment approval To the Production-A environment stage, add a pre-deployment gate that will query Azure Monitor.
You manage package feeds by using Azure Artifacts. You plan to create a new package feed that will include the following views: • @Local • @Latest • @Release • @Prerelease Which view should you create manually? @Local @Latest @Release @Prerelease.
You have an Azure subscription that includes an app named App1. You have an Azure DevOps project that contains two environments named Staging and Production. You use Azure Pipelines to deploy App1. You need to validate the performance of App1 in the Staging environment before it is deployed to Production. The solution must minimize administrative effort. What should you do in the Azure DevOps project? In the production branch policy, add a status check to query Azure Monitor Alerts for active alerts In the Production environment, add a check to query Azure Monitor Alerts for active alerts In the Production environment stage, add a post-deployment approval for the Azure Monitor Alerts group In the Staging environment add a check to query Azure Monitor Alerts for active alerts.
You have an Azure Resource Manager (ARM) template that contains the following expression. [if(parameters('isComplete'), '1a', '2a')] You need to migrate the template to Bicep. Which expression should you run? iif(isComplete, '1a', '2a') if(isComplete, '1a', '2a') if('isComplete') '1a' else '2a' isComplete ? '1a' '2a'.
You have a tenant in Microsoft Azure Active Directory (Azure AD), part of Microsoft Entra. The tenant contains three groups named Group1, Group2, and Group3. You create a new project in Azure DevOps named Project1. You need to secure the service connections for Project1. The solution must meet the following requirements: • The members of Group1 must be able to share and unshare a service connection with other projects. • The members of Group2 must be able to rename a service connection and update the description. • The members of Group3 must be able to use the service connection within build or release pipelines. • The principle of least privilege must be followed. Which permission should you grant to each group? To answer, drag the appropriate permissions to the correct groups. Each permission 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 Contributor Creator Organization-level Administrator Project-level Administrator User.
You develop the following Azure Resource Manager (ARM) template to create a resource group and deploy an Azure Storage account to the resource group.Which cmdlet should you run to deploy the template? New-AzResource New-AzResourceGroupDeployment New-AzTenantDeployment New-AzDeployment Most Voted.
You have a .NET app named App1. You need to upload App1 to GitHub Packages. How should you complete he command? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point. dotnet git make npm nuget add source nuget push pack publish.
Report abuse