nerdexam
MicrosoftMicrosoft

GH-200 · Question #81

GH-200 Question #81: Real Exam Question with Answer & Explanation

The correct answer is A: Composite action. {"question_number": 9, "correct_answer": "A", "explanation": "A composite action allows you to combine multiple workflow steps - including shell run steps, other actions, and environment setup - into a single reusable custom action defined in an action.yml file. The runs.using: '

Author and Maintain Actions

Question

Which action type should be used to bundle a series of run steps into a reusable custom action?

Options

  • AComposite action
  • BBash script action
  • CDocker container action
  • DJavaScript action

Explanation

{"question_number": 9, "correct_answer": "A", "explanation": "A composite action allows you to combine multiple workflow steps - including shell run steps, other actions, and environment setup - into a single reusable custom action defined in an action.yml file. The runs.using: 'composite' setting enables this pattern. This makes composite actions the right choice when you want to package a series of run commands and steps without writing JavaScript or building a Docker container. Docker container actions and JavaScript actions require additional infrastructure, and 'Bash script action' is not a formal GitHub Actions type.", "generated_by": "claude-sonnet", "llm_judge_score": 4}

Topics

#Custom Actions#Composite Actions#Reusable Actions#GitHub Actions

Community Discussion

No community discussion yet for this question.

Full GH-200 PracticeBrowse All GH-200 Questions