Skip to exam content
← All Exams
Techclick Infosec

SONAR-SEC Practice Test

Quality Gates · Quality Profiles · Security Hotspots · New Code · CI · Pull Requests

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

SONAR-SEC practice test: what's covered

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

Free SONAR-SEC sample questions

  1. A security engineer needs to block a pull request that introduces critical issues during a controlled production rollout. Which response is the BEST fit?

    • A. apply a quality gate to new code and require the PR check to pass before merge — with change evidence recorded
    • B. measure only overall legacy debt and ignore new-code conditions — with change evidence recorded
    • C. turn off pull-request decoration — with change evidence recorded
    • D. approve the merge when analysis has not completed — with change evidence recorded
    Show answer

    Correct: A. apply a quality gate to new code and require the PR check to pass before merge — with change evidence recorded is the best answer because new-code gates prevent fresh defects without requiring immediate legacy cleanup. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes quality-gate result, PR decoration, and failing condition.

  2. An administrator must block a pull request that introduces critical issues while investigating an urgent support case. Which action should be taken first?

    • A. apply a quality gate to new code and require the PR check to pass before merge — after confirming scope and ownership
    • B. measure only overall legacy debt and ignore new-code conditions — after confirming scope and ownership
    • C. turn off pull-request decoration — after confirming scope and ownership
    • D. approve the merge when analysis has not completed — after confirming scope and ownership
    Show answer

    Correct: A. apply a quality gate to new code and require the PR check to pass before merge — after confirming scope and ownership is the best answer because new-code gates prevent fresh defects without requiring immediate legacy cleanup. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes quality-gate result, PR decoration, and failing condition.

  3. A company plans to block a pull request that introduces critical issues during an audit-readiness review. Which design best meets the requirement?

    • A. apply a quality gate to new code and require the PR check to pass before merge — using the vendor-supported workflow
    • B. measure only overall legacy debt and ignore new-code conditions — using the vendor-supported workflow
    • C. turn off pull-request decoration — using the vendor-supported workflow
    • D. approve the merge when analysis has not completed — using the vendor-supported workflow
    Show answer

    Correct: A. apply a quality gate to new code and require the PR check to pass before merge — using the vendor-supported workflow is the best answer because new-code gates prevent fresh defects without requiring immediate legacy cleanup. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes quality-gate result, PR decoration, and failing condition.

  4. During troubleshooting, the team must block a pull request that introduces critical issues after a regional service change. Which next step is most defensible?

    • A. apply a quality gate to new code and require the PR check to pass before merge — with least privilege preserved
    • B. measure only overall legacy debt and ignore new-code conditions — with least privilege preserved
    • C. turn off pull-request decoration — with least privilege preserved
    • D. approve the merge when analysis has not completed — with least privilege preserved
    Show answer

    Correct: A. apply a quality gate to new code and require the PR check to pass before merge — with least privilege preserved is the best answer because new-code gates prevent fresh defects without requiring immediate legacy cleanup. The other choices are not the best fit because they either address the wrong layer, broaden access unnecessarily, or skip validation. Useful evidence includes quality-gate result, PR decoration, and failing condition.

  5. An administrator needs to block a pull request that introduces critical issues before approving a high-risk release. Which TWO actions provide the strongest implementation and verification? (Choose TWO)

    • A. apply a quality gate to new code and require the PR check to pass before merge — with monitoring and rollback defined
    • B. verify the result using quality-gate result, PR decoration, and failing condition — with monitoring and rollback defined
    • C. measure only overall legacy debt and ignore new-code conditions — with monitoring and rollback defined
    • D. turn off pull-request decoration — with monitoring and rollback defined
    • E. approve the merge when analysis has not completed — with monitoring and rollback defined
    Show answer

    Correct: A and B. apply a quality gate to new code and require the PR check to pass before merge — with monitoring and rollback defined and verify the result using quality-gate result, PR decoration, and failing condition — with monitoring and rollback defined are correct because new-code gates prevent fresh defects without requiring immediate legacy cleanup. The other options are not appropriate: they weaken scope, skip a required control, or do not provide reliable evidence for this SonarQube Security & Quality scenario.

Last updated:

SONAR-SEC practice test FAQ

Is this SONAR-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 SONAR-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?

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

Are these real SONAR-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 Sonar certification.

What should I take after SONAR-SEC?

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

Techclick Infosec
TECHCLICK INFOSEC
CYBERSECURITY · PRACTICE ASSESSMENT
🛡️
PRACTICE ASSESSMENT
SonarQube Security & Quality
Quality Gates · Quality Profiles · Security Hotspots · New Code · CI · Pull Requests
AWARDED TO
{NAME}
SCORE
0%
DATE
--
TC-SONAR-SEC-XXX
Practice certificate · not independently verified · Techclick Infosec Pvt Ltd · +91 92772 29456
✕Exhibit (zoomed)