Microsoft DevOps Engineer Expert AZ-400 Practice Question

You are managing an Azure DevOps project with a default retention policy to keep runs for 30 days. For a single YAML pipeline named 'webapp-ci', you must implement a more granular policy:

  • Build records must be retained for 90 days for auditing.
  • Published pipeline artifacts must be deleted after 14 days to conserve storage.
  • The last 10 successful runs on the 'main' branch must be kept regardless of age.

A team member attempts to configure this in the azure-pipelines.yml file, but you inform them that not all requirements can be met directly in YAML. Which requirement must be configured outside of the pipeline's YAML file, in the pipeline's settings UI?

  • Deleting artifacts after 14 days while keeping the build record for 90 days.

  • Keeping the last 10 successful runs on the main branch.

  • Retaining build records for 90 days.

  • Applying the policy only to the main branch.

Microsoft DevOps Engineer Expert AZ-400
Design and implement build and release pipelines
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot