Application Security Fundamentals and Testing

Covers core application security topics including authentication, secure coding practices, vulnerability assessment, penetration testing, and security testing tools and methodologies.

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

When is the best time to think about application security

  1. During testing
  2. During development
  3. During design
  4. During all phases of application development
Question 2 Multiple Choice (Single Answer)

What is OWASP WebScarab?

  1. An insecure J2EE web application
  2. A framework for analyzing applications that communicate using the HTTP and HTTPS, most common usage is an intercepting proxy
  3. Static Source Code Analyser
  4. Penetration Testing Tool
Question 3 Multiple Choice (Single Answer)

Which among the below is a browser based HTTP tampering tool for Firefox browser?

  1. LiveHTTPHeaders
  2. Sqlninja
  3. Bobcat
  4. WebGoat
Question 4 Multiple Choice (Single Answer)

What product among the below can be used as a static code analyzer?

  1. Ounce
  2. WebInspect
  3. IBM RAD
  4. None of the above
Question 5 Multiple Choice (Single Answer)

Which product among the below can be used as a penetration testing tool?

  1. Ounce
  2. DevInspect
  3. AppScan
  4. FXCop
Question 6 Multiple Choice (Single Answer)

What is OWASP WebGoat?

  1. Web Proxy
  2. XSS Scanner
  3. An insecure J2EE web application
  4. None of the above
Question 7 Multiple Choice (Single Answer)

Which of the following best describes the difference between white-box testing and black-box testing?

  1. White-box testing is performed by an independent programmer team
  2. Black-box testing uses the bottom-up approach
  3. Black-box testing involves the business units
  4. White-box testing examines the program internal logical structures
Question 8 Multiple Choice (Single Answer)

Scanning underlying source code with a database of regular expressions to quickly identify suspicious code, application inputs, outputs etc primarily relates to ..

  1. Grey-box testing
  2. Black-box testing
  3. White-box testing
  4. None of these
Question 9 Multiple Choice (Single Answer)

What is the difference between network vulnerability assessment and a penetration test?

  1. A penetration test enumerates resources, and a vulnerability assessment enumerates vulnerabilities
  2. They are one and the same
  3. A penetration test identifies running services, and vulnerability assessments provide a more in-depth understanding of vulnerabilities
  4. A penetration test exploits vulnerabilities, and a vulnerability assessment finds vulnerabilities
Question 10 Multiple Choice (Single Answer)

The three steps to successful patch management are …

  1. Acquiring, Testing, Installing
  2. Testing, Remediation, Peer Review
  3. Determine needs, Acquire resources, Install the patch
  4. Both A & B
Question 11 Multiple Choice (Single Answer)

The correct way to disable autocomplete in the browser for certain forms is to ….

  1. Set autocomplete to “0”
  2. Set autocomplete to “Off”
  3. Set autocomplete to some other value
  4. Set autocomplete to “no-store”
Question 12 Multiple Choice (Single Answer)

Credit card numbers should be logged into the log file during exception

  1. No. Because leads to insecure storage of private information of the customer
  2. Yes. Because it is a good logging practice to log all relevant information during an exception
  3. Yes. Because it will help in troubleshooting specific customer problems
  4. No. Because its an additional over head
Question 13 Multiple Choice (Single Answer)

Web Service interfaces are prone to which of the following standard web application attacks ?

  1. SQL Injection
  2. Denial of Service
  3. XML Injection
  4. All of the above
Question 14 Multiple Choice (Single Answer)

A race condition in a web server can cause …

  1. Resources to become unavailable to legitimate users
  2. Cross Site Tracing
  3. Server Instability
  4. Both A and B
Question 15 Multiple Choice (Single Answer)

It is a leading practice to suppress detailed errors in the following places:

  1. Web Server configuration files
  2. Application configuration files
  3. Application error handlers
  4. All of the above
Question 16 Multiple Choice (Single Answer)

Which of the following is true regarding reverse engineering of compiled Java code

  1. Java sand box environment provides protection against decompilation
  2. Java is compiled into ELF binaries and cannot be decompiled
  3. Java byte code can always be decompiled, code obfuscators can make the reverse engineering process more time confusing but cannot prevent it
  4. Java is difficult to decompile because the Just-In-Time compiler automatically perform string encryption by default
Question 17 Multiple Choice (Single Answer)

Requirements for administrator authentication should be

  1. Equivalent to normal users
  2. Less than those of normal users as all administrators are trustworthy
  3. No authentication is required for administrators
  4. Greater than those of normal users
Question 18 Multiple Choice (Single Answer)

Account lockouts should

  1. Only be used on administrator accounts to ensure continuous access to users
  2. Only be used on user accounts to ensure that administrators are not locked out of the application
  3. Only be used when there is a secure process to unlock the account
  4. None of the above
Question 19 Multiple Choice (Single Answer)

Hard Coding credentials

  1. Cannot be treated as a secure practice
  2. Is a good way to hide passwords from hackers
  3. Is perfectly fine for internal applications
  4. Is perfectly fine for external user facing applications
Question 20 Multiple Choice (Single Answer)

Configuration Management Security principles apply to

  1. Commercial applications
  2. Custom built applications
  3. In house developed applications
  4. All of the above