nerdexam
MicrosoftMicrosoft

GH-200 · Question #80

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

Sign in or unlock GH-200 to reveal the answer and full explanation for question #80. The question stem and answer options stay visible for context.

Author and Maintain Actions

Question

While writing a custom action, some behavior within the runner must be changed. Which workflow commands would set an error message in the runner's output? (Each correct answer presents a complete solution. Choose two.)

Options

  • Aecho "::error file=main.py,line=10,col=15::There was an error"
  • Becho "::error=There was an error::"
  • Cecho "::error::There was an error"
  • Decho "::error message=There was an error::"

Unlock GH-200 to see the answer

You've previewed enough free GH-200 questions. Unlock GH-200 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.

Topics

#Workflow commands#GitHub Actions syntax#Error logging#Custom actions
Full GH-200 PracticeBrowse All GH-200 Questions