2026 Actual The SecOps Group CAP Dumps, Updated Exam Questions for Guaranteed Pass

Certified AppSec Practitioner Exam - Free Practice Questions with Explanations, Exam Dumps, and Complete Practice Pack from DumpsProvider.

Exam Information

VendorThe SecOps Group
Exam codeCAP
Exam nameCertified AppSec Practitioner Exam
Questions in pack60
Last updatedNovember 21, 2026
Related certificationsCertified Application Security Practitioner

Free practice questions with explanations

The SecOps Group CAP Practice Questions

Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.

Questions
16
Answered
0
Correct
0
Score
-
  1. 1 Question 1 Single choice Authorization and Session Management related flaws

    A logistics company exposes an endpoint GET /api/v2/shipments/{shipmentId}/documents that returns invoices for the authenticated carrier. Shipment IDs are sequential integers. A tester logged in as carrier 1007 requests shipmentId=50231, which belongs to carrier 2290, and receives the invoice. The company has a strict constraint: the mobile app cannot be changed this quarter, and the API gateway is managed by a separate team that only allows configuration of rate limits and TLS policy. Which remediation is the BEST fix for the root cause?

  2. 2 Question 2 Single choice Input Validation Mechanisms

    A payments team accepts a country_code field and must prevent injection of unexpected values into a downstream reporting service. The field should only ever be one of 240 ISO 3166-1 alpha-2 codes, which are maintained in a reference table. Developers propose a blocklist that rejects strings containing quotes, semicolons, and angle brackets. A security engineer argues this is insufficient because the downstream service processes the value after a decode step. Which validation approach is the BEST choice?

  3. 3 Question 3 Single choice XML External Entity attack

    A healthcare SaaS vendor runs a Java-based service that parses inbound HL7 XML messages from partner clinics. A recent penetration test showed that a crafted message caused the parser to read /etc/hosts on the server. The service must keep accepting DOCTYPE declarations because one partner's legacy system includes them for internal reference, and the vendor cannot upgrade the partner. The fix must be applied in the parser configuration and must not disable XML processing altogether. Which configuration change is the BEST fix?

  4. 4 Question 4 Single choice Directory Traversal Vulnerabilities

    A document-management web application serves uploaded files through the URL /download?file=, which the backend joins with a base directory of /srv/docs/. Security review found that requesting file=../../etc/passwd returns system content. The team has decided to validate input before joining the path. The application runs on Linux and must support nested folders under /srv/docs/ because customers organise files into subdirectories. Which control is the MOST robust fix?

  5. 5 Question 5 Single choice TLS security

    A fintech company runs a public API behind a load balancer that terminates TLS. A scanner reports the certificate chain is incomplete: the server presents only the leaf certificate, and some Android 6 clients fail to connect while desktop browsers succeed because they fetch the intermediate automatically. The security team must not weaken protocol versions or disable certificate validation on clients. Which action resolves the issue with the LEAST change?

  6. 6 Question 6 Multiple choice Security Best Practices and Hardening Mechanisms.

    A retail company is hardening its customer portal, which serves HTML pages from its own origin and loads scripts from a single approved CDN host. Penetration testers reported that the portal can be framed by a third-party site, and that injected scripts could exfiltrate session data to arbitrary domains. The team must block framing and restrict script sources without breaking the CDN dependency. Which TWO response headers together meet these requirements? (Choose two.)

  7. 7 Question 7 Single choice SQL Injection

    A reporting API builds a query by concatenating the sortBy parameter into an ORDER BY clause, because SQL placeholders cannot be used for column identifiers. The team's proposed fix is to use a prepared statement for the WHERE clause only and rely on a blocklist for the sort field. The application has 14 sortable columns and no user-specific column access rules. Which fix addresses the vulnerability MOST reliably?

  8. 8 Question 8 Order list Brute force Attacks; Password Storage and Password Policy

    A consumer app is migrating its user password store from unsalted MD5 hashes to a modern scheme, and must also prevent online guessing against login. The steps below are shuffled. Place them in the correct order to perform the migration safely. Drag the steps into the correct order.

    Drag the steps into the correct order, or use the arrows.

    1. Schedule a deadline after which legacy-hash accounts can no longer authenticate
    2. Deploy the new hashing code so that all new and changed passwords use the new scheme
    3. Enable per-account throttling and lockout tuned to the login path
    4. Force a password reset on next login for accounts whose hash has not been upgraded
    5. Store the new hash using a memory-hard or adaptive algorithm with a per-user salt
    6. On successful login with a legacy hash, verify the password against the old hash
  9. 9 Question 9 Single choice Information Disclosure.

    A security architect reviews four disclosure findings from a web application scan and must match each to the most appropriate remediation.
    1. Stack traces with database driver names returned in HTTP 500 responses
    2. Backup file config.bak publicly downloadable from the web root
    3. Server header revealing exact web server version and build date
    4. Source map files exposing unminified client-side code in production
    Targets: Set custom error pages and log details server-side; Remove backup artifacts from the deployed artifact and restrict web root; Suppress or genericize the version banner in server configuration; Disable source map generation for production builds.

  10. 10 Question 10 Dropdown Cross-Site Request Forgery

    The team must allow the cookie to be sent on cross-site subresource requests from the widget, which requires SameSite=None, and it must be transmitted only over HTTPS. Choose the correct value for each blank.

    Choose the correct value for each blank.

    A banking app needs to protect its fund-transfer endpoint against cross-site request forgery while keeping cookies compatible with a partner payment widget embedded in third-party sites. The session cookie is set as follows: Set-Cookie: session=abc123; Path=/; ;
  11. 11 Question 11 Single choice Server-Side Request Forgery

    A cloud-hosted image-processing service accepts a URL from users and fetches the image server-side. Security review found that submitting http://169.254.169.254/latest/meta-data/ returned instance metadata. The service must continue to fetch images from arbitrary public internet hosts, and the platform team cannot move the workload into a network without egress. Which control is the MOST effective?

  12. 12 Question 12 Single choice Vulnerable and Outdated Components.

    A company's build pipeline runs a dependency scanner that flags a logging library version 2.14.1 used in a service that is internet-facing and processes user-supplied strings into log messages. The vendor has published a fixed version 2.17.1 that is a minor upgrade within the same major line. The service team reports that upgrading requires rebuilding a container image that is scheduled for release in six weeks. The security team wants the risk reduced now. Which action is the BEST immediate response, while still planning the upgrade?

  13. 13 Question 13 Multiple choice Business Logic Flaws

    An online ticketing platform offers a promotion of one free ticket per customer account. Testers found that a user could apply the promotion code, cancel the order, and reapply the code to receive unlimited free tickets. The development team must fix this without breaking legitimate refunds for paid orders. Which TWO controls address the flaw at the correct layer? (Choose two.)

  14. 14 Question 14 Single choice Security Misconfigurations.

    A team deploys an internal Node.js API into a cloud Kubernetes cluster. A review finds the pod manifests run the container as root, mount the host filesystem path /var/run/docker.sock, and set allowPrivilegeEscalation to true. The API is only reachable from within the cluster. The security team wants the change with the greatest reduction in blast radius and no functional impact on the API, which reads and writes only to its own application directory. Which configuration change is the MOST effective?

  15. 15 Question 15 Single choice Encoding, Encryption and Hashing

    A payments service stores card tokens and must protect them at rest. The engineering team proposes encrypting values with AES-256 in ECB mode using a key stored in an environment variable, and computing a lookup index as an unsalted SHA-256 of the card number. The security team has a constraint that the index must support equality lookup without exposing the card number, and that the design must not use any reversible transformation on the index. Which change MOST improves the design?

  16. 16 Question 16 Single choice Code Injection Vulnerabilities

    A web application lets administrators define report filters as expressions, which the server evaluates with a scripting engine so that a filter like amount > 500 works. A tester submitted an expression that invoked the runtime's process-execution API and returned command output. The team must keep the feature for administrators who write expressions. Which control is the MOST appropriate fix?

These are 16 of the 60 questions in the full CAP pack.

Get All 60 Questions

Get all 60 questions & answers

710 Satisfied customers
93.5% Pass rate feedback
83.5% Said questions matched
98% Found material helpful

Full access options for The SecOps Group CAP

Self-study

PDF Version

$40.00 $20.00
  • 60 actual exam questions
  • Compatible with all devices
  • Printable PDF format
  • No download limits
  • 90 days free updates
  • 24/7 customer support

Exam simulation

Online Practice Test

$50.00 $25.00
  • 60 actual exam questions
  • Actual exam environment
  • 90 days free updates
  • Browser-based software
  • 24/7 customer support

100% Money Back Guarantee

Your success comes first

At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the CAP Exam (Certified AppSec Practitioner Exam) on your very first attempt.

In a rare case, if you fail your exam, we will refund your amount without asking a single question.

100%

Security & Privacy

10000+

Satisfied Customers

24/7

Committed Service

100%

Money Back Guranteed