Microsoft AZ-400 Practice Test - Questions Answers, Page 49
List of questions
Question 481

HOTSPOT
You are interrogating logs by using KQL.
You execute the query shown in the following exhibit.
Use the drop-down menus to select the answer choice that completes each statement based on the information presented in the graphic.
NOTE: Each correct selection is worth one point.
Question 482

You use release pipelines in Azure Pipelines to deploy an app. Secrets required by the pipeline are stored as pipeline variables. Logging of commands is enabled for the Azure Pipelines agent.
You need to prevent the values of the secrets from being logged.
What should you do?
Question 483

You use an Azure Pipelines pipeline to build and test an app named App1.
Your company's development department works in the feature branches.
You need to ensure that a pull request will merge into the main branch only when testing covers more than 90 percent of the code,
What should you do?
Question 484

You use GitHub Enterprise for source control repositories. The repositories store C# code. You need to enable CodeQL scanning for the repositories. What should you do?
Question 485

You plan to deploy a solution that will include multiple microservices.
You need to recommend a deployment strategy for the microservices The solution must meet the following requirements:
* Enable testing and monitoring of changes during a gradual rollout.
* Control the number of users that will receive new code releases.
Which strategy should you recommend?
Question 486

2You have a GitHub repository.
You need to ensure that all changes to code are validated by your company's security department before the main branch is deployed.
Which two actions can you perform? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
Question 487

You have an Azure DevOps subscription that contains the projects shown in the following table
You build apps for the projects by using Azure Pipelines.
Which two projects meet the criteria for granting free parallel jobs? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
Question 488

You have a GitHub repository that uses GitHub Actions and stores access keys by using GitHub encrypted secrets.
You plan to update the secrets by using the GitHub REST API.
You need to wrap the secrets before adding them to a REST-based call.
Which encryption library should you are that you use?
Question 489

HOTSPOT
You have a GitHub repository.
You plan to use the repository to create a container.
You need to configure GitHub Actions to deploy the container to GitHub Container Registry.
How should you complete the script? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Question