nerdexam
Microsoft

AZ-400 · Question #606

Drag and Drop Question You have a GitHub repository named Repo1. You plan to implement continuous integration and continuous delivery (CI/CD) by using GitHub Actions. You need to create a workflow…

The correct answer is Create a project.; Create a directory named .github/workflows.; Create a YAML file.; Define the workflow in the YAML file. To create a GitHub Actions workflow, you must first create a project (repository context), then create the required directory structure '.github/workflows' (not '.workflows'), create a YAML file within that directory, and then define the workflow triggers, jobs, and steps…

Submitted by satoshi_tk· Mar 6, 2026Design and Implement Source Control and CI/CD Pipelines using GitHub Actions - specifically understanding the required directory structure and file setup process for GitHub Actions workflow automation.

Question

Drag and Drop Question You have a GitHub repository named Repo1. You plan to implement continuous integration and continuous delivery (CI/CD) by using GitHub Actions. You need to create a workflow. Which four actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order. Answer:

Exhibit

AZ-400 question #606 exhibit

Answer Area

Drag items

Create a project.Create a YAML file.Create a directory named .workflows.Define the workflow in the YAML file.Commit the YAML file to Repo1.Create a directory named .github/workflows.

Correct arrangement

  • Create a project.
  • Create a directory named .github/workflows.
  • Create a YAML file.
  • Define the workflow in the YAML file.

Explanation

To create a GitHub Actions workflow, you must first create a project (repository context), then create the required directory structure '.github/workflows' (not '.workflows'), create a YAML file within that directory, and then define the workflow triggers, jobs, and steps inside that YAML file. GitHub Actions specifically requires workflows to be placed in the '.github/workflows' directory to be recognized and executed automatically by the platform.

Topics

#GitHub Actions#CI/CD Workflows#YAML Configuration#DevOps Automation

Community Discussion

No community discussion yet for this question.

Full AZ-400 Practice