The new flashcard feature is useful to memorize questions.
?Change your study mode
At any time, you can change the study mode, and alternate between the practice mode and the exam mode. In practice mode, you can configure for example the number of questions or tests, and other parameters to help you study.
Randomized | 10 Questions per Test | 20 Minutes | 70% to pass|
To re-configure your study mode again and change - for example - the number of tests, whether you have random questions and all other configuration parameters.
?Simulator Configuration
Auto-scroll: You can use the automatic scrolling of the questionnaire that occurs as soon as you answer one or all of the answers to a question correctly. Auto scrolling is activated if you answer a single answer, or as soon as you answer all the mandatory answers. Learning Mode: During learning mode you can get a real time result for your answer.
Free Test
Question: / 10
20:00Min. left
?Restart the current test
To restart the current test by clearing all your answers and the time used up to now. Warning: all answers will be lost.
Question: / 10
0.0(0 Votes)
Quiz
Question 1/101/10
Sam, an application security engineer working in INFRA INC., was conducting a secure code review on an application developed in Jav a. He found that the developer has used a piece of code as shown in the following screenshot.
Identify the security mistakes that the developer has coded?
Select the answer:Select the answer
1 correct answer
A.
He is attempting to use client-side validation
B.
He is attempting to use whitelist input validation approach
C.
He is attempting to use regular expression for validation
D.
He is attempting to use blacklist input validation approach
The correct answer is D. He is attempting to use blacklist input validation. A blacklist validation approach identifies particular characters, strings, or patterns as forbidden and rejects input that contains them. The code shown uses a regular expression to check for disallowed input, so it is treating specified patterns as things to block. This approach is often unreliable: an attacker may bypass the checks by using an unlisted character or an alternative encoding or representation. A safer approach is generally whitelist validation: define what input is allowed, such as a specific set of characters or a required format, and reject anything outside that definition. Validation should also be performed on the server, regardless of any client-side checks. Option C describes a technique that may be used in the code: regular expressions. However, the security approach being used is a blacklist, which is why D is the best answer.
Right Answer: D
Quiz
Question 2/102/10
Identify the type of attack depicted in the following figure.
Select the answer:Select the answer
1 correct answer
A.
SQL Injection Attacks
B.
Session Fixation Attack
C.
Parameter Tampering Attack
D.
Denial-of-Service Attack
The correct answer is C. Parameter Tampering Attack. A parameter tampering attack occurs when an attacker changes values sent by a client to an application, such as values in a URL, form field, cookie, or HTTP request. For example, an attacker might alter a product price, account identifier, quantity, or access-level value before the server processes the request. If the application trusts the modified value without checking it, the attacker may gain an advantage or access data they should not be able to reach. The other options describe different attacks: A. SQL Injection Attacks involve inserting malicious SQL code into input fields or requests to manipulate database queries. B. Session Fixation Attack involves getting a victim to use a session identifier chosen or known by the attacker, then exploiting that session after the victim logs in. D. Denial-of-Service Attack aims to make a service unavailable, often by overwhelming it with traffic or resource-intensive requests. Applications can reduce parameter-tampering risks by validating all inputs on the server, checking authorization for each requested action, and avoiding reliance on values supplied by the client.
Right Answer: C
Quiz
Question 3/103/10
According to secure logging practices, programmers should ensure that logging processes are not disrupted by:
Select the answer:Select the answer
1 correct answer
A.
Catching incorrect exceptions
B.
Multiple catching of incorrect exceptions
C.
Re-throwing incorrect exceptions
D.
Throwing incorrect exceptions
The correct answer is D. Throwing incorrect exceptions. A logging process should be resilient: an error in logging should not itself interrupt the application or prevent important work from continuing. If logging code throws an inappropriate exception, it can disrupt program execution and may interfere with recording or handling the original event. Exception handling still matters. Programmers should catch and rethrow exceptions only when appropriate, and should not hide or misrepresent failures. But the choice that directly describes disrupting logging by throwing an incorrect exception is D.
Right Answer: D
Quiz
Question 4/104/10
Which of the threat classification model is used to classify threats during threat modeling process?
Select the answer:Select the answer
1 correct answer
A.
RED
B.
STRIDE
C.
DREAD
D.
SMART
The correct answer is B. STRIDE. STRIDE is a threat-classification model commonly used during threat modeling. It helps identify threats by grouping them into six categories: - Spoofing: Pretending to be another user or system. - Tampering: Changing data or code without authorization. - Repudiation: Denying that an action took place when there is no reliable evidence to prove otherwise. - Information disclosure: Exposing sensitive information to unauthorized parties. - Denial of service: Making a system or service unavailable to legitimate users. - Elevation of privilege: Gaining permissions beyond those intended. The other options serve different purposes or are not the appropriate threat-classification model here. DREAD is a framework for assessing and prioritizing the severity of threats, rather than classifying them. SMART is commonly used to define clear objectives, and RED is not the standard model intended by this question.
Right Answer: B
Quiz
Question 5/105/10
Which line of the following example of Java Code can make application vulnerable to a session
attack?
Select the answer:Select the answer
1 correct answer
A.
Line No. 1
B.
Line No. 3
C.
Line No. 4
D.
Line No. 5
The correct answer is B. Line No. 3. Line 3 is the line associated with handling the HTTP session. If it obtains or reuses a session without changing the session ID after a user authenticates, an attacker may be able to exploit session fixation: the attacker gets a victim to use a session ID the attacker already knows, then uses that same ID after the victim logs in. A safer approach is to rotate the session ID when authentication or another privilege change occurs. In Servlet 3.1 and later, this can be done with request.changeSessionId(). The application should also use secure cookie settings and avoid exposing session IDs in URLs. Getting a session is not inherently unsafe by itself; the vulnerability depends on how the application manages that session. Line 3 is identified because it is the session-handling point where that insecure behavior can arise.
Right Answer: B
Quiz
Question 6/106/10
Alice, a Server Administrator (Tomcat), wants to ensure that Tomcat can be shut down only by the user who owns the Tomcat process. Select the appropriate setting of the CATALINA_HOME/conf in server.xml that will enable him to do so.
Select the answer:Select the answer
1 correct answer
A.
< server port="" shutdown-"' >
B.
< server port="-1" shutdown-*" >
C.
< server port="-1" shutdown="SHUTDOWN" >
D.
< server port="8080" shutdown="SHUTDOWN" >
The key setting is `port="-1"` in the `<Server>` element. It disables Tomcat’s shutdown socket. Without that socket, Tomcat cannot be stopped by sending the configured shutdown command over a TCP connection. Stopping it must instead be done through the operating system or service manager, where permissions can restrict the action to the process owner or another authorized user. Option B appears to be the intended answer because it sets the port to `-1`. However, as printed, its `shutdown` attribute is malformed. Option C is valid XML-style Tomcat configuration and also sets `port="-1"`: `<Server port="-1" shutdown="SHUTDOWN">` With the shutdown port disabled, the value of `shutdown` is not used. Therefore, technically, C also achieves the stated Tomcat configuration; the supplied answer of B is likely based on B’s intended `port="-1"` setting or a formatting error in that option. Option D uses port `8080`, so it does not disable the shutdown socket. Option A is incomplete or malformed. For truly owner-only shutdown, the operating-system permissions on the Tomcat process and its service controls must also be configured appropriately.
Right Answer: B
Quiz
Question 7/107/10
Which of the following method will help you check if DEBUG level is enabled?
Select the answer:Select the answer
1 correct answer
A.
isDebugEnabled()
B.
EnableDebug ()
C.
IsEnableDebug ()
D.
DebugEnabled()
The correct answer is A. isDebugEnabled() In many logging frameworks, isDebugEnabled() checks whether logging at the DEBUG level is currently enabled. You can use it before building a potentially expensive log message, so that work is skipped when DEBUG logging is off. For example: if (logger.isDebugEnabled()) { logger.debug(buildDetailedMessage()); } The other options are not the standard method name for checking whether DEBUG logging is enabled. The exact API can vary by logging framework, but isDebugEnabled() is the commonly used method.
Right Answer: A
Quiz
Question 8/108/10
Which of the following elements in web.xml file ensures that cookies will be transmitted over an encrypted channel?
Select the answer:Select the answer
1 correct answer
A.
< connector lsSSLEnabled="Yes" / >
B.
< connector EnableSSL="true" / >
C.
< connector SSLEnabled="false" / >
D.
< connector SSLEnabled="true" / >
The correct answer is D. `<Connector SSLEnabled="true" />` `SSLEnabled="true"` enables SSL/TLS on a server connector. When a client connects through that HTTPS connector, data sent between the client and server, including cookies in the request and response, is encrypted in transit. The other options are incorrect because A and B use attribute names that are not the standard Tomcat connector setting, and C explicitly disables SSL/TLS. Note: In Tomcat, a `<Connector>` is normally configured in `server.xml`, not `web.xml`. Also, enabling TLS on a connector does not by itself force every request to use HTTPS. To ensure a browser sends a particular cookie only over HTTPS, the cookie should also have the `Secure` attribute, and the application should require HTTPS where appropriate.
Right Answer: D
Quiz
Question 9/109/10
In which phase of secure development lifecycle the threat modeling is performed?
Select the answer:Select the answer
1 correct answer
A.
Coding phase
B.
Testing phase
C.
Deployment phase
D.
Design phase
The correct answer is D. Design phase. Threat modeling is primarily performed during the design phase of the secure development lifecycle. At this stage, the system’s architecture and intended behavior are being planned. The team can identify important assets, potential threats, attack paths, and weaknesses, then incorporate appropriate security controls into the design before implementation begins. Threat modeling may be revisited as the system changes, but it is most effective when performed early, while design decisions can still be adjusted. Why the other options are incorrect: A. Coding phase: Developers implement the design here. Threat modeling may inform coding practices, but it should not wait until implementation. B. Testing phase: Testing checks whether the implemented system has defects or vulnerabilities. Threat modeling helps guide what should be protected and tested, but it is primarily done earlier. C. Deployment phase: Deployment prepares the system for release. By this point, major architectural decisions have usually been made, so it is late to conduct the initial threat model.
Right Answer: D
Quiz
Question 10/1010/10
Identify the type of attack depicted in the figure below:
Select the answer:Select the answer
1 correct answer
A.
XSS
B.
Cross-Site Request Forgery (CSRF) attack
C.
SQL injection attack
D.
Denial-of-Service attack
The correct answer is B. Cross-Site Request Forgery (CSRF) attack. A CSRF attack tricks a user who is already signed in to a trusted website into making an unwanted request to that site. The request may be triggered by visiting a malicious page or clicking a crafted link. Because the user’s browser automatically includes the site’s authentication cookies, the website may mistake the request for an action the user intended. For example, if a user is signed in to a banking website, a malicious page might cause their browser to submit a transfer request without their knowledge. The attacker does not need to learn the user’s password; the attack abuses the browser’s existing authenticated session. The other options describe different attack types: A. XSS injects malicious script into a website so it runs in other users’ browsers. C. SQL injection manipulates database queries by supplying malicious input. D. Denial-of-Service overwhelms a service so legitimate users cannot access it. CSRF is the best match because it involves using a victim’s authenticated browser to submit an unintended request.
312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Practice test unlocks all online simulator questions
Thank you for choosing the free version of the 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA practice test! Further deepen your knowledge on Eccouncil Simulator; by unlocking the full version of our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator you will be able to take tests with over 46 constantly updated questions and easily pass your exam. 98% of people pass the exam in the first attempt after preparing with our 46 questions.
What to expect from our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA practice tests and how to prepare for any exam?
The 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator Practice Tests are part of the Eccouncil Database and are the best way to prepare for any 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA exam. The 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA practice tests consist of 46 questions and are written by experts to help you and prepare you to pass the exam on the first attempt. The 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA database includes questions from previous and other exams, which means you will be able to practice simulating past and future questions. Preparation with 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator will also give you an idea of the time it will take to complete each section of the 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA practice test . It is important to note that the 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator does not replace the classic 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA study guides; however, the Simulator provides valuable insights into what to expect and how much work needs to be done to prepare for the 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA exam.
312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Practice test therefore represents an excellent tool to prepare for the actual exam together with our Eccouncil practice test . Our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator will help you assess your level of preparation and understand your strengths and weaknesses. Below you can read all the quizzes you will find in our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator and how our unique 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Database made up of real questions:
You can prepare for the 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA exams with our mobile app. It is very easy to use and even works offline in case of network failure, with all the functions you need to study and practice with our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator.
Use our Mobile App, available for both Android and iOS devices, with our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Simulator . You can use it anywhere and always remember that our mobile app is free and available on all stores.
Our Mobile App contains all 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA practice tests which consist of 46 questions and also provide study material to pass the final 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA exam with guaranteed success.
Our 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA database contain hundreds of questions and Eccouncil Tests related to 312-96: Eccouncil Certified Application Security Engineer (CASE) JAVA Exam. This way you can practice anywhere you want, even offline without the internet.