nerdexam
MicrosoftMicrosoft

AZ-400 · Question #362

AZ-400 Question #362: Real Exam Question with Answer & Explanation

Sign in or unlock AZ-400 to reveal the answer and full explanation for question #362. The question stem and answer options stay visible for context.

Submitted by luis.pe· Mar 6, 2026Design and implement build and release pipelines

Question

You have a project in Azure DevOps. You create the following YAML template named Template1.yml. steps: - script: npm install - script: yarn install - script: npm run compile You create the following pipeline named File1.yml. parameters: usersteps: - task: MyTask@1 - script: echo Done You need to ensure that Template1.yaml runs before File1.yml. How should you update File1.yml?

Options

  • Aparameters: usersteps: extends: template: template1.yml
  • Btemplate: template1.yml parameters: usersteps:
  • Cextends: template: templatel.yml parameters: usersteps:
  • Dparameters: usersteps: - template: templatel.yml

Unlock AZ-400 to see the answer

You've previewed enough free AZ-400 questions. Unlock AZ-400 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Full AZ-400 PracticeBrowse All AZ-400 Questions