What is the minimal syntax for declaring an output named foo for an action?

What is the minimal syntax for declaring an output named foo for an action? A) B) C) D) A . Option AB . Option BC . Option CD . Option DView AnswerAnswer: C Explanation: The correct minimal syntax for declaring an output in GitHub Actions is by using the foo...

April 28, 2025 No Comments READ MORE +

Which code block should be used to define the cleanup script?

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) A . Option AB . Option BC . Option CD . Option...

April 28, 2025 No Comments READ MORE +

As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.)

As a developer, which workflow steps should you perform to publish an image to the GitHub Container Registry? (Choose three.) A. Use the actions/setup-docker action B. Authenticate to the GitHub Container Registry. C. Build the container image. D. Push the image to the GitHub Container Registry E. Pull the image...

April 15, 2025 No Comments READ MORE +

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

GitHub-hosted runners support which capabilities? (Choose two.)A . automatic patching of both the runner and the underlying OSB . automatic file-system caching between workflow runsC . support for Linux, Windows, and macD . support for a variety of Linux variations including CentOS, Fedora, and DebianE . requiring a payment mechanism...

April 8, 2025 No Comments READ MORE +

What should you do to prevent the storage limit from being reached?

You are reaching your organization's storage limit for GitHub artifacts and packages. What should you do to prevent the storage limit from being reached?A . via the .github repository owned by the organizationB . via repositories owned by the organizationC . via the GitHub MarketplaceD . via a repository owned...

April 5, 2025 No Comments READ MORE +

What is the fastest and safest way to begin?

You need to create new workflows to deploy to an unfamiliar cloud provider. What is the fastest and safest way to begin?A . Create a custom action to wrap the cloud provider's CLI.B . Search GitHub Marketplace for verified actions published by the cloud provider.C . Use the actions/jenkins-plugin action...

April 3, 2025 No Comments READ MORE +

Which requirements must you check to ensure that the self-hosted runner is properly configured?

You are a developer, and your container jobs are failing on a self-hosted runner. Which requirements must you check to ensure that the self-hosted runner is properly configured? (Choose two.)A . The self-hosted runner is running a Linux operating system.B . The self-hosted runner is running a Windows operating system.C...

March 25, 2025 No Comments READ MORE +

Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)

Which choices represent best practices for publishing actions so that they can be consumed reliably? (Choose two.)A . repo nameB . tagC . commit SHAD . organization nameE . default branchView AnswerAnswer: B, C Explanation: Using a tag is a best practice because tags are immutable and represent a fixed...

March 22, 2025 No Comments READ MORE +

In which scenarios could the GITHUB_TOKEN be used? (Choose two.)

In which scenarios could the GITHUB_TOKEN be used? (Choose two.)A . to leverage a self-hosted runnerB . to create a repository secretC . to publish to GitHub PackagesD . to create issues in the repoE . to read from the file system on the runnerF . to add a member...

March 20, 2025 No Comments READ MORE +

Which statement is true about using default environment variables?

Which statement is true about using default environment variables?A . The environment variables can be read in workflows using the ENV: variable_name syntax.B . The environment variables created should be prefixed with GITHUB_ to ensure they can be accessed in workflowsC . The environment variables can be set in the...

March 19, 2025 No Comments READ MORE +