As a developer, what options should you recommend to implement standards for automation reuse? (Choose two.)
You are a DevOps engineer working on custom Actions development. You need to handle errors or exceptions as part of the JavaScript-based action code. What should be added to the following code block to handle errors?
const core = require( ' @actions/core ' );
try {
// action code
} catch (error) {
// insert snippet here
}
How many jobs will result from the following matrix configuration?
As a developer, you are optimizing a GitHub workflow that uses and produces many different files. You need to determine when to use caching versus workflow artifacts. Which two statements are true? (Choose two.)
Which of the following scenarios would require the use of self-hosted runners instead of GitHub-hosted runners?
What is the simplest action type to run a shell script?
Which two actions ensure that a GitHub Actions workflow can be triggered manually? Each correct answer presents a complete solution.
NOTE: Each correct selection is worth one point.
You have a GitHub Enterprise Server instance that hosts a custom action repository named action1. Production workflows use the actions in action1 as action1@vl. The current stable release of action1 is vl.8.4.
You need to publish a new release of action1 with version number v2.0.0 that changes an input name and includes release assets. The solution must meet the following requirements:
• Ensure that existing consumers of v1 continue to receive backward-compatible updates.
• Prevent changes to the published V2.0.0 release assets and release tag after publication.
What should you do for each requirement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

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.)
As a developer, you are configuring GitHub Actions to deploy VMs to production. A member of the VMOps team must provide approval before the deployment occurs. Which two steps should you take? Each correct answer presents part of the solution.
NOTE: Each correct answer is worth one point.
TESTED 27 Nov 2026