Review 49 312-96 practice questions with answer explanations and community insights.
Question 1
Sam, an application security engineer working in INFRA INC., was conducting a secure code review on an application developed in Java. 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?
He is attempting to use client-side validation
He is attempting to use whitelist input validation approach
He is attempting to use regular expression for validation
He is attempting to use blacklist input validation approach
Question 2
Identify the type of attack depicted in the following figure.
SQL Injection Attacks
Session Fixation Attack
Parameter Tampering Attack
Denial-of-Service Attack
Question 3
According to secure logging practices, programmers should ensure that logging processes are not disrupted by:
Catching incorrect exceptions
Multiple catching of incorrect exceptions
Re-throwing incorrect exceptions
Throwing incorrect exceptions
Question 4
Which of the threat classification model is used to classify threats during threat modeling process?
RED
STRIDE
DREAD
SMART
Question 5
Which line of the following example of Java Code can make application vulnerable to a session attack?