GH-200 · Question #68
GH-200 Question #68: Real Exam Question with Answer & Explanation
The correct answer is A: top level.. {"question_number": 6, "correct_answer": "A, B, E", "explanation": "In a GitHub Actions workflow YAML file, environment variables can be scoped at three levels: (A) top/workflow level using env: at the root of the workflow file - applies to all jobs and steps; (E) job level using
Question
Custom environment variables can be defined at multiple levels within a workflow file including: (Each answer presents a complete solution. Choose three.)
Options
- Atop level.
- Bstep level.
- Cdefault level.
- Drunner level.
- Ejob level.
- Fstage level.
Explanation
{"question_number": 6, "correct_answer": "A, B, E", "explanation": "In a GitHub Actions workflow YAML file, environment variables can be scoped at three levels: (A) top/workflow level using env: at the root of the workflow file - applies to all jobs and steps; (E) job level using env: under a specific job - applies to all steps within that job; (B) step level using env: under a specific step - applies only to that step. 'Default level' (C) and 'stage level' (F) are not valid GitHub Actions scoping levels. 'Runner level' (D) refers to OS-level environment, not a workflow file configuration level.", "generated_by": "claude-sonnet", "llm_judge_score": 4}
Topics
Community Discussion
No community discussion yet for this question.