Go Back on AZ-400 Exam
Available in 1, 3, 6 and 12 Months Free Updates Plans
PDF: $15 $60

Test Engine: $20 $80

PDF + Engine: $25 $99

AZ-400 Practice Test


Page 37 out of 98 Pages

Topic 4: Mix Questions Set

Your company has an Azure DevOps project that produces Node Package Manager (npm) packages. Multiple projects consume the packages. You need to minimize the amount of disk space used by older packages in Azure Artifacts. What should you modify?


A. the retention settings of the project's pipeline


B. the retention settings of the project's release


C. the retention settings of the project's tests


D. the retention settings of the company pipeline





A.
  the retention settings of the project's pipeline

Explanation: To minimize the amount of disk space used by older packages in Azure Artifacts, you should modify the retention settings of the project's release. This can be done by navigating to the project's release settings and adjusting the retention policy. For more information, please refer to the Microsoft documentation.

Your company has a release pipeline in an Azure DevOps project. You plan to deploy to an Azure Kubernetes Services (AKS) cluster by using the Helm package and deploy task. You need to install a service in the AKS namespace for the planned deployment. Which service should you install?


A. Azure Container Registry


B. Chart


C. Kubectl


D. Tiller





D.
  Tiller

Explanation: Before you can deploy Helm in an RBAC-enabled AKS cluster, you need a service account and role binding for the Tiller service.

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 users to test new features by using a specific URL.
  • Minimize the effort required to promote a test version to production.
  • Minimize the effort required to revert production code to the previous version.
Which strategy should you recommend?


A. A/B


B. feature toggle


C. progressive exposure


D. blue/green





A.
  A/B

You manage an Azure web app that supports an e-commerce website. You need to increase the logging level when the web app exceeds normal usage patterns. The solution must minimize administrative overhead. Which two resources should you include in the solution? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.


A. an Azure Automation run book


B. an Azure Monitor alert that has a dynamic threshold


C. an Azure Monitor alert that has a static threshold


D. the Azure Monitor auto scale settings


E. an Azure Monitor alert that uses an action group that has an email action





A.
  an Azure Automation run book

B.
  an Azure Monitor alert that has a dynamic threshold

Explanation:
A: You can use Azure Monitor to monitor base-level metrics and logs for most services in Azure. You can call Azure Automation run books by using action groups or by using classic alerts to automate tasks based on alerts.
B: Metric Alert with Dynamic Thresholds detection leverages advanced machine learning (ML) to learn metrics' historical behavior, identify patterns and anomalies that indicate possible service issues. It provides support of both a simple UI and operations at scale by allowing users to configure alert rules through the Azure Resource Manager API, in a fully automated manner.

You are integrating Azure Pipelines and Microsoft Teams. You install the Azure Pipelines app in Microsoft Teams. You have an Azure DevOps organization named Contoso that contains a project name Project1. You subscribe to Project1 in Microsoft Teams. You need to ensure that you only receive events about failed builds in Microsoft Teams. What should you do first?


A. From Microsoft Teams, tun @azure pipelines subscribe
https://dev.azure.com/Contoso/Project1.


B. From Microsoft Teams, run @azure pipelines subscriptions.


C. From Azure Pipelines, enable continuous integration for Project1


D. From Azure Pipelines, add a Publish Build Artifacts task to Project1.





A.
  From Microsoft Teams, tun @azure pipelines subscribe
https://dev.azure.com/Contoso/Project1.

Explanation:
To start monitoring all pipelines in a project, use the following command inside a channel:
@azure pipelines subscribe [project url]
The project URL can be to any page within your project (except URLs to pipelines).
For example:
@azure pipelines subscribe https://dev.azure.com/myorg/myproject/


Page 37 out of 98 Pages
Previous