Summer Sale Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code = simple75
Pass the Microsoft Azure AZ-400 Questions and answers with Dumpstech
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?
You have a project in Azure DevOps that contains a pipeline named Pipeline1 and two teams named Team! and Team2.
You need to ensure that only the members of Team1 can update the passwords used in Pipeline1. The solution must meet the following requirements:
• Prevent the members of Team2 from viewing the passwords.
• Minimize administrative effort.
What should you use to store the passwords?
Task 9
Initialize the default main branch, if it does not exist already.
You need to create a pipeline that will execute a .NET Core build task for the src directory.
The pipeline code must be stored in a new branch named azure-pipelinesT.
The pipeline must run automatically when a pull request against the mam branch is created or updated.
Task 7
You need to create a pipeline to deploy a Docker image. The commit must be created in a new branch named azure-pipelines.
The pipeline must be created by using the predefined Docker template.
You are designing a build and release pipeline.
You need to implement a shift-left testing strategy for the pipeline.
Which types of tests should you include?
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.
Task 11
You need to create a new artifact feed named artifact_feed.
Only 10 versions of the packages must be retained, and downloaded packages must be retained for 90 days.
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, signin to the Microsoft Azure portal.
You have a virtual machine that runs Windows Server 2022 and is managed by using PowerShell Desired State Configuration (PSDSC).
You have the following DSC configuration.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.

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

You need to prepare a network security group (NSG) named az400-9940427-nsg1 to host an Azure DevOps pipeline agent. The solution must allow only the required outbound port for Azure DevOps and deny all other inbound and outbound access to the Internet.
To complete this task, sign in to the Microsoft Azure portal.
You have a Bicep file named Main.bicep.
You run the following command.

Use the drop-down menus to select the answer choice that completes each statement based on the information presented.
NOTE: Each correct selection is worth one point.

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.





