Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the ECCouncil Application Security 312-96 Questions and answers with ValidTests

Exam 312-96 All Questions
Exam 312-96 Premium Access

View all detail and faqs for the 312-96 exam

Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions
Questions # 1:

Identify the type of attack depicted in the figure below:

Question # 1

Options:

A.

XSS

B.

Cross-Site Request Forgery (CSRF) attack

C.

SQL injection attack

D.

Denial-of-Service attack

Expert Solution
Questions # 2:

According to secure logging practices, programmers should ensure that logging processes are not disrupted by:

Options:

A.

Catching incorrect exceptions

B.

Multiple catching of incorrect exceptions

C.

Re-throwing incorrect exceptions

D.

Throwing incorrect exceptions

Expert Solution
Questions # 3:

Which of the following method will help you check if DEBUG level is enabled?

Options:

A.

isDebugEnabled()

B.

EnableDebug ()

C.

IsEnableDebug ()

D.

DebugEnabled()

Expert Solution
Questions # 4:

Oliver is a web server admin and wants to configure the Tomcat server in such a way that it should not serve index pages in the absence of welcome files. Which of the following settings in CATALINA_HOME/conf/ in web.xml will solve his problem?

Options:

A.

< servlet > < servlet-name > default < /servlet-name > < servlet-class > org.apache.catalina.servlets.DefaultServlet < /servlet-class > < init-param > < param-name > debug < /param-name > < param-value > 0 < /param-value > < /init-param > < init-param > < param-name > listings < /param-name > < param-value > false < /param-value > < /init-param > < load-on-startup > 1 < /load-on-startup > < servlet >

B.

< servlet > < servlet-name > default < /servlet-name > < servlet-class > org.apache.catalina.servlets.DefaultServlet < /servlet-class > < init-param > < param-name > debug < /param-name > < param-value > 0 < /param-value > < /init-param > < init-param > < param-name > listings < /param-name > < param-value > disable < /param-value> < /init-param > < load-on-startup > 1 < /load-on-startup> < /servlet >

C.

< servlet > < servlet-name > default < /servlet-name > < servlet-class > org.apache.catalina.servlets.DefaultServlet < /servlet-class > < init-param > < param-name > debug < /param-name>< param-value> 0 < /param value>< /init-param > < init-param > < param-name> listings < /param-name > < param-value > enable < /param-value > < /init-param > < load-on-startup> 1 < /load-on-startup > < /servlet >

D.

< servlet > < servlet-name > default < servlet-name > < servlet-class > org.apache.catalina.servlets.DefaultServlet < /servlet-class > < init-param > < param-name > debug < /param-name> < param-value > 0 < /param-value > < /init-param > < init-param > < param-name > listings < /param-name > < param-value > true < /param-value > < /init-param > < load-on-startup > l < /load-on-startup > < /servlet >

Expert Solution
Questions # 5:

A US-based ecommerce company has developed their website www.ec-sell.com to sell their products online. The website has a feature that allows their customer to search products based on the price. Recently, a bug bounty has discovered a security flaw in the Search page of the website, where he could see all products from the database table when he altered the website URL http://www.ec-sell.com/products.jsp?val=100 to http://www.ec-sell.com/products.jsp?val=200 OR '1'='1 -. The product.jsp page is vulnerable to

Options:

A.

Session Hijacking attack

B.

Cross Site Request Forgery attack

C.

SQL Injection attack

D.

Brute force attack

Expert Solution
Questions # 6:

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?

Question # 6

Options:

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

Expert Solution
Questions # 7:

Which of the following configuration settings in server.xml will allow Tomcat server administrator to impose limit on uploading file based on their size?

Options:

A.

< connector... maxFileLimit="file size" / >

B.

< connector... maxPostSize="0"/>

C.

< connector... maxFileSize="file size" / >

D.

< connector... maxPostSize="file size" / >

Expert Solution
Questions # 8:

Identify what should NOT be catched while handling exceptions.

Options:

A.

EOFException

B.

SecurityException

C.

IllegalAccessException

D.

NullPointerException

Expert Solution
Questions # 9:

The developer wants to remove the HttpSessionobject and its values from the client' system.

Which of the following method should he use for the above purpose?

Options:

A.

sessionlnvalidateil

B.

Invalidate(session JSESSIONID)

C.

isValidateQ

D.

invalidateQ

Expert Solution
Questions # 10:

Which of the following state management method works only for a sequence of dynamically generated forms?

Options:

A.

Cookies

B.

Sessions

C.

Hidden Field

D.

URL-rewriting

Expert Solution
Viewing page 1 out of 2 pages
Viewing questions 1-10 out of questions