Free AZ-400 Exam Braindumps

Pass your Microsoft Azure DevOps Solutions (beta) exam with these free Questions and Answers

Page 21 of 84
QUESTION 96

- (Exam Topic 4)
You have a build pipeline in Azure Pipelines that occasionally fails.
You discover that a test measuring the response time of an API endpoint causes the failures. You need to prevent the build pipeline from failing due to The test.
Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point

  1. A. Enable Test Impact Analysis (TIA).
  2. B. Enable test slicing.
  3. C. Clear Flaky tests included in test pass percentage
  4. D. Set Flaky test detection to Off
  5. E. Manually mark the test as flaky.

Correct Answer: CE
Reference:
https://docs.microsoft.com/en-us/azure/devops/pipelines/test/flaky-test-management

QUESTION 97

- (Exam Topic 4)
You have a GitHub Enterprise account.
You need to enable push protection for secret scanning of the account repositories. What should you do first?

  1. A. Purchase Premium Plus support.
  2. B. Enforce multi-factor authentication (MFA).
  3. C. Purchase a GitHub Advanced Security license.
  4. D. Create an access policy for secrets.

Correct Answer: C

QUESTION 98

- (Exam Topic 4)
Your company has an Azure DevOps project,
The source code for the project is stored in an on-premises repository and uses on an on-premises build
server.
You plan to use Azure DevOps to control the build process on the build server by using a self-hosted agent. You need to implement the self-hosted agent.
You download and install the agent on the build server.
Which two actions should you perform next? Each correct answer presents part of the solution.

  1. A. From Azure, create a shared access signature (SAS).
  2. B. From the build server, create a certificate, and then upload the certificate to Azure Storage.
  3. C. From the build server, create a certificate, and then upload the certificate to Azure Key Vault.
  4. D. From DevOps, create a personal access token (PAT).
  5. E. From the build server, run config.cmd.

Correct Answer: DE
https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/v2-windows?view=azure-devops (Get PAT, run config)

QUESTION 99

- (Exam Topic 4)
You plan to use Azure Kubernetes Service (AKS) to host containers deployed from images hosted in a Docker Trusted Registry.
You need to recommend a solution for provisioning and connecting to AKS. The solution must ensure that AKS is RBAC-enaWed and uses a custom service principal.
Which three commands should you recommend be run in sequence? To answer, move the appropriate commands from the list of commands to the answer area and arrange them in the coned order.
AZ-400 dumps exhibit
Solution:
Step 1 : az acr create
An Azure Container Registry (ACR) can also be created using the new Azure CLI. az acr create
--name
--resource-group
--sku Basic
Step 2: az ad sp create-for-rbac
Once the ACR has been provisioned, you can either enable administrative access (which is okay for testing) or you create a Service Principal (sp) which will provide a client_id and a client_secret.
az ad sp create-for-rbac
--scopes
/subscriptions//resourcegroups//providers/Microsoft.ContainerRegistry/re
--role Contributor
--name
Step 3: kubectl create
Create a new Kubernetes Secret.
kubectl create secret docker-registry
--docker-server .azurecr.io
--docker-email
--docker-username=
--docker-password References:
https://thorsten-hans.com/how-to-use-private-azure-container-registry-with-kubernetes

Does this meet the goal?

  1. A. Yes
  2. B. No

Correct Answer: A

QUESTION 100

- (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

  1. A. Move to a blue/green deployment pattern.
  2. B. Create an agent pool.
  3. C. Create a deployment group.
  4. D. Reduce the size of the repository.
  5. E. Increase the number of parallel jobs.

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

Page 21 of 84

Post your Comments and Discuss Microsoft AZ-400 exam with other Community members: