2026 Actual Eccouncil 312-96 Dumps, Updated Exam Questions for Guaranteed Pass

Certified Application Security Engineer (JAVA) - Free Practice Questions with Explanations, Exam Dumps, and Complete Practice Pack from DumpsProvider.

Exam Information

VendorEccouncil
Exam code312-96
Exam nameCertified Application Security Engineer (JAVA)
Questions in pack47
Last updatedNovember 22, 2026
Related certificationsCertified Application Security Engineer

Free practice questions with explanations

Eccouncil 312-96 Practice Questions

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

Questions
15
Answered
0
Correct
0
Score
-
  1. 1 Question 1 Single choice Secure Application Design and Architecture

    A fintech company is redesigning a Java payment microservice. The team must identify threats early, and the security lead wants a model that classifies each threat by spoofing, tampering, repudiation, information disclosure, denial of service, and elevation of privilege so that mitigations can be mapped to each category during design reviews. The team has limited time before the architecture review board and cannot run a full quantitative risk study. Which approach best meets the requirement?

  2. 2 Question 2 Single choice Secure Coding Practices for Authentication and Authorization

    A Spring Boot REST API exposes /api/accounts/{id}. Developers currently check authorization with a controller-level annotation that only verifies the caller is authenticated. Security testing revealed that any authenticated user can read any other user's account by changing the id. The team must fix this without moving authentication out of the existing filter chain and without adding a database round trip for every request in the hot path. Which change best addresses the flaw?

  3. 3 Question 3 Single choice Secure Coding Practices for Cryptography

    A healthcare Java application encrypts patient notes with AES in CBC mode before writing them to a database. A code review found that the developer generates a random 16-byte IV per record, stores it alongside the ciphertext, and uses the same secret key for encryption and for computing an HMAC over the ciphertext in a separate step. Auditors report that the implementation must provide confidentiality and integrity together, must not reuse IVs, and must not require a custom provider. Which change is the best fix?

  4. 4 Question 4 Single choice Secure Coding Practices for Error Handling

    A Struts2 application returns a stack trace to users whenever an unhandled exception occurs during login. The security team wants users to see a generic message while operators can still diagnose failures. The company also has a regulatory constraint that the diagnostic record must not contain passwords or session tokens. A developer proposes wrapping the login action in a try-catch that prints e.getMessage() to the response. Which approach best meets all requirements?

  5. 5 Question 5 Single choice Secure Coding Practices for Input Validation

    A Spring MVC application accepts a JSON body containing a "sortField" value that is passed to a JPA Criteria query as an ORDER BY expression. The team has a validation layer that rejects requests containing characters outside a regex of letters and digits, but a pentester found that values such as "name desc" are accepted and still change query behaviour. The product owner requires that users can sort by only five approved fields and that the fix must not rely on blacklisting SQL keywords. Which fix should the team implement?

  6. 6 Question 6 Single choice Secure Coding Practices for Session Management

    A Java web application uses Tomcat with the built-in session manager and a Spring Security login form. After login, the application keeps the same JSESSIONID the anonymous visitor received, and in production the cookie is sent over both HTTP and HTTPS because a legacy load balancer still allows port 80. The security team must prevent session fixation and session hijacking through cookie theft, and must not break the existing mixed-protocol redirect path for health checks. Which set of changes best meets these requirements?

  7. 7 Question 7 Single choice Secure Deployment and Maintenance

    A company deploys a Java web application on Apache Tomcat behind a reverse proxy. Penetration testers found that the Tomcat Manager application is reachable from the internet and that the server banner reveals the exact Tomcat version. The operations team must restrict management access, hide version details, and keep the change within the existing deployment pipeline with no downtime for the application. Which measures should the team take? (Choose two.)

  8. 8 Question 8 Single choice Security Requirements Gathering

    A bank is starting a requirements workshop for a new Java-based mobile banking backend. The product owner wants security requirements captured as concrete stories that developers can implement, and the security architect needs to show how a malicious insider could abuse the transfer feature so the threat can be validated with stakeholders. The team has only one day and must avoid producing a full risk register. Which artifact pairing best meets these needs?

  9. 9 Question 9 Single choice Static and Dynamic Application Security Testing (SAST & DAST)

    A development team runs a SAST tool on a Java codebase that flags a potential SQL injection in a DAO method. The team also runs a DAST scanner against a staging deployment and gets no finding for the same endpoint. The lead asks why the two tools disagree and which validation step should come next before the defect is closed. Which action is the most appropriate next step?

  10. 10 Question 10 Single choice Understanding Application Security, Threats, and Attacks

    A retail company's Java order service is vulnerable to a stored cross-site scripting flaw introduced by a recent release. The security champion must explain to the SDLC governance board why the defect escaped earlier stages, so the board can add the most effective preventive control at the requirements and design phases rather than only at testing. Which explanation and control best fit?

  11. 11 Question 11 Order list Secure Application Design and Architecture

    A healthcare startup is preparing a Java telehealth platform for its first security design review. The architect must produce a threat model that can be used to derive mitigations before any code is written. Arrange the steps in the correct order.

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

    1. Identify the assets, entry points and actors of the telehealth system from the business context
    2. Document the mitigation for each identified threat and assign it as a design requirement
    3. Draw a data flow diagram showing processes, data stores, external entities and trust boundaries
    4. Apply STRIDE to each element and data flow crossing a trust boundary to enumerate threats
  12. 12 Question 12 Order list Secure Coding Practices for Authentication and Authorization

    A team is migrating a legacy Java EE application's security to a JAAS-based login module that authenticates users against an LDAP directory and then grants roles. An auditor requires that authentication and authorisation failures are handled without leaking which factor failed, and that roles are only granted after a successful credential check. Arrange the steps in the correct order in which the login module must process a login request.

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

    1. Map the verified identity to application roles and add them as principals on the subject
    2. Commit the subject with its principals only after the overall login has succeeded
    3. Return a generic authentication failure to the caller without indicating whether the username or password was wrong
    4. Receive the username and password through the callback handler supplied by the application
    5. Verify the credentials against the directory and set the authenticated status on success
  13. 13 Question 13 Drag and drop Secure Coding Practices for Cryptography

    A Java service must protect data at rest, sign release artifacts, secure transport between services, and store master keys without hard-coding them in source. An engineer is reviewing the design and must match each requirement to the mechanism that addresses it. Match each requirement to the service that meets it.

    Drag each item onto its matching target. On a phone: tap an item, then tap a target.

    Keep the master encryption key outside the application code and host filesystem
    Protect data in transit between two internal microservices
    Encrypt customer records in a database with authenticated encryption
    Prove that a released JAR was produced by the build team and not altered
    MD5 digest of the record
    AES with GCM via the javax.crypto Cipher class
    Digital signature using a private key with java.security.Signature
    Base64 encoding of the configuration file
    A keystore or secrets manager with access restricted to the service identity
    TLS using SSLContext with a trusted certificate chain
  14. 14 Question 14 Dropdown Secure Coding Practices for Error Handling

    A Spring MVC application must return a consistent, non-revealing response for unexpected errors while logging full details server side. A developer is writing the global handler. Complete the handler by selecting the correct value for each blank.

    Choose the correct value for each blank.

    @ControllerAdvice
    public class GlobalErrorHandler {
    @ExceptionHandler(Exception.class)
    public ResponseEntity handle(Exception ex) {
    log.error("Unhandled error, correlationId={}", correlationId, ex);
    return ResponseEntity.status().body();
    }
    }
  15. 15 Question 15 Dropdown Secure Coding Practices for Input Validation

    A Java API receives a numeric account identifier in a query string and passes it to a JDBC PreparedStatement. A reviewer wants the validation applied before the database layer, using a strict format check that rejects anything other than a positive integer of limited length. Complete the validation logic by selecting the correct value for each blank.

    Choose the correct value for each blank.

    if (!input.matches()) {
    throw new IllegalArgumentException("Invalid account id");
    }
    long id = Long.parseLong(input);
    PreparedStatement ps = conn.prepareStatement();

These are 15 of the 47 questions in the full 312-96 pack.

Get All 47 Questions

Get all 47 questions & answers

709 Satisfied customers
95.3% Pass rate feedback
83% Said questions matched
94% Found material helpful

Full access options for Eccouncil 312-96

Self-study

PDF Version

$40.00 $20.00
  • 47 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
  • 47 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 312-96 Exam (Certified Application Security Engineer (JAVA)) 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