1. Home
  2. Microsoft
  3. GH-200 Exam Info
  4. GH-200 Exam Questions

Ace Microsoft GitHub Actions Exam GH-200: Your Blueprint to CI/CD Mastery

Ready to revolutionize your DevOps career? Our comprehensive Microsoft GitHub Actions Exam GH-200 practice questions are your secret weapon. Crafted by industry experts, these materials go beyond mere memorization, immersing you in real-world scenarios that mirror the exam's complexity. Whether you prefer the portability of PDFs, the interactivity of web-based tools, or the robust features of desktop software, we've got you covered. Don't let imposter syndrome hold you back – join thousands of successful candidates who've leveraged our resources to land coveted roles in continuous integration and deployment. With the rising demand for automation wizards, your GH-200 certification could be the key to unlocking prestigious positions and higher salaries. Time is ticking, and spots for the next exam date are filling fast. Invest in your future today and transform from code contributor to workflow orchestrator!

Question 1

Which files are required for a Docker container action in addition to the source code? (Choose two.)


Correct : A, D

Dockerfile: The Dockerfile is required for Docker container actions. It defines the environment for the action, specifying the base image, dependencies, and any commands to set up the action's runtime inside the container.

action.yml: The action.yml file is required for all GitHub Actions, including Docker container actions. It contains metadata about the action, including the inputs, outputs, and the runtime environment (which in this case is Docker, defined under runs.using).


Options Selected by Other Users:
Mark Question:

Start a Discussions

Submit Your Answer:
0 / 1500
Question 2

As a DevOps engineer, you are trying to leverage an organization secret in a repo. The value received in the workflow is not the same as that set in the secret. What is the most likely reason for the difference?


Correct : A

GitHub secrets are defined at different levels: organization, repository, and sometimes at the workflow level. If a secret is defined at both the organization level and the repository level, the repository-level secret will take precedence. So, if the value of the secret differs between these levels, the workflow will use the value from the repository level instead of the organization level.


Options Selected by Other Users:
Mark Question:

Start a Discussions

Submit Your Answer:
0 / 1500
Question 3

As a developer, you need to integrate a GitHub Actions workflow with a third-party code quality provider that uses the Checks API. How should you trigger a follow-up workflow?


Correct : B

The check_run event is triggered when a check (such as a code quality check) completes, including when the status of a check changes. By adding this event as a trigger, you can initiate a follow-up workflow when the code quality integration finishes its checks.


Options Selected by Other Users:
Mark Question:

Start a Discussions

Submit Your Answer:
0 / 1500
Question 4

As a DevOps engineer, you are developing a container action. You need to execute a cleanup script after completing the main script execution. Which code block should be used to define the cleanup script?

A.

B.

C.

D.


Correct : A

The correct syntax for specifying a cleanup script to be run after the main entry point is executed in a Docker-based GitHub Action is to use the post key. This ensures that cleanup.sh runs after the main script (main.sh) has completed.


Options Selected by Other Users:
Mark Question:

Start a Discussions

Submit Your Answer:
0 / 1500
Question 5

GitHub-hosted runners support which capabilities? (Choose two.)


Correct : C, D

GitHub-hosted runners automatically handle patching, meaning they will be kept up to date with the latest security updates and software patches for both the runner environment and the underlying operating system.

GitHub-hosted runners support Linux, Windows, and macOS, giving you flexibility to run workflows on different operating systems without needing to manage your own self-hosted runners.


Options Selected by Other Users:
Mark Question:

Start a Discussions

Submit Your Answer:
0 / 1500
Page:    1 / 15   
Total 72 questions