Knowledge check

Completed

The R&D team at your toy company has asked you to help them with their pipeline definition. Here's the YAML file:

trigger:
  branches:
    include:
    - main
    - releases/*
  paths:
    include:
    - templates
    exclude:
    - templates/README.md

pool:
  vmImage: ubuntu-latest

steps:
  - task: AzureResourceManagerTemplateDeployment@3
    inputs:
      connectedServiceName: ResearchSubscription
      location: westus3
      resourceGroupName: ResearchDevelopment
      csmFile: deploy/main.bicep
      overrideParameters: >
        -environmentType Production
1.

You want to modify the pipeline YAML file so that it follows best practices. What should you do?

2.

Which of these situations will trigger the R&D team's pipeline to run?

3.

Which of the following statements is true?

4.

You have a Bicep file that deploys a new App Service plan and an app to a resource group in Azure. Which of the following tasks can you use to deploy the Bicep file?