00:00

QUESTION 66

- (Exam Topic 4)
You are automating the build process for a Java-based application by using Azure DevOps. You need to add code coverage testing and publish the outcomes to the pipeline.
What should you use?

Correct Answer: A

QUESTION 67

- (Exam Topic 4)
You have a web app hosted on Azure App Service. The web app stores data in an Azure SQL database. You need to generate an alert when there are 10,000 simultaneous connections to the database. The solution must minimize deve4opment effort.
Which option should you select in the Diagnostics settings of the database?

Correct Answer: A
ENABLE DIAGNOSTICS TO LOG ANALYTICS
This configuration is done PER DATABASE
* 1. Click on Diagnostics Settings and then Turn On Diagnostics
AZ-400 dumps exhibit
* 2. Select to Send to Log Analytics and select the Log Analytics workspace. For this sample I will selected only Errors
AZ-400 dumps exhibit
Reference:
https://techcommunity.microsoft.com/t5/azure-database-support-blog/azure-sql-db-and-log-analytics-better-toge

QUESTION 68

- (Exam Topic 4)
You have a build pipeline in Azure Pipelines that uses different jobs to compile an application for 10 different architectures.
The build pipeline takes approximately one day to complete.
You need to reduce the time it takes to execute the build pipeline
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point

Correct Answer: BE
Question: I need more hosted build resources. What can I do?
Answer: The Azure Pipelines pool provides all Azure DevOps organizations with cloud-hosted build agents and free build minutes each month. If you need more Microsoft-hosted build resources, or need to run more jobs in parallel, then you can either:
Host your own agents on infrastructure that you manage. Buy additional parallel jobs.
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/pools-queues

QUESTION 69

- (Exam Topic 4)
You have a GitHub organization that contains three users named User 1. User2. and User3. You have a project that contains a repository named repo1. You need to configure permissions for repo1. The solution must meet the following requirements:
• Ensure that User 1 can actively push to repo1.
• Ensure that Usef2 can manage issues and pull requests for repo1.
• Ensure that User3 can manage repo1.
• Prevent User3 from accessing sensitive data in repo1. Which role should you assign to each use?
AZ-400 dumps exhibit
Solution:
AZ-400 dumps exhibit

Does this meet the goal?

Correct Answer: A

QUESTION 70

- (Exam Topic 4)
You plan to use Desired State Configuration (DSC) to maintain the configuration state of virtual machines that run Windows Server.
You need to perform the following:
AZ-400 dumps exhibit Install Internet Information Services (IIS) on the virtual machines.
AZ-400 dumps exhibit Update the default home page of the IIS web server.
How should you configure the DSC configuration file? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
AZ-400 dumps exhibit
Solution:
See the answer in image
Box 1: WindowsFeature Example:
Configuration WebsiteTest {
# Import the module that contains the resources we're using. Import-DscResource -ModuleName PsDesiredStateConfiguration
# The Node statement specifies which targets this configuration will be applied to. Node 'localhost' {
# The first resource block ensures that the Web-Server (IIS) feature is enabled. WindowsFeature WebServer {
Ensure = "Present" Name = "Web-Server"
}
Box 2: File Example continued:
# The second resource block ensures that the website content copied to the website root folder.
File WebsiteContent { Ensure = 'Present'
SourcePath = 'c:testindex.htm' DestinationPath = 'c:inetpubwwwroot'
}
Reference:
https://docs.microsoft.com/en-us/powershell/scripting/dsc/quickstarts/website-quickstart

Does this meet the goal?

Correct Answer: A