GITHUB-ACTIONS Exam Details

  • Exam Code
    :GITHUB-ACTIONS
  • Exam Name
    :GitHub Actions Certificate Exam
  • Certification
    :GitHub Certifications
  • Vendor
    :GitHub
  • Total Questions
    :84 Q&As
  • Last Updated
    :Jul 07, 2026

GitHub GITHUB-ACTIONS Online Questions & Answers

  • Question 11:

    What can be used to set a failed status of an action from its code?

    A. @actions/github toolkit
    B. JavaScript dist/ folder
    C. Dockerfile CMD
    D. a non-zero exit code
    E. output variable
    F. composite run step

  • Question 12:

    As a developer, you need to use GitHub Actions to deploy a microservice that requires runtime access to a secure token. This token is used by a variety of other microservices managed by different teams in different repos. To minimize management overhead and ensure the token is secure, which mechanisms should you use to store and access the token? (Choose two.)

    A. Store the token in a configuration file in a private repository. Use GitHub Actions to deploy the configuration file to the runtime environment.
    B. Store the token as a GitHub encrypted secret in the same repo as the code. Create a reusable custom GitHub Action to access the token by the microservice at runtime.
    C. Use a corporate non-GitHub secret store (e.g., HashiCorp Vault) to store the token. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.
    D. Store the token as a GitHub encrypted secret in the same repo as the code. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.
    E. Store the token as an organizational-level encrypted secret in GitHub. During deployment, use GitHub Actions to store the secret in an environment variable that can be accessed at runtime.

  • Question 13:

    Which of the following is the best way for an enterprise to prevent certain marketplace actions from running?

    A. Create a list of the actions that are restricted from being used as an enterprise policy. Every other action can be run.
    B. It is not possible; if an action is in the marketplace, its use cannot be restricted.
    C. Create a list that is maintained as a . yml file in a . github repository specified in the enterprise. Only these actions can be run.
    D. Create a list of the actions that are allowed to run as an enterprise policy. Only these actions can be run.

  • Question 14:

    What are the two types of environment protection rules you can configure? (Choose two.)

    A. required reviewers
    B. branch protections
    C. wait timer
    D. artifact storage

  • Question 15:

    As a developer, your Actions workflow often reuses the same outputs or downloaded dependencies from one run to another. To cache dependencies for a job, you are using the GitHub cache action. Which input parameters are required for this action? (Choose two.)

    A. dependency: the name and version of a package to cache or restore
    B. key: the key created when saving a cache and the key used to search for a cache
    C. cache-hit: the copy action key used with restore parameter to restore the data from the cache
    D. path: the file path on the runner to cache or restore
    E. ref: the ref name of the branch to access and restore a cache created
    F. restore-keys: the copy action key used with cache parameter to cache the data

  • Question 16:

    What happens if a required secret referenced in a workflow is missing?

    A. The workflow skips the step silently.
    B. GitHub sets the secret's value to an empty string.
    C. The workflow fails immediately with an error.
    D. GitHub issues a warning but continues execution.

  • Question 17:

    Your organization needs to simplify reusing and maintaining automation in your GitHub Enterprise Cloud. Which components can be directly reused across all repositories in an organization? (Choose three.)

    A. self-hosted runners
    B. actions stored m private repositories in the organization
    C. encrypted secrets
    D. custom Docker actions stored in GitHub Container Registry
    E. actions stored in an organizational partition in the GitHub Marketplace
    F. workflow templates

  • Question 18:

    Which GitHub Actions command can mask sensitive data from appearing in logs?

    A. ::secure::
    B. ::hide::
    C. ::add-mask::
    D. ::secret::

  • Question 19:

    Disabling a workflow allows you to stop a workflow from being triggered without having to delete the file from the repo. In which scenarios would temporarily disabling a workflow be most useful? (Choose two.)

    A. A workflow sends requests to a service that is down.
    B. A workflow error produces too many, or wrong, requests, impacting external services negatively.
    C. A workflow is configured to run on self-hosted runners
    D. A workflow needs to be changed from running on a schedule to a manual trigger
    E. A runner needs to have diagnostic logging enabled.

  • Question 20:

    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. Option A
    B. Option B
    C. Option C
    D. Option D

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only GitHub exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your GITHUB-ACTIONS exam preparations and GitHub certification application, do not hesitate to visit our Vcedump.com to find your solutions here.