Application Security Fundamentals

Covers fundamental security concepts including ASAP security process, OWASP tools, access control principles, data protection, vulnerability mitigation, and secure development practices

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

How can we prevent dictionary attacks on password hashes ?

  1. Hashing the password twice
  2. Encrypting the password using the private key
  3. Use an encryption algorithm you wrote your self so no one knows how it works
  4. Salting the hash
Question 2 Multiple Choice (Single Answer)

Implementing Access Control based on a hard coded IP address

  1. Can be done as it as an internal IP
  2. Can be done for internet facing servers as there are no chances of IP conflicts
  3. Is a good security practice
  4. Is a bad security practice
Question 3 Multiple Choice (Single Answer)

Temporary files

  1. Should be placed securely in a folder called “temp” in the web root
  2. Can be placed anywhere in the web root as long as there are no links to them
  3. Should be completely removed from the server
  4. Can be placed anywhere after changing the extension
Question 4 Multiple Choice (Single Answer)

What is the preferred medium for backing up log files ?

  1. Print the logs to a paper
  2. Create a copy of data in your laptop/desktop
  3. Copy the files to CD-R's
  4. None of the above
Question 5 Multiple Choice (Single Answer)

What is the common cause of buffer over flows, cross-site scripting, SQL injection and format string attacks?

  1. Unvalidated input
  2. Lack of authentication
  3. Improper error handing
  4. Insecure configuration management
Question 6 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
Question 7 Multiple Choice (Single Answer)

Out of the following which one can be considered as a possible solutions for SQL injection vulnerability?

  1. Data Validation
  2. Secure Cookies
  3. Encryption
  4. Comprehensive exception handling
Question 8 Multiple Choice (Single Answer)

Which of the following should be stored in the cookie?

  1. Session ID
  2. Account Privileges
  3. UserName
  4. Password
Question 9 Multiple Choice (Single Answer)

Data hashing will

  1. Ensure that the data has not been tampered with
  2. Ensure that the session is valid
  3. Ensure that the user is valid
  4. All of the above
Question 10 Multiple Choice (Single Answer)

What should be considered the most while doing data classification

  1. The type of users who would be accessing the data
  2. Availability, Integrity and Confidentiality
  3. The threat level the company faces
  4. Access controls protecting the data
Question 11 Multiple Choice (Single Answer)

What are the fundamental principles of Security?

  1. Availability, Integrity, Confidentiality
  2. Usability, Reliability, Accountability
  3. Quality, Accountability, Integrity
  4. None of the above
Question 12 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 13 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 14 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 15 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 16 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 17 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 18 Multiple Choice (Single Answer)

The principle of least privilege as it applies to Access control mandates that:

  1. Group based access control should be implemented to assign permissions to application users
  2. Consistent authorization checking should be performed on all application pages
  3. A set of all allowable actions should be defined for each user role and all other's denied
  4. All failed access authorization requests should be logged to a secure location for review by administrators
Question 19 Multiple Choice (Single Answer)

The ASAP process can applied at which phase of an application development for best results?

  1. During testing
  2. During development
  3. During all phases of development starting with requirement analysis and ending with rollout
  4. During design
Question 20 Multiple Choice (Single Answer)

In the ASAP process what is the main activity carried out in the requirement analysis phase?

  1. Capture the customer requirements
  2. Update the project plan
  3. Capture and update the URS and SRS with security requirements for the project
  4. None of the above