Question 1
During a release readiness rehearsal at a regional hospital technology unit, engineers observe the following: A release workflow runs for pushes to every branch although only the protected release branch should package production artifacts. Which change is the most direct correction for this problem?
Explanation
Correct Answer
The targeted change is appropriate because the push event has no branch filter, so ordinary feature commits satisfy its trigger. It leads directly to a checkable outcome: Commits on feature branches skip release packaging while approved release-branch commits start it.
Incorrect Answers
This adjustment addresses Cross job artifact handoff instead. For a regional hospital technology unit, the reported problem is caused by: The push event has no branch filter, so ordinary feature commits satisfy its trigger.
The proposal may suit PostgreSQL service container, but it does not resolve the mechanism visible at a regional hospital technology unit: The push event has no branch filter, so ordinary feature commits satisfy its trigger.
This adjustment addresses Job needs dependency instead. For a regional hospital technology unit, the reported problem is caused by: The push event has no branch filter, so ordinary feature commits satisfy its trigger.



GitHub Actions (GH-200) Practice Tests