Summer Sale - Special 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70dumps

AZ-400 Questions and Answers

Question # 6

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?

A.

path filters

B.

batch changes

C.

scheduled builds

D.

branch filters

Full Access
Question # 7

How should you confrere the release retention policy for the investment planning depletions suite? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 7

Full Access
Question # 8

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.

NOTE: Each correct selection is worth one point.

Question # 8

Full Access
Question # 9

How should you complete the code to initialize App Center in the mobile application? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection a worth one point.

Question # 9

Full Access
Question # 10

You need to configure a cloud service to store the secrets required by the mobile applications to call the share.

What should you include in the solution? To answer, select the appropriate options m the answer area, NOTE: Each correct selection is worth one point.

Question # 10

Full Access
Question # 11

Where should the build and release agents for the investment planning application suite run? To answer, select the appropriate options in the answer area.

NOTE : Each correct selection is worth one point.

Question # 11

Full Access
Question # 12

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? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

authorization credentials

B.

the project name

C.

the deployment group name

D.

the organization URL

E.

the agent pool name

Full Access
Question # 13

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?

A.

--squash

B.

--no-verify

C.

--message ' '

D.

--no-post-rewrite

Full Access
Question # 14

You manage an Azure web app that supports an e-commerce website.

You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead.

Which two resources should you include in the solution? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.

an Azure Monitor alert that has a dynamic threshold

B.

an Azure Automation runbook

C.

an Azure Monitor alert that uses an action group that has an email action

D.

the Azure Monitor autoscale settings

E.

an Azure Monitor alert that has a static threshold

Full Access
Question # 15

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? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 15

Full Access
Question # 16

NO: 14

Your company is building a new solution in Java.

The company currently uses a SonarQube server to analyze the code of .NET solutions.

You need to analyze and monitor the code quality of the Java solution.

Which task types should you add to the build pipeline?

A.

Chef

B.

Gradle

C.

Octopus

D.

Gulp

Full Access
Question # 17

Your company is building a new solution in Java.

The company currently uses a SonarQube server to analyze the code of .NET solutions.

You need to analyze and monitor the code quality of the Java solution.

Which task types should you add to the build pipeline?

A.

Chef

B.

Gradle

C.

Octopus

D.

Gulp

Full Access
Question # 18

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.

a single stage Dockerfile

B.

an Azure Kubernetes Service (AKS) pod

C.

a multi-stage Dockerfile

D.

a Docker Compose file

Full Access
Question # 19

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 auto scaling.

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 Project1.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 20

You are designing YAML-based Azure pipelines for the apps shown in the following table

Question # 20

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? To answer, select the appropriate options in the answer area.

Question # 20

Full Access
Question # 21

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.

a task group

B.

a JSON template

C.

a YAML template

D.

a PowerShell task

Full Access
Question # 22

You have a tendril 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.

NOTE: Each correct selection is worth one point.

Question # 22

Full Access
Question # 23

You have an Azure subscription that contains an Azure Pipelines pipeline named Pipeline1 and an app named App1. Pipeline1 is used to automate the building of App1.

You have a Slack channel named App1chat that includes an incoming webhook.

You need to ensure that when a successful build of App1 is created, a notification is sent to App1chat by using the webhook.

What should you use?

A.

an alert rule

B.

a notification

C.

an action group

D.

a subscription

Full Access
Question # 24

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 m.ght 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 win NOT be able to return to it. As a result, these questions win not appear in the review screen.

You integrate a cloud- hosted Jenkins server and a new Azure DevOps deployment

You need Azure DevOps to send a notification to Jenkins when a developer commits changes to a branch in Azure Repos.

Solution: You create a service hook subscription that uses the code pushed event.

Does this meet the goal?

A.

Yes

B.

NO

Full Access
Question # 25

You are automating the testing process for your company.

You need to automate UI testing of a web application.

Which framework should you use?

A.

JaCoco

B.

Playwright

C.

Xamarin.UITest

D.

Microsoft.CodeAnalysis

Full Access
Question # 26

You have a GitHub repository named repo1.

You migrate repo1 to an Azure Repos repository named repo2.

After themigration, changes are made to repo1.

You need to sync the changes to repo2.

How should you complete the script? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to dragthe split bar between panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Question # 26

Full Access
Question # 27

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?

A.

Yes

B.

No

Full Access
Question # 28

You have an Azure web app named Webapp1.

You need to use an Azure Monitor query to create a report that details the top 10 pages of Webapp1 that failed.

How should you complete the query? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 28

Full Access
Question # 29

You have several Azure Active Directory (Azure AD) accounts.

You need to ensure that users use multi-factor authentication (MFA) to access Azure apps from untrusted networks.

What should you configure in Azure AD?

A.

access reviews

B.

managed identities

C.

entitlement management

D.

conditional access

Full Access
Question # 30

You manage projects by using Azure Boards. You manage project code by using GitHub. You have a work itemthat has an ID of 456. You need to link work item 456 to a new pull request.

What are two ways to achieve this goal? Each correct answer presents a complete solution. NOTE: Each correct solution is worth one point.

A.

To the description of the pull request, add #AB456.

B.

To work item 456, add a comment that includes the URL of the pull request.

C.

In the Development section for work item 456. select Add link, and then enter the URL of the pull request

D.

From work item 456, open the Links tab, select Addlink, select Existing item and then enter the URL of the commit.

Full Access
Question # 31

You need to meet the technical requirements for monitoring App1.

What should you use?

A.

Splunk

B.

Azure Application Insights

C.

Azure Advisor

D.

App Service logs

Full Access
Question # 32

Your company has 60 developers who are assigned to four teams. Each team has 15 members.

The company uses an agile development methodology.

You need to structure the work of the development teams so that each team owns their respective work while working together to reach a common goal.

Which parts of the taxonomy should you enable the team to perform autonomously?

A.

Features and Tasks

B.

Initiatives and Epics

C.

Epics and Features

D.

Stories and Tasks

Full Access
Question # 33

You need to perform the GitHub code migration. The solution must support the planned changes for the DevOps environment.

What should you use?

A.

git clone

B.

GitHub Importer

C.

Import repository in Azure Repos

D.

git-tfs

Full Access
Question # 34

You need to configure Azure Pipelines to control App2 builds.

Which authentication method should you use?

A.

Windows NTLM

B.

certificate

C.

SAML

D.

personal access token (PAT)

Full Access
Question # 35

You plan to deploy a new database environment. The solution must meet the technical requirements. You need to prepare the database for the deployment. How should you format the export?

A.

NDF

B.

MDF

C.

BACPAC

D.

DACPAC

Full Access
Question # 36

You need !0 the merge the POC branch into the default branch. The solution must meet the technical requirements. Which command should you run?

A.

it push

B.

git merge -- allow-unrelated-histories

C.

git rebase

D.

git merge --squash

Full Access
Question # 37

You are configuring the Azure DevOps dashboard. The solution must meet the technical requirements.

Which widget should you use for each metric? To answer, drag the appropriate widgets to the correct metrics. Each widget 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.

NOTE: Each correct selection is worth one point.

Question # 37

Full Access
Question # 38

You need to replace the existing DevOps tools to support the planned changes.

What should you use? To answer, drag the appropriate tools to the correct targets. Each 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.

NOTE: Each correct selection is worth one point.

Question # 38

Full Access
Question # 39

You need to meet the technical requirements for controlling access to Azure DevOps.

What should you use?

A.

Azure Multi-Factor Authentication (MFA)

B.

on-premises firewall rules

C.

conditional access policies in Azure AD

D.

Azure role-based access control (Azure RBAC)

Full Access
Question # 40

You need to configure the alert for VM1. The solution must meet the technical requirements.

Which two settings should you configure? To answer, select the appropriate settings in the answer area.

NOTE: Each correct selection is worth one point.

Question # 40

Full Access
Question # 41

In Azure DevOps, you create Project3.

You need to meet the requirements of the project.

What should you do first?

A.

From Azure DevOps, create a service endpoint.

B.

From Sonar Qube, obtain an authentication token.

C.

From Azure DevOps, modify the build definition.

D.

From Sonar Qube , create a project.

Full Access
Question # 42

You need to configure Azure Automation for the computer in Group7.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Question # 42

Full Access
Question # 43

You need to recommend a procedure to implement the build agent for Project1.

Which three actions should you recommend be performed in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Question # 43

Full Access
Question # 44

You need to implement the code flow strategy for Project2 in Azure DevOps.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange in the correct order.

Question # 44

Full Access
Question # 45

You need to implement the code flow strategy for Project2 in Azure DevOps.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Question # 45

Full Access
Question # 46

You need to implement Project4.

What should you do first?

A.

Add the FROM instruction in the Dockerfile file.

B.

Add a Copy and Publish Build Artifacts task to the build pipeline.

C.

Add a Docker task to the build pipeline.

D.

Add the MAINTAINER instruction in the Dockerfile file.

Full Access
Question # 47

You need to configure Azure Automation for the computers in Pool7.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them m the correct order.

Question # 47

Full Access
Question # 48

You need to implement Project6.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them m the correct order.

Question # 48

Full Access
Question # 49

You need to the merge the POC branch into the main branch. The solution must meet the technical requirements.

Which command should you run?

A.

git push

B.

git merge --squash

C.

git merge --allow-unrelated-histories

D.

git rebase

Full Access
Question # 50

You need to configure authentication for App1. The solution must support the planned changes.

Which three actions should you perform in sequence? To answer, move all actions from the list of actions to the answer area and arrange them in the correct order.

Question # 50

Full Access
Question # 51

How should you configure the filters for the Project5 trigger? To answer, select the appropriate option in the answer area.

NOTE: Each correct selection is worth one point.

Question # 51

Full Access
Question # 52

You add the virtual machines as managed nodes in Azure Automation State Configuration.

You need to configure the computer in Group7.

What should you do?

A.

Run the Register-AzureRmAutomationDscNode Azure Powershell cmdlet.

B.

Modify the ConfigurationMode property of the Local Configuration Manager (LCM).

C.

Install PowerShell Core.

D.

Modify the RefreshMode property of the Local Configuration Manager (LCM).

Full Access
Question # 53

You have a GitHub organization.

You ate creating a GitHub Actions workflow.

You need to perform authenticated AP1 requests by using a GitHub app name App1.

Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Question # 53

Full Access
Question # 54

Task 2

You need to create an instance of AzureApplication Insights named az400-38443478-main and configure the instance to receive telemetry data from an Azure web app named az400-38443478-main

You must create a Log Analytics workspace before this task.

Full Access
Question # 55

You need to configure an Azure web app named az400-9940427-main to contain an environmental variable named “MAX_ITEMS”. The environmental variable must have a value of 50.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 56

You have an Azure DevOps pipeline named Pipeline1.

You need to track the stability of code changes in Pipeline1.

Which metric should you use?

A.

test pass rate

B.

deployment frequency (DT)

C.

lead time for changes (LT)

D.

time to detect (TTD)

Full Access
Question # 57

Task 6

You have an Azure function hosted in an App Service plan named az400-38443478-funct

You need to configure az400 38443478-funcl lo update the functions automatically whenever new code is committedto the main branch of https://githubcom/Azure-Samples/functions-quickstart.

NOTE: Access to GitHub is blocked in the exam environment. Access to GitHub is NOT required to complete the task successfully.

Full Access
Question # 58

You have a web app that connects to an Azure SQL Database named db1.

You need to configure db1 to send Query Store runtime statistics to Azure Log Analytics.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 59

Task 1

Navigate to aex.dev.azure.com and specify the following credentials:

• UserUser1-48901628@cxamUsers.com

• Password: aFpJ2j-6M!

Use the default setting to sign up for Azure DevOps and create an Azure DevOps organization. Once the organization is created. create a private project named Project1.

You need to ensure that the maximum file size for all the Azure DevOps repositories of Project1 is 2 MB.

Full Access
Question # 60

Note: This section contains one or more sets of questions with the same scenario and problem. Each question presents a unique solution to the problem. You must determine whether the solution meets the stated goals. More than one solution in the set might solve the problem. It is also possible that none of the solutions in the set solve the problem.

After you answer a question in this section, you will NOT be able to return. As a result, these questions do not appear on the Review Screen.

You have an on-premises web server named Server1.

You need to ensure that you can build .NET apps and deploy the apps to Server1 by using Azure Pipelines.

Solution: You deploy a virtual machine scale set and select a custom Ubuntu image that includes the .NET command-line interface (CU) tools.

Does this meet the goal?

A.

Yes

B.

No

Full Access
Question # 61

Task 6

For Project 1. you need to create a service connection that can be used to deploy resources to the RGHod489Q1628 resource group.

The service connection must use the ManagedJd1 identity and workload identity federation.

Full Access
Question # 62

You need to create a notification if the peak average response time of an Azure web app named az400-9940427-main is more than five seconds when evaluated during a five-minute period. The notification must trigger the “https://contoso.com/notify” webhook.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 63

You need to ensure that Microsoft Visual Studio 2017 can remotelyattach to an Azure Function named fa-11566895.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 64

You plan to deploy a website that will be hosted in two Azure regions.

You need to create an Azure Traffic Manager profile named az40011566895n1-tm in a resource group named RG1lod11566895. The solution must ensure that users will always connect to a copy of the website that is in the same country.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 65

You need to ensure that an Azure web app named az400-9940427-main can retrieve secrets from an Azure key vault named az400-9940427-kv1 by using a system managed identity.

Thesolution must use the principle of least privilege.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 66

You have a management group that contains four Azure subscriptions. Each subscription contains four resource groups.

You develop a new web app named App1.

You plan to deploy an instance of App1 to each resource group.

You need to create a Bicep template that will be used to deploy Appl. The solution must meet the following requirements:

• The name of each App1 instance must be uniquely scoped to each subscription and resource group.

• The name of each App Service plan used to host App1 must be uniquely scoped to the resource group.

How should you complete the template? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 66

Full Access
Question # 67

Task 12

You need to create a personal access token (PAT) named Token! that has only the following capabilities

• Read write, andmanage code

• Read and execute builds

• Read releases

Token1 must expire in 60 days.

Full Access
Question # 68

You ate using Agile process methodologies in Azure DevOps.

You need to deploy a dashboard that will provide progress reports for the following work items:

• How long it took to close a work item after it was created.

• How long it took to close a work item after the work was started.

Which type of widget should you use for each work item? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 68

Full Access
Question # 69

You have a widget named Appl and an Azure DevOps YAML pipeline named Pipelinel. App1 is released by using Pipelined Pipeline1 contains a single stage and a single job. You need to ensure that Appl is approved before the app is released. Which two actions should you perform? Each correct answer presents part of the solution. NOTE; Each correct selection is worth one point.

A.

Add a stage named deployment to the YAML pipeline.

B.

Change Pipelinel to a deployment job.

C.

Create a service connection.

D.

Create an environment an tod add a check.

E.

Configure branch control.

Full Access
Question # 70

You have an Azure DevOps project that is used to build an app named Appl.

You need to recommend a release strategy for App1. The solution must meet the following requirements:

• Detect if App1 cannot respond to customer requests for more than 30 seconds.

• Ensure that App1 can respond to at least 100 concurrent users while maintaining page load times of less than 10 seconds.

Which type of test should you recommend for each requirement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question # 70

Full Access
Question # 71

You plan to build an app named App1 by using GitHub.

You need to recommend a build and deployment solution for App1. The solution must meet the following requirements:

• Ensure that the code for App1 is submitted for testing only when a build has completed successfully.

• Ensure that a build is approved by the change management team before the build is released.

What should you include in the recommendation for each requirement? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.

Question # 71

Full Access
Question # 72

You need to ensure that an Azure web app named az400-9940427-main supports rolling upgrades. The solution must ensure that only 10 percent of users who connect to az400-9940427-main use update versions of the app.

The solution must minimize administrative effort.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 73

Task 11

You need to write a KQL query that will count the number of inbound requests for each source IP address, for any connection made during the last three months of 2021.

Open Azure Data Explorer by using the following link:

https//dataexploter azure.com/clusters/help/databases/Securiitylogs

The requests are contained in a table named InboundBrowsing in the Securitylogs connection.

The query must return two columns named NumberOfRequests and SourcelP.

Export the query result to C:\Samples

Full Access
Question # 74

You have a project in Azure DevOps

You build an app named Appl that will be used on devices that run either MacOS, Linux, or Windows.

You need to create an Azure DevOps YAML pipeline to build App1 on the three operating systems. The solution must meet the following requirements:

• Minimize code duplication in the pipeline configuration.

• Minimize maintenance effort.

What should you use?

A.

a stage template

B.

a variable template

C.

a step template

D.

a job template

Full Access
Question # 75

You have a GitHub repository named repol.

You commit a change to repol.

You need to update the commit message. The solution must ensure that the version number remains the same.

Which command should you run?

A.

git commit --patch

B.

git commit --amend

C.

git status --renames

D.

git restore --patch

Full Access
Question # 76

You have an Azure subscription.

You need to ensure that users can provision preconfigured cloud-based environments for developing apps. The solution must minimize administrative effort.

What should you include in the solution?

A.

Microsoft Dev Box

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Azure Virtual Desktop

Full Access
Question # 77

Task 4

Initialize the default main branch, if it does not exist already.

In the Userl-42147509 Azure DevOps project, you need to implement an approval process for the default main branch.

The process must use the four-eyes principle and have at least one approval on every iteration.

Full Access
Question # 78

You have a 1-TB Azure Repos repository named repol.

You need to clone repol. The solution must meet the following requirements;

• You must be able to search the commit history of the /src directory.

• The amount of time it takes to clone the repository must be minimized

Which command should you run?

A.

git clone --depth=1 gitpssh.dev.azure.com:v3/org/Projectl/repol

B.

git clone git@ssh.dev.azure.co»:v3/org/Projectl/repol

C.

git clone --filter=blob:none gitpssh.dev.azure.com:v3/org/Projectl/repol

D.

git clone --filter=tree:0 git@ssh.dev.azure.com:v3/org/Projectl/repol

Full Access
Question # 79

Task 4

For Project1, you need to create a self-hosted agent pod named Pool1.

All the pipelines in Project1 must have access to Pool1.

Full Access
Question # 80

You plan to deploy a template named D:\Deploy.json to a resource group named Deploy-lod9940427.

You need to modify the template to meet the following requirements, and then to deploy the template:

The address space must be reduced to support only 256 total IP addresses.

The subnet address space must be reduced to support only 64 total IP addresses.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 81

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 of App1 as shown in the following exhibit.

Question # 81

How should you complete the markdown code? To answer, drag the appropriate values to the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar betJJeen panes or scroll to view content.

NOTE: Each correct selection is worth one point.

Question # 81

Full Access
Question # 82

Task 3

You need to ensure that an Azure Web App named az400-38443478-matn supports rolling upgrades The solution must ensure that only 10 percent of users who connect to az400-38443478 main use updated versions of the app. The solution must minimize administrative effort.

Full Access
Question # 83

You have an Azure functionhosted in an App Service plan named az400-9940427-func1.

You need to configure az400-9940427-func1 to upgrade the functions automatically whenever new code is committed to the master branch of https://github.com/Azure-Samples/functions-quickstart.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 84

You need to create an instance of Azure Application Insights named az400-9940427-main and configure the instance to receive telemetry data from an Azure web app named az400-9940427-main.

To complete this task, sign in to the Microsoft Azure portal.

Full Access
Question # 85

You have a GitHub Enterprise organization that contains three GitHub repositories.

You need to store a secret named Secret 1. The solution must meet the following requirements:

• GitHub Actions must be able to use Secret1 in each repository.

• Administrative effort must be minimized.

As what should you store Secret1?

A.

a repository secret

B.

an artifact

C.

an environment secret

D.

an organization secret

Full Access
Question # 86

You have an Azure subscription.

The development department at your company plans to build web apps that will use multiple Azure resources. You need to recommend a development solution that meets the following requirements:

• Provides a development environment for each developer

• Supports the use of custom sandbox environments for testing

• Ensures that the environments can be embedded into CI/CD pipelines

• Minimizes administrative effort

What should you include in the recommendation?

A.

Azure Virtual Desktop

B.

Windows 365 Cloud PC

C.

Azure Deployment Environments

D.

Microsoft Dev Box

Full Access
Question # 87

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? To answer, drag the appropriate versions to the correct scenarios. Each version 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.

NOTE: Each correct selection is worth one point.

Question # 87

Full Access
Question # 88

You have a GitHub repository.

A file that contains secrets is committed and pushed to the repository accidentally.

You need to perform the following actions:

• Remove the file from the repository.

• Remove all commits that include the file from the repository.

The solution must minimize administrative effort. What should you use?

A.

GitHub Actions

B.

a branch protection rule

C.

the git re command

D.

the git filter-repo command

Full Access
Question # 89

Task 1

You need to ensure that an Azure Web App named az400-38443478-main can retrieve secrets from an Azure key vault named az400-3844J478-kv1 byusing a system managed identity The solution must use the principle of least privilege.

Full Access
Question # 90

You use GitHub Enterprise to manage source code and deployments.

From GitHub Actions, you create a reusable workflow named workflow 1.

You need to ensure that the secrets defined in the calling workflow are passed to workflow1.

What should you include in the YAML file for the calling workflow?

A.

B.

C.

D.

Full Access