Skip to exam content
← All Exams
Techclick Infosec
GitHub Actions Security logo

GHA-SEC Practice Test

OIDC · Secrets · Permissions · Reusable Workflows · Supply Chain · Branch Protection

50 questions · 75 min · 70% Techclick practice target

50
Questions
75
Minutes
70%
Techclick Practice Target

⚠️ Exam Rules

  • Once started, the timer cannot be paused
  • You can navigate freely — use Previous or the Navigator panel to revisit any question
  • Tab-switching triggers warnings (3 strikes = auto-submit)
  • Right-click and copy disabled during exam
  • If you fail, retry — questions and options reshuffle

GHA-SEC practice test: what's covered

Questions in this Techclick bank50
Timer75 min
Techclick practice target70%
Official exam codeGHA-SEC

Free GHA-SEC sample questions

  1. A security engineer needs to stop pull requests from untrusted forks from exfiltrating secrets during a controlled production rollout. Which response is the BEST fit?

    • A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with change evidence recorded
    • B. expose all repository secrets to pull_request_target from forks by default — with change evidence recorded
    • C. disable all CI checks for external contributors — with change evidence recorded
    • D. store production cloud keys in workflow source as plain text — with change evidence recorded
    Show answer

    Correct: A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with change evidence recorded is the best answer because fork PR trust boundaries prevent secret theft via malicious workflows. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes trigger type, secret context, and environment gate.

  2. An administrator must stop pull requests from untrusted forks from exfiltrating secrets while investigating an urgent support case. Which action should be taken first?

    • A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — after confirming scope and ownership
    • B. expose all repository secrets to pull_request_target from forks by default — after confirming scope and ownership
    • C. disable all CI checks for external contributors — after confirming scope and ownership
    • D. store production cloud keys in workflow source as plain text — after confirming scope and ownership
    Show answer

    Correct: A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — after confirming scope and ownership is the best answer because fork PR trust boundaries prevent secret theft via malicious workflows. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes trigger type, secret context, and environment gate.

  3. A company plans to stop pull requests from untrusted forks from exfiltrating secrets during an audit-readiness review. Which design best meets the requirement?

    • A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — using the vendor-supported workflow
    • B. expose all repository secrets to pull_request_target from forks by default — using the vendor-supported workflow
    • C. disable all CI checks for external contributors — using the vendor-supported workflow
    • D. store production cloud keys in workflow source as plain text — using the vendor-supported workflow
    Show answer

    Correct: A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — using the vendor-supported workflow is the best answer because fork PR trust boundaries prevent secret theft via malicious workflows. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes trigger type, secret context, and environment gate.

  4. During troubleshooting, the team must stop pull requests from untrusted forks from exfiltrating secrets after a regional service change. Which next step is most defensible?

    • A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with least privilege preserved
    • B. expose all repository secrets to pull_request_target from forks by default — with least privilege preserved
    • C. disable all CI checks for external contributors — with least privilege preserved
    • D. store production cloud keys in workflow source as plain text — with least privilege preserved
    Show answer

    Correct: A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with least privilege preserved is the best answer because fork PR trust boundaries prevent secret theft via malicious workflows. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes trigger type, secret context, and environment gate.

  5. An administrator needs to stop pull requests from untrusted forks from exfiltrating secrets before approving a high-risk release. Which TWO actions provide the strongest implementation and verification? (Choose TWO)

    • A. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with monitoring and rollback defined
    • B. verify the result using trigger type, secret context, and environment gate — with monitoring and rollback defined
    • C. expose all repository secrets to pull_request_target from forks by default — with monitoring and rollback defined
    • D. disable all CI checks for external contributors — with monitoring and rollback defined
    • E. store production cloud keys in workflow source as plain text — with monitoring and rollback defined
    Show answer

    Correct: A and B. use appropriate trigger choices, environment protections, and secret availability rules for fork PRs — with monitoring and rollback defined and verify the result using trigger type, secret context, and environment gate — with monitoring and rollback defined are correct because fork PR trust boundaries prevent secret theft via malicious workflows. The other options are not appropriate: they weaken scope, skip a required control, or do not provide reliable evidence for this GitHub Actions Security scenario.

Last updated:

GHA-SEC practice test FAQ

Is this GHA-SEC practice test free?

Yes. You can start, finish and score it for free, and download the Techclick practice certificate.

How many questions are in the Techclick GHA-SEC practice test?

This bank has 50 original scenario-based questions with a 75-minute timer and a 70% Techclick practice target.

What is the official exam code and format?

GHA-SEC is the label Techclick uses for this practice set. Check the official GitHub certification page for the current exam code.

Are these real GHA-SEC exam questions or dumps?

No. They are original practice questions written by Techclick. This is not the vendor's official exam and not leaked dumps.

Do I get a certificate?

Score 70% or higher to get a Techclick practice certificate and LinkedIn badge. It is not an official GitHub certification.

What should I take after GHA-SEC?

Use the GitHub practice exams page (linked above) to pick the next practice test in the same track.

Techclick Infosec
TECHCLICK INFOSEC
CYBERSECURITY · PRACTICE ASSESSMENT
🛡️
PRACTICE ASSESSMENT
GitHub Actions Security
OIDC · Secrets · Permissions · Reusable Workflows · Supply Chain · Branch Protection
AWARDED TO
{NAME}
SCORE
0%
DATE
--
TC-GHA-SEC-XXX
Practice certificate · not independently verified · Techclick Infosec Pvt Ltd · +91 92772 29456
✕Exhibit (zoomed)