ExamGecko
Home Home / Microsoft / AZ-400

Microsoft AZ-400 Practice Test - Questions Answers, Page 38

Question list
Search
Search

List of questions

Search

Related questions











DRAG DROP

You have an Azure subscription that uses Azure Automation State Configuration to manage the configuration of virtual machines. You need to identify which nodes are noncompliant.

How should you complete the query? 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 between panes or scroll to view content. NOTE: Each correct selection is worth one point.


Question 371
Correct answer: Question 371

HOTSPOT

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 an Azure 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. What should you do for each stage? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.


Question 372
Correct answer: Question 372

DRAG DROP

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? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.


Question 373
Correct answer: Question 373

DRAG DROP

You have an Azure Repos repository named repo1.

You delete a branch named features/feature11.

You need to recover the deleted branch.

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


Question 374
Correct answer: Question 374

HOTSPOT

You have a project in Azure DevOps that contains a Continuous Integration/Continuous Deployment (CI/CD) pipeline. You need to enable detailed logging by defining a pipeline variable.

Mow should you configure the variable? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


Question 375
Correct answer: Question 375

DRAG DROP

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 pipelines. Which four tasks should you perform in sequence? To answer, move the appropriate tasks from the list of tasks to the answer area and arrange them in the correct order.


Question 376
Correct answer: Question 376

Explanation:

Step 1: Prepare Analysis Configuration

Prepare Analysis Configuration task, to configure all the required settings before executing the build. This task is mandatory.

In case of .NET solutions or Java projects, it helps to integrate seamlessly with MSBuild, Maven and Gradle tasks. Step 2: Visual Studio Build

Reorder the tasks to respect the following order:

Prepare Analysis Configuration task before any MSBuild or Visual Studio Build task.

Step 3: Visual Studio Test

Reorder the tasks to respect the following order:

Run Code Analysis task after the Visual Studio Test task.

Step 4: Run Code Analysis

Run Code Analysis task, to actually execute the analysis of the source code.

This task is not required for Maven or Gradle projects, because scanner will be run as part of the

Maven/Gradle build.

Note:

You have an Azure Automation account that contains a runbook. The runbook is used to configure the application infrastructure of an Azure subscription. You have a project in Azure DevOps named Project). Projectl contains a repository that stores code for the runbook. You need to ensure that every committed change to the code will update automatically and publish the runbook to Azure Automation. What should you configure?

A.
the Connections settings for the Automation account
A.
the Connections settings for the Automation account
Answers
B.
the Service hooks settings for Project1
B.
the Service hooks settings for Project1
Answers
C.
the Source control settings for the Automation account
C.
the Source control settings for the Automation account
Answers
D.
the Service connections settings for Project1
D.
the Service connections settings for Project1
Answers
Suggested answer: C

You manage source code control and versioning by using GitHub.

You need to ensure that a PowerShell script is executed automatically before rebase operations are performed. What should you use?

A.
a package
A.
a package
Answers
B.
GitHub Copilot
B.
GitHub Copilot
Answers
C.
a webhook
C.
a webhook
Answers
D.
a gist
D.
a gist
Answers
Suggested answer: C

You have a GitHub Enterprise account.

You need to enable push protection for secret scanning of the account repositories.

What should you do first?

A.
Purchase Premium Plus support.
A.
Purchase Premium Plus support.
Answers
B.
Enforce multi-factor authentication (MFA).
B.
Enforce multi-factor authentication (MFA).
Answers
C.
Purchase a GitHub Advanced Security license.
C.
Purchase a GitHub Advanced Security license.
Answers
D.
Create an access policy for secrets.
D.
Create an access policy for secrets.
Answers
Suggested answer: C

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
A.
Chef
Answers
B.
Gradle
B.
Gradle
Answers
C.
Octopus
C.
Octopus
Answers
D.
Gulp
D.
Gulp
Answers
Suggested answer: B

Explanation:

SonarQube is a set of static analyzers that can be used to identify areas of improvement in your code. It allows you to analyze the technical debt in your project and keep track of it in the future. With Maven and Gradle build tasks, you can run SonarQube analysis with minimal setup in a new or existing Azure DevOps Services build task.

Reference:

https://docs.microsoft.com/en-us/azure/devops/java/sonarqube?view=azure-devops

Total 482 questions
Go to page: of 49