What are the two ways to pass data between jobs? (Choose two.)
Answer(s): E,F
Job outputs are used to pass data from one job to another in a workflow. A job can produce output values (like variables or files), which can be referenced by subsequent jobs using the needs keyword and ${{ steps.step_id.outputs.output_name }} syntax.Artifact storage allows data (such as files or results) to be saved by a job and then retrieved by another job in a later step. This is commonly used for passing large amounts of data or files between jobs.
You installed specific software on a Linux self-hosted runner. You have users with workflows that need to be able to select the runner based on the identified custom software. Which steps should you perform to prepare the runner and your users to run these workflows? (Choose two.)
Answer(s): B,C
Once the runner is properly configured and labeled, users should be informed to select the specific runner by identifying the label or group name when defining the runner in their workflows.Adding a custom label (like custom-software) to the runner makes it easier for users to select the runner in their workflows by using the runs-on key, which allows them to choose this specific runner based on its label.
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.)
Answer(s): B,C,F
Actions stored in private repositories within the organization can be reused across all repositories by referencing them in workflows. This ensures a centralized way of maintaining custom actions. Encrypted secrets can be accessed across repositories in the same organization, making it easy to store sensitive data (like API keys or tokens) securely while allowing multiple workflows to access them.Workflow templates allow you to create reusable templates for workflows that can be shared across repositories within the organization. This makes it easier to standardize processes and automate them across multiple projects.
In which locations can actions be referenced by workflows? (Choose three.)
Answer(s): A,C,D
Actions can be stored in a separate public repository and referenced in workflows by specifying the repository and action name.Actions can also be stored in the same repository as the workflow and referenced directly by their path (e.g., ./.github/actions/my-action).Actions can be packaged as Docker container images and published to Docker Hub. These can then be referenced in workflows by specifying the Docker image.
Post your Comments and Discuss GitHub GitHub-Actions exam with other Community members:
Ian Hoskings commented on January 23, 2025 Hi I purchased the CKA exam and should have got the Github Actions exams as well. The Github exam is not downloading, can you advise please UNITED KINGDOM upvote
Our website is free, but we have to fight against bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the GitHub-Actions content, but please register or login to continue.