nerdexam
MicrosoftMicrosoft

GH-200 · Question #24

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

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

Author and Maintain Workflows

Question

In the following workflow file, line 5 interprets lines 3 and 4 as Python. Which of the following is a valid option to complete line 5? 1 steps: 2 - run: | 3 import os 4 print(os.environ['PATH']) 5

Options

  • Ashell: python
  • Bworking-directory: .github/python
  • Cshell: bash
  • Dwith: python

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 syntax#Shell interpreter#Python workflows#Run step configuration
Full GH-200 PracticeBrowse All GH-200 Questions