200-901 Application Deployment and Security Practice Question
A developer commits code to a GitHub repository and wants automated tests to run, followed by building a Docker image and pushing it to Docker Hub only if tests pass. Which CI/CD tool can be configured using a YAML file placed in the .github/workflows directory?
⚠ Common exam trap
Watch out — candidates often confuse the directory structure for different CI/CD tools (e.g., `.circleci/config.yml` for CircleCI or `.gitlab-ci.yml` for GitLab CI) and incorrectly assume any YAML-based CI tool can use the `.github/workflows` path, which is exclusive to GitHub Actions.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
GitHub Actions
GitHub Actions is the only CI/CD tool among the options that uses a YAML workflow file placed in the `.github/workflows` directory within the repository. This allows developers to define automated triggers (e.g., on push) to run tests, build a Docker image, and push it to Docker Hub only if tests pass, all natively integrated with GitHub.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Jenkins
Why it's wrong here
Incorrect. Jenkins uses Jenkinsfile, not .github/workflows.
- ✗
CircleCI
Why it's wrong here
Incorrect. CircleCI uses .circleci/config.yml.
- ✓
GitHub Actions
Why this is correct
Correct. GitHub Actions workflows are defined in .github/workflows.
- ✗
GitLab CI
Why it's wrong here
Incorrect. GitLab CI uses .gitlab-ci.yml at the root.
Go deeper
Related to this question
About these practice questions
This 200-901 question is part of Courseiva's 989-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This 200-901 practice question is part of Courseiva's free Cisco certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the 200-901 exam.