MSBA-308 · Lesson 12 of 12 · 46 min
Final review
▶ Video coming soon A video version of this lesson is on the way.
The last readiness session was on Friday, November 20, 2026. Priya had written a final timed set of 15 mixed questions, three from each domain, roughly in proportion to how the exam blends them. Lena answered it in 25 minutes with the whiteboard routine from lesson 8 and the reading habits from lesson 9, then the two of them reviewed every question, right or wrong. This lesson reproduces the set and the review. Answer each question yourself before reading the explanation, and time yourself: 25 minutes for 15 questions is a little faster than the exam's pace, which leaves room for nerves on the day.
Part 1: authoring workflows
Worked problem
Question 1
A workflow_dispatch input named deploy is declared as type boolean with default false. A step has if: github.event.inputs.deploy == true. A user runs the workflow with deploy ticked. Does the step run? What is the fix?
Show solution
- github.event.inputs returns input values as strings, so the value is the string true.
- A string compared with the boolean true is not equal, so the step is skipped.
- Read the input through the inputs context, which keeps the boolean type: if: inputs.deploy.
Answer: No. Use the inputs context, for example if: inputs.deploy, so the value stays a boolean.
Worked problem
Question 2
A job needs a Redis service for its tests and runs directly on an ubuntu-latest runner, not in a container. How do the tests reach Redis?
Show solution
- Define Redis under services with a ports mapping, for example 6379:6379.
- Because the job runs on the runner itself, the service is reached through localhost and the mapped port.
- Add health check options so the job waits until Redis is ready.
Answer: Through localhost on the mapped port, with a health check so tests start only when Redis is ready.
Worked problem
Question 3
Which file should a step write to so that a later job can use a value, and what else is needed?
Show solution
- The step writes name=value to the file named by GITHUB_OUTPUT.
- The job declares an outputs mapping that reads the step output through the steps context.
- The later job declares needs on the first job and reads the value through the needs context.
Answer: GITHUB_OUTPUT, plus a job-level outputs mapping and needs in the consuming job.
Part 2: troubleshooting
Worked problem
Question 4
A workflow with on: push: branches: [main] and paths-ignore: ['docs/**'] does not run when someone pushes a commit to main that changes docs/intro.md and README.md. Why not?
Show solution
- paths-ignore skips the run only if every changed file matches an ignored pattern.
- README.md does not match docs/**, so not every file is ignored.
- So the filter should not stop the run; something else did.
- Check whether the workflow is disabled, whether the file exists on main, and whether the push was made with GITHUB_TOKEN by another workflow, which does not trigger new runs.
Answer: Not because of paths-ignore, since README.md is not ignored. Check whether the workflow is disabled or the push came from GITHUB_TOKEN.
Worked problem
Question 5
In a matrix of three operating systems with fail-fast left at its default, the macOS job fails and the Windows job shows as cancelled. A colleague says Windows is broken too. Is that right?
Show solution
- fail-fast defaults to true and cancels jobs still running when one fails.
- A cancelled job did not finish, so it says nothing about whether Windows works.
- Rerun with fail-fast: false, or rerun the cancelled job, to find out.
Answer: No. The Windows job was cancelled by fail-fast, not failed; rerun it to know.
Worked problem
Question 6
A team copies an organization workflow template into ten repositories. The platform team later fixes a bug in the template. Which repositories get the fix?
Show solution
- A workflow template is a starter workflow: it is copied when used.
- Copies are independent of the template after creation.
- To make fixes reach every repository automatically, the shared logic should be a reusable workflow called by ref.
Answer: None of the existing ten; only new copies. Use a reusable workflow for central fixes.
Part 3: building actions
Worked problem
Question 7
An action must run on Windows, macOS and Linux runners and start quickly. A developer proposes a Docker action so the tools are identical everywhere. What is the problem?
Show solution
- Docker container actions run only on Linux runners.
- So the action would fail on Windows and macOS.
- A JavaScript action using node24 runs on all three and starts quickly.
Answer: Docker actions are Linux-only; use a JavaScript action.
Worked problem
Question 8
A composite action declares an output count, but callers always see it empty. The step that computes it has id: tally and writes count to GITHUB_OUTPUT. What is missing?
Show solution
- Composite outputs must map to a step output with a value field.
- The metadata needs value pointing at the tally step's count output, through the steps context.
Answer: A value mapping on the output that reads the tally step's count output.
Worked problem
Question 9
A publisher releases v3.0.0 with a breaking change. Callers use @v2. What should happen to the v2 and v3 tags?
Show solution
- Breaking changes belong in a new major version.
- Create v3 pointing at v3.0.0.
- Leave v2 pointing at the last v2 release, so existing callers are not broken.
Answer: Add v3 for the new release and leave v2 unchanged.
Part 4: enterprise management
Worked problem
Question 10
An enterprise allows only actions from inside the enterprise plus a selected list. An organization owner tries to allow all actions for one organization. What happens?
Show solution
- Policies flow down from the enterprise.
- An organization can tighten but not loosen what the enterprise allows.
Answer: The organization cannot allow more than the enterprise permits.
Worked problem
Question 11
A self-hosted runner with licensed software is registered in the organization's default runner group. Why is that a risk, and what should change?
Show solution
- The default group may be available to many repositories, possibly including public ones.
- Any workflow in those repositories could run on the machine.
- Move the runner to its own group limited to the repositories, and ideally the workflows, that need it, with public repositories not allowed.
Answer: Too many repositories can use it; move it to a restricted runner group.
Worked problem
Question 12
A secret called API_URL exists at the organization, repository and production environment levels with different values. A job in that repository references the production environment. Which value does it get?
Show solution
- When a name exists at several levels, the most specific wins.
- The job references the environment, so the environment value applies once its rules pass.
Answer: The production environment's value.
Part 5: securing and optimizing
Worked problem
Question 13
A step runs echo with github.event.issue.title expanded directly in the run script. What is the risk, and what is the fix?
Show solution
- The title is untrusted text written by anyone who opens an issue.
- Expanded into the script before the shell runs, it can become part of the command.
- Pass it through env and refer to the quoted environment variable in the script.
Answer: Script injection; move the title into an environment variable and quote it.
Worked problem
Question 14
A deployment job uses OIDC. It worked until the team added environment: production to the job. Now the cloud rejects the token. Why?
Show solution
- With an environment, the token's subject claim names the environment rather than the branch.
- The cloud trust policy still expects the branch form of the subject.
- Update the trust policy to accept the production environment subject.
Answer: The subject claim changed; update the cloud trust policy to match the environment.
Worked problem
Question 15
A repository's test workflow takes 30 minutes and runs on every push, including pushes that change only Markdown files in docs. Builds also download all dependencies each time. Which two changes save the most?
Show solution
- A paths-ignore filter for docs stops the workflow running for documentation-only pushes.
- Caching dependencies keyed by the lock file's hash shortens the runs that remain.
Answer: A paths-ignore filter for docs, and dependency caching keyed on the lock file.
The review
Lena scored 13 of 15. She missed question 4, choosing paths-ignore as the cause before noticing that README.md was outside the ignored folder, and question 14, where she knew OIDC well but had forgotten that environments change the subject claim, the same mistake she made in lab 12. Both went into the error log with causes: a reading error and a detail gap. Priya pointed out that neither was a knowledge gap, which was the best possible sign three weeks before an exam.
A final checklist
| Area | Check |
|---|---|
| Outline | Every bullet rated two or three, with recent hands-on practice where possible |
| Error log | Reviewed; flash cards for look-alikes and details |
| Reading | Last sentence first, limiting words marked, constraints listed, YAML routine |
| Pacing | Checkpoints for 50 to 60 questions in 100 minutes, 10 minutes kept for review |
| Logistics | Personal account, ID matches, system test run, room ready |
| Rest | Nothing new in the last 24 hours |
Priya closed the session the way she had opened the first one. "You built most of this exam at Tidewater this autumn," she said. "The sessions were about making sure you can show it in 100 minutes." Lena's exam remained booked for the second week of December, with the rest of her plan from lesson 11 still to follow.
Reading the score report
Priya spent the last part of the session on what happens after the exam. The score report shows a scaled score from 1 to 1,000, with 700 to pass, and a bar for each domain. The domain bars are not percentages and do not add up to the total, but they show relative strength. If the result is a pass, the bars still say where to keep learning. If it is a fail, they are the starting point for the next plan: the lowest bar, weighted by its share of the exam, gets most of the time.
Lena also asked whether she should keep practising after the final set. Priya's answer was yes, but differently: no more new question sets, which would only add noise, but short daily labs on the four twos left in her spreadsheet and the flash cards from her error log. Keeping her hands on the features matters more in the last days than seeing more questions.
How the three courses fit
This readiness course is the last in the GitHub Actions program. Authoring and Troubleshooting GitHub Actions Workflows taught the authoring and troubleshooting skills behind the first two domains. Managing and Securing GitHub Actions in the Enterprise taught the policies, runners, secrets, OIDC, pinning and attestations behind the last two. Building Custom Actions covered the actions domain. This course did not add much new material; it turned that material into exam answers. If a lesson here felt thin on a topic, the earlier course is the place to go back to.
The days that followed
For the days after the final review, the third phase of the plan Lena had written was clear: flash cards each morning, the four labs she still rated two, the Pearson VUE system test, and a check that the name on her Microsoft profile matched her photo ID. It included no further practice sets. Her exam was still to come in the second week of December, and the plan for the day was simple: read the last sentence first, list the constraints, use the reading routine for every snippet, check the clock at three points and change an answer only for a named reason.
Priya's last advice was about the questions Lena could not answer on the day. Some would come; every candidate meets a few. The rule was to answer them anyway, since there is no penalty for a wrong answer, eliminate what she could, flag them, and move on without letting one hard question affect the next. A steady pace over the whole exam earns more marks than a perfect answer to one difficult item.
Common mistakes
MistakeReviewing only the questions you got wrong.
InsteadReview every question; a right answer for the wrong reason is a future miss.
MistakeTreating a final practice score as a guarantee.
InsteadUse it to confirm readiness and find the last details to fix.
MistakeRepeating a mistake from a lab because you did not log it.
InsteadLog every surprise, in labs and in practice sets.
Summary and key terms
- A final mixed set should cover every domain and be slightly faster than exam pace.
- Review every question, logging the cause of each miss.
- Most remaining misses for an experienced candidate are reading errors and details.
- Confirm the outline, error log, reading habits, pacing, logistics and rest before the exam.
- This course completes the GitHub Actions path: workflows, troubleshooting, actions, enterprise management and security.
- Mixed set
- A practice set with questions from every domain.
- Full review
- Going through every answer, right or wrong, and the reasoning behind it.
- Readiness
- The point where practice scores, ratings and the error log all show no major gaps.
- Subject claim
- The part of an OIDC token that identifies the repository and context.
- paths-ignore
- A trigger filter that skips a run only when every changed file matches an ignored pattern.
- Default runner group
- The runner group new runners join unless placed elsewhere.
Practice problems
Work each problem on paper first, then reveal the answer to check.
When does paths-ignore stop a push from triggering a workflow?
Show answer
Only when every changed file matches an ignored pattern.
Why does adding an environment to an OIDC job sometimes break cloud login?
Show answer
The subject claim names the environment, which the trust policy may not accept.
Why should you review questions you got right?
Show answer
To check you got them right for the right reason.
Lesson quiz · 5 questions
Score 60% or more to complete this lesson.
Create a free account to save your progress, take quizzes and earn a certificate.