Question 1 · 91 in bank
Select 2Which choices represent best practices for publishing actions so that they can be consumed reliably? (Each correct answer presents a complete solution. Choose two.)
Show answer
Answer: BD
GitHub Actions91 questions across 10 pages are complete and free, with no account or card.
91 questions in this bank
Free access · progress saved on this device
Which choices represent best practices for publishing actions so that they can be consumed reliably? (Each correct answer presents a complete solution. Choose two.)
Answer: BD
By default, which workflows can use an action stored in internal repository? (Each answer presents a complete solution. Choose two.)
Answer: BD
How should you print a debug message in your workflow?
Answer: A
What is the simplest action type to run a shell script?
Answer: B
Which default environment variable specifies the branch or tag that triggered a workflow?
Answer: A
What is a valid scenario regarding environment secrets?
Answer: C
What is the most suitable action type for a custom action written in TypeScript?
Answer: D
As a developer, you are designing a workflow and need to communicate with the runner machine to set environment variables, output values used by other actions, add debug messages to the output logs, and other tasks. Which of the following options should you use?
Answer: E
What are two reasons to keep an action in its own repository instead of bundling it with other application code? (Each correct answer presents a complete solution. Choose two.)
Answer: BD
You are a DevOps engineer working on custom Actions development. You need to handle the 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 >> }
Answer: C
Keyboard:J Kmove between questionsA–Dselect an answerRshow or hide the answer← →change page
GH-200 practice, question 1. 91 questions available.
Version 1.0.0. How we source questions