Securing Web Applications Services and Servers
This test contains the concepts related to Web application Security and Servers for the web applications. This Test is useful questions for various IT certification exams and gate.
Questions
Which of the following is/are applicable for web application security scanner?
- It communicates with a web application through the web front-end.
- It is used to perform a black-box test for security of web applications.
- It provides an interface for the web applications.
- All of the above
- Both (2) and (3)
Which of the following is/are correct about Cross-site scripting (XSS) in web application security?
- Cross-site scripting vulnerability may be used by attackers to bypass access controls.
- The non-persistent XSS is used to provide data by a web client, most commonly in HTTP query parameters or in HTML form submissions.
- XSS makes enable attackers to inject client-side script into Web pages viewed by other users.
- All of the above
- Both (2) and (3)
Which of the following types of bugs are detected in Fuzz testing in web application security?
- Memory leaks
- Assertion failure
- Bugs serialization
- All of the above
- Both (1) and (2)
Which of the following is true about 'Metadata annotations' in securing the web applications?
- These annotations are used to specify information about security within a class file.
- These expresses an application’s security structure, including security roles, access control, and authentication requirements in a deployment descriptor.
- These security are embedded in an application.
- These annotations are used to specify the various threats in an application.
- Both (2) and (3)
Which of the following is/are not a web application security technique?
- Black box testing
- White box testing
- Fuzzing
- Web application firewalls (WAF)
- None of the above
Which of the following web testing tools is used to check the load testing and performance measurement both in the web applications?
- Selenium
- Apache JMeter
- Curl-loader
- Watir
- Both (2) and (4)
Which of the following is/are correct about Denial of Service (DoS) Attacks?
- This attack is an attempt to make a computer resource unavailable to its intended users.
- This attack is done by overloading the resource.
- It allows attackers to inject code into web pages viewed by other users.
- It does not allow attackers to inject code into web pages viewed by other users.
- Both (1) and (2)
Which of the following application threats come under the input validation category in web application security?
- Buffer overflow
- Cross-site scripting
- SQL injection
- All of the above
- Both (2) and (3)
Which of the following types of vulnerabilities are checked by web application security scanner?
- Input/output validation
- Specific application problems
- Server configuration problems
- Automatic tool support
- All of the above
Which of the following tests are required to test a web application performance?
- Windows application compatibility
- Operating system compatibility
- Browser compatibility
- All of the above
- Both (2) and (3)
Which of the following are the techniques to protect web applications from the SQL injection attack?
- Installing patches regularly and timely
- By using automated test tools
- By using dynamic SQL only
- Escape user input
- All of the above
Which of the following are the checklists needed for the web site security?
- Maintain a secure workstation.
- Data validation should be done on server-side.
- Managing web site via encrypted connections.
- Use redundancy to protect the web site.
- All of the above
What of the following are the checklists needed in file inclusion and disclosure in web application security?
- Do not take file names for inclusions from user input.
- Try to avoid having scripts read and pass through files if possible.
- Ensure the application runs with no more privileges than required.
- All of the above
- Both (1) and (2)
Which of the following is/are necessary to prevent vulnerabilities in file uploading on the web site?
- Prevent users from overwriting application files.
- Disable script execution in the upload directory.
- Ensure that the file extension matches the actual type of the file content.
- Prevent users from uploading problematic file types like HTML, CSS, JavaScript, etc.
- All of the above
Which of the following is necessary to check during data transfer in web application security?
- Use SSL/TLS (https) for all data transfer.
- Mark cookies with the “secure” attribute.
- Set the “HttpOnly” attribute for session cookies.
- All of the above
- Both (1) and (2)