OpenExamsFREE PRACTICE — ANY EXAM

Free Certified Application Security Engineer (Java) Practice Questions

200 free questions · Answer explanations · No signup required

View examination details, outline and sources

Loading selected examination banks…

Sample Practice Questions

Try these 10 sample questions from the Certified Application Security Engineer (Java) practice bank. Each includes the answer and explanation. Continue with the interactive practice above to review the full question set.

  1. 1A records service restricts access so that only the approved case team can read an unreleased decision. Which security objective does that control directly protect?

    1. A.Confidentiality of the decisionCorrect answer: A
    2. B.Integrity of the decision
    3. C.Availability of the decision
    4. D.Accountability for the decision

    Explanation: Standards for Security Categorization of Federal Information and Information Systems states, “A loss of confidentiality is the unauthorized disclosure of information.” The restriction blocks unauthorized reading. It does not itself verify the text, keep the service reachable, or establish who performed an action.

    Reference: Standards for Security Categorization of Federal Information and Information Systems — Section 2, Confidentiality

  2. 2A service depends on a commercial PDF component. The buyer needs the vendor to maintain a vulnerability disclosure process after delivery. Where should the buyer put that obligation so it governs the supplier relationship?

    1. A.In the acquisition requirements and the supplier contractCorrect answer: A
    2. B.In the internal code review checklist for the integration
    3. C.In the inventory entry that records the component version
    4. D.In the runbook that assigns the buyer’s incident responders

    Explanation: The source states: “include it in acquisition documents, software contracts, and other agreements with third parties” Placing the requirement in the acquisition and contract materials communicates it to the supplier and makes it part of the agreement. The other records describe the buyer’s work or the component itself.

    Reference: NIST Secure Software Development Framework — Table 1, PO.1.3, Example 1

  3. 3A team has an automated toolchain check that evaluates architecture rules against the submitted software design before implementation. What role can that check play under SSDF practice PW.2.1?

    1. A.It can serve as an automated part of the software design review.Correct answer: A
    2. B.It can replace the explicit design security requirements it checks.
    3. C.It can serve as evidence of runtime behavior after deployment.
    4. D.It can make review of design-level risks unnecessary by itself.

    Explanation: PW.2.1 allows “automated processes instantiated in the toolchain review the software design”. The check can assess design compliance. It still needs defined requirements and relevant risk information, and it establishes no facts about an unbuilt system’s runtime behavior.

    Reference: NIST Secure Software Development Framework — Table 1, PW.2.1

  4. 4A records service uses a JSON schema, but it buffers the complete request before applying the schema. What additional control addresses resource consumption before validation can run?

    1. A.Apply a request-body size limit before buffering or parsing.Correct answer: A
    2. B.Run schema validation a second time after mapping all fields.
    3. C.Cap the number of records stored in the application database.
    4. D.Limit the size of the response returned after schema failure.

    Explanation: The source states: “Apply request size limits before buffering or parsing input” The input limit protects the stages that precede the schema check. The other controls act after the request body has already reached those stages.

    Reference: OWASP Input Validation Cheat Sheet — Implementing Input Validation / Parse Safely, Then Validate

  5. 5A team already asks users for a password. Which additional verification supplies a distinct authentication factor based on possession?

    1. A.Ask for a separate memorized static PIN.
    2. B.Verify a signature from a registered security key.Correct answer: B
    3. C.Ask for the answer to a memorized personal question.
    4. D.Ask the user to re-enter the password on a second screen.

    Explanation: NIST describes single-factor cryptographic authentication as “proving the possession and control of a cryptographic key via an authentication protocol”. Verifying a signature from the registered key demonstrates possession. Asking for another memorized secret still uses a knowledge factor.

    Reference: NIST Digital Identity Guidelines: Authentication and Authenticator Management — Single-Factor Cryptographic Authentication

  6. 6Two Java installations implement the same standard signature algorithm through different cryptographic packages. Which part of the Java Cryptography Architecture makes the implementations selectable behind a common Signature API?

    1. A.The Java serialization format of the signing object
    2. B.The algorithm name embedded in a certificate’s subject field
    3. C.The service implementations supplied by cryptographic providersCorrect answer: C
    4. D.The key usage flags stored with each application’s certificate

    Explanation: The source states: “Implementation independence is achieved using a "provider"-based architecture.” A provider supplies the implementation of the requested service. The engine API can remain the same when the implementation changes.

    Reference: Java Cryptography Architecture Reference Guide — Design Principles

  7. 7A servlet observes whether a request belongs to an existing session for metrics. It must avoid creating a session for a visitor who has none. Which API call should it use?

    1. A.request.getSession()
    2. B.request.getSession(true)
    3. C.request.getSession(false)Correct answer: C
    4. D.request.changeSessionId()

    Explanation: The source states: “If create is false and the request has no valid HttpSession, this method returns null.” Passing false avoids creating a session. The no-argument and true calls can create one, and changing an ID is a different operation.

    Reference: Jakarta Servlet HttpServletRequest API — HttpServletRequest.getSession(boolean)

  8. 8A method calls code that can throw a checked IOException. The method has no applicable handler and needs to propagate the exception. What must its signature do?

    1. A.Declare the IOException or a superclass allowed by the method’s contract.Correct answer: A
    2. B.Declare a return type that describes the failure.
    3. C.Declare the called method as synchronized.
    4. D.Declare an unchecked exception instead of the IOException.

    Explanation: The source states: “the throws clause for the method or constructor must mention the class of that exception or one of the superclasses of the class of that exception” A checked exception that can escape must be covered by the throws clause. The return type, synchronization and a declaration of an unrelated exception do not cover it.

    Reference: Java Language Specification, Chapter 11: Exceptions — §11.2, Compile-Time Checking of Exceptions

  9. 9A Java build pipeline has source and compiled classes, but it cannot start the application in its runtime environment. Which security testing approach can examine those build artifacts for defects?

    1. A.Static application security testingCorrect answer: A
    2. B.Dynamic application security testing of HTTP responses
    3. C.Interactive application security testing of live requests
    4. D.Passive assessment of captured runtime traffic

    Explanation: The source states: “can help analyze source code or compiled versions of code to help find security flaws” SAST operates on source or compiled code. The other techniques require running software or its traffic.

    Reference: OWASP Source Code Analysis Tools — Source Code Analysis Tools, introduction

  10. 10A deployment pipeline retrieves a vendor-signed Java package from a mirror. What should the pipeline verify before executing or promoting that artifact?

    1. A.That the package carries the latest-looking filename
    2. B.That the mirror has preserved the ZIP timestamp
    3. C.That the release signature is valid for the trusted signer and artifactCorrect answer: C
    4. D.That the archive contains a README identifying the vendor

    Explanation: The source states: “confirm the validity of signatures before use” Verifying the signature with an appropriate trust basis checks the release’s integrity and provenance. Names, timestamps and bundled text do not authenticate the package.

    Reference: NIST Secure Software Development Framework — Table 1, PS.2.1, code-signing example

Exam Review

About Certified Application Security Engineer (Java)

Certified Application Security Engineer (Java) · US

Key exam facts

Provider
EC-Council Certification Body administers the examination; delivery through EC-Council Exam Portal, with online remote proctoring by the RPS team.
Format
Multiple Choice; online remotely proctored examination.
Exam questions
Total questions: 50.
Time limit
2 hours of examination time.
Passing score
70% (percentage passing score).
Exam fee
USD 450.00 for the CASE Java RPS exam voucher (official store product ECC013888); self-study applicants require prior eligibility approval. Any eligibility application charge is separate; this is not a training-package or retake price.

Topics covered

  • Understanding Application Security, Threats, and Attacks (18%)

    • Understand the need and benefits of application security
    • Demonstrate the understanding of common application-level attacks
    • Explain the causes of application-level vulnerabilities
    • Explain various components of comprehensive application security
    • Explain the need and advantages of integrating security in Software Development Life Cycle (SDLC)
    • Differentiate functional vs security activities in SDLC
    • Explain Microsoft Security Development Lifecycle (SDL)
    • Demonstrate the understanding of various software security reference standards, models, and frameworks
  • Security Requirements Gathering (8%)

    • Understand the importance of gathering security requirements
    • Explain Security Requirement Engineering (SRE) and its phases
    • Demonstrate the understanding of Abuse Cases and Abuse Case Modeling
    • Demonstrate the understanding of Security Use Cases and Security Use Case Modeling
    • Demonstrate the understanding of Abuser and Security Stories
    • Explain Security Quality Requirements Engineering (SQUARE) Model
    • Explain Operationally Critical Threat, Asset, and Vulnerability Evaluation (OCTAVE) Model
  • Secure Application Design and Architecture (12%)

    • Understand the importance of secure application design
    • Explain various secure design principles
    • Demonstrate the understanding of threat modeling
    • Explain threat modeling process
    • Explain STRIDE and DREAD Model
    • Demonstrate the understanding of Secure Application Architecture Design
  • Secure Coding Practices for Input Validation (8%)

    • Understand the need of input validation
    • Explain data validation techniques
    • Explain data validation in strut framework
    • Explain data validation in Spring framework
    • Demonstrate the knowledge of common input validation errors
    • Demonstrate the knowledge of common secure coding practices for input validation
  • Secure Coding Practices for Authentication and Authorization (4%)

    • Understand authentication concepts
    • Explain authentication implementation in Java
    • Demonstrate the knowledge of authentication weaknesses and prevention
    • Understand authorization concepts
    • Explain Access Control Model
    • Explain EJB authorization
    • Explain Java Authentication and Authorization (JAAS)
    • Demonstrate the knowledge of authorization common mistakes and countermeasures
    • Explain Java EE security
    • Demonstrate the knowledge of authentication and authorization in Spring Security Framework
    • Demonstrate the knowledge of defensive coding practices against broken authentication and authorization
  • Secure Coding Practices for Cryptography (6%)

    • Understand fundamental concepts and need of cryptography in Java
    • Explain encryption and secret keys
    • Demonstrate the knowledge of cipher class implementation
    • Demonstrate the knowledge of digital signature and its implementation
    • Demonstrate the knowledge of Secure Socket Layer (SSL) and its implementation
    • Explain Secure Key Management
    • Demonstrate the knowledge of digital certificate and its implementation
    • Demonstrate the knowledge of Hash implementation
    • Explain Java Card Cryptography
    • Explain Crypto Module in Spring Security
    • Demonstrate the understanding of Do’s and Don’ts in Java Cryptography
  • Secure Coding Practices for Session Management (10%)

    • Explain session management in Java
    • Demonstrate the knowledge of session management in Spring framework
    • Demonstrate the knowledge of session vulnerabilities and their mitigation techniques
    • Demonstrate the knowledge of best practices and guidelines for secure session management
  • Secure Coding Practices for Error Handling (16%)

    • Explain Exception and Error Handling in Java
    • Explain erroneous exceptional behaviors
    • Demonstrate the knowledge of do’s and don'ts in error handling
    • Explain Spring MVC error handling
    • Explain Exception Handling in Struts2
    • Demonstrate the knowledge of best practices for error handling
    • Explain to Logging in Java
    • Demonstrate the knowledge of Log4j for logging
    • Demonstrate the knowledge of coding techniques for secure logging
    • Demonstrate the knowledge of best practices for logging
  • Static and Dynamic Application Security Testing (SAST & DAST) (8%)

    • Understand Static Application Security Testing (SAST)
    • Demonstrate the knowledge of manual secure code review techniques for most common vulnerabilities
    • Explain Dynamic Application Security Testing
    • Demonstrate the knowledge of Automated Application Vulnerability Scanning Tools for DAST
    • Demonstrate the knowledge of Proxy-based Security Testing Tools for DAST
  • Secure Deployment and Maintenance (10%)

    • Understand the importance of secure deployment
    • Explain security practices at host level
    • Explain security practices at network level
    • Explain security practices at application level
    • Explain security practices at web container level (Tomcat)
    • Explain security practices at Oracle database level
    • Demonstrate the knowledge of security maintenance and monitoring activities

How to prepare

Work through the topics, read the explanation after each answer, and revisit the areas where you miss questions. Use the official outline and reference materials below to guide your study.

These independent practice questions are not actual exam items and do not guarantee a passing result.

Frequently asked questions

What is the exam format?

Multiple Choice; online remotely proctored examination.

How many questions are on the exam?

Total questions: 50.

How long is the exam?

2 hours of examination time.

What is the passing score?

70% (percentage passing score).

How much does the exam cost?

USD 450.00 for the CASE Java RPS exam voucher (official store product ECC013888); self-study applicants require prior eligibility approval. Any eligibility application charge is separate; this is not a training-package or retake price.

Official sources and references

Confirm current exam arrangements with the exam provider.