As a developer, you want to run a workflow from the Actions tab in GitHub. Which YAML snippet should you use to match the interface in this image?
Answer(s): C
The first image shows a workflow trigger with an option for the test suite, and the chosen YAML configuration matches this interface. Specifically, the test suite input is defined with type: choice and includes the option value: functional, which aligns with the visible UI elements in the first image.
How many jobs will result from the following matrix configuration?
Answer(s): D
The matrix configuration specifies two variables: color and animal. The color variable has 2 values (green and pink), and the animal variable has 2 values (owl and magpie). This would result in 4 more combinations (color: blue and animal: owl; color: pink and animal: magpie).
As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.)
Answer(s): A,B,D
A . Use the actions/setup-docker actionB . Authenticate to the GitHub Container Registry.C . Build the container image.D . Push the image to the GitHub Container RegistryE . Pull the image from the GitHub Container Registry.
As a developer, you have a 10-MB data set that is required in a specific workflow. Which steps should you perform so the dataset is stored encrypted and can be decrypted during the workflow? (Choose three.)
Answer(s): A,C,D
First, the dataset should be encrypted before being stored. This ensures that the data is protected when stored in a repository.The encrypted dataset can be stored in a GitHub secret, ensuring it is securely kept and not exposed publicly.The encryption key needed to decrypt the dataset should also be stored in a GitHub secret to maintain security during the workflow, allowing access only when needed.
Post your Comments and Discuss GitHub GitHub-Actions exam with other Community members:
Ian Hoskings Commented on December 04, 2024 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
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.