00:00

QUESTION 41

FILL IN THE BLANK - (Topic 4)
You have a GitHub repository that contains the source code for an app.
You need to identify all the changes made between versions 1.4.16 and 1.6.12 of the source code.
How should you complete the Get command? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Git | helper-script > changes.txt
AZ-400 dumps exhibit
Solution:
Answer below
get diff v1.4.16 v1.6.12 | helper-script > changes.txt
This command will compare the changes made between versions 1.4.16 and 1.6.12 of the source code in your GitHub repository, pipe the output through the helper-script and save the result to a file called "changes.txt" Please note that, this command assumes that you have a helper-script that can handle get diff output as an input and processes it further. It is not a default get command.

Does this meet the goal?

Correct Answer: A

QUESTION 42

- (Topic 2)
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?

Correct Answer: A
The Register-AzureRmAutomationDscNode cmdlet registers an Azure virtual machine as an APS Desired State Configuration (DSC) node in an Azure Automation account.
Scenario: The Azure DevOps organization includes: The Docker extension
A deployment pool named Pool7 that contains 10 Azure virtual machines that run Windows Server 2016
AZ-400 dumps exhibit
References: https://docs.microsoft.com/en- us/powershell/module/azurerm.automation/register-azurermautomationdscnode

QUESTION 43

- (Topic 4)
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?

Correct Answer: B
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.
References:
https://docs.microsoft.com/en-us/azure/devops/java/sonarqube?view=azure-devops

QUESTION 44

- (Topic 4)
Your company uses Service Now for incident management. You develop an application that runs on Azure.
The company needs to generate a ticket in Service Now when the application fails to authenticate.
Which Azure Log Analytics solution should you use?

Correct Answer: C
The IT Service Management Connector (ITSMC) allows you to connect Azure and a supported IT Service Management (ITSM) product/service.
ITSMC supports connections with the following ITSM tools: ServiceNow
System Center Service Manager Provance
Cherwell
With ITSMC, you can
Create work items in ITSM tool, based on your Azure alerts (metric alerts, Activity Log alerts and Log Analytics alerts).
Optionally, you can sync your incident and change request data from your ITSM tool to an Azure Log Analytics workspace.
Reference:
https://docs.microsoft.com/en-us/azure/azure-monitor/platform/itsmc-overview

QUESTION 45

DRAG DROP - (Topic 4)
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 features
installed.
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.
AZ-400 dumps exhibit
Solution:
Step 1: Create a PowerShell configuration file
You create a simple PowerShell DSC configuration file.
Step 2: Load the file to Azure Blob storage
Package and publish the module to a publically accessible blob container URL
Step 3: Configure the Custom Script Extension on the virtual machines.
The Custom Script Extension downloads and executes scripts on Azure virtual machines.

Does this meet the goal?

Correct Answer: A