Web Application Security Fundamentals

Covers essential web application security concepts including server configuration, authentication, vulnerability management, secure coding practices, and encryption basics.

20 Questions Published

Questions

Question 1 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 2 Multiple Choice (Single Answer)

Which of the following can you reveal without compromising the security of the encrypted data

  1. Encrypted data itself
  2. Asymmetric private key
  3. Symmetric key
  4. Asymmetric public key
Question 3 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 4 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 5 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 6 Multiple Choice (Single Answer)

If the characters %00%0A (CR+LF) are detected at the end of an input string this is most likely which of the following attacks?

  1. Cross Site Scripting
  2. Phishing
  3. SQL Injection
  4. HTTP Response Splitting
Question 7 Multiple Choice (Single Answer)

A successful forced browsing attack indicates a vulnerability in

  1. The configuration management
  2. The session management
  3. The change management process
  4. The authorization process
Question 8 Multiple Choice (Single Answer)

Which of the protocols can be used together?

  1. SOAP and SAML
  2. SOAP and HTTP
  3. SSL and SOAP
  4. All
Question 9 Multiple Choice (Single Answer)

Administrative pages for websites should be protected by

  1. A mechanism that requires only a password
  2. Basic authentication
  3. 2/3 factor authentication
  4. A mechanism with no lock-out, to prevent accidentally denying legitimate access
Question 10 Multiple Choice (Single Answer)

Which Scope contain data specific to a user session?

  1. Page Scope
  2. Session Scope
  3. Request Scope
  4. Application Scope
Question 11 Multiple Choice (Single Answer)

SOAP is a

  1. Depends on how it is used
  2. Stateful protocol
  3. Transport Layer protocol
  4. Stateless protocol
Question 12 Multiple Choice (Single Answer)

The difference between a GET and a POST request is

  1. It does not matter, the web serve will treat all GET requests as POST requests
  2. The information in a POST request cannot be manipulated. It is possible to change a GET request
  3. A GET request is sent when requesting information; A POST request is sent when sending information
  4. The data is sent in the body of the POST request and in the URL in a GET request
Question 13 Multiple Choice (Single Answer)

In order to avoid information disclosure error messages containing stack traces, specific application information should be

  1. Sent to the user in a hidden field so that tech support can retrieve the information later
  2. Destroyed if it occurs to minimize the chances that this information might be inadvertently disclosed
  3. Logged on the server side
  4. A and C
Question 14 Multiple Choice (Single Answer)

Name 3 of the elements associated with web services

  1. WADL, WSDL, SAML
  2. UDDI, WADL, WSDL
  3. SOAP, SAML, WADL
  4. WSDL, SOAP, SAML
Question 15 Multiple Choice (Single Answer)

Which form of accountability should be used

  1. Accounts for each user
  2. Account for each group of users
  3. Accounts for each business unit
  4. None of the above
Question 16 Multiple Choice (Single Answer)

What is a back door?

  1. An administrative interface to an application
  2. When two users access each other's information
  3. A loop hole within an application that allows users to bypass the standard security flow by way of a secret token or identifier
  4. The connection between the application and the database
Question 17 Multiple Choice (Single Answer)

Hardcoded credentials in the source code which are checked prior to the normal authentication process is an example of which of the following

  1. A backdoor
  2. An access control vulnerability
  3. A buffer over flow
  4. A SQL injection vulnerability
Question 18 Multiple Choice (Single Answer)

What is suggested as the leading practice for the maximum length of time before users are forced to change their passwords?

  1. 60 days
  2. 180 days
  3. 120 days
  4. 90 days
Question 19 Multiple Choice (Single Answer)

Leaving comments in HTML source code when an application leaves the development environment

  1. Is a good programming practice
  2. Is very useful during code reviews
  3. Is the recommended practice for secure code maintenance
  4. May give the attacker valuable information to perform an exploit
Question 20 Multiple Choice (Single Answer)

Which of the following is true?

  1. Servers are generally configured in a secure manner when they are first installed
  2. It is impossible to securely configure a web server
  3. Out of the box settings normally meet what is called minimum baseline security standards
  4. The default settings on web servers are not generally secure