Application and Web Security Fundamentals
Comprehensive quiz covering application security activities, web vulnerabilities, cryptography, authentication, testing methodologies, and secure software development lifecycle practices.
Questions
Which of the following best describes the purpose of using disclaimers
- Make user aware of his obligation and establish accountability for his action
- Publish organizations policies
- Showcase organization's technological advancements
- Detect any intrusion into internal network of the organization
Which is the correct phase of SDLC to start aiming for a secure application as end result
- Go-Live (deployment to production)
- Support and Maintenance
- Requirement Gathering Phase
- Prototyping Phase
Exception Handling refers to
- Identifying all possible erroneous inputs and managing how the application responds to them
- During application execution, if some special conditions are met, then a specific subroutine 'exception handler' is called
- Commercial runtime environments have tools that record debugging information from memory at the time of exception to provide 'root-cause' analysis information later.
- All of the above
It is not a good idea to include readymade code from google search into customer application deliverables even though it may save a lot of time and cost for the project because
- It may be copyrighted and not usable without explicit permission, payment or formal credit to creator
- It may carry spyware, backdoors or some form of malicious code
- It may breach the service agreement with customer if done without approval
- All of the above
Which is a common web server vulnerability?
- Limited user accounts
- Default installation
- Open shares
- No directory access
Which kind of testing has Throughput, processing delay, and load as metrics?
- Functional Testing
- Performance Testing
- Environment Testing
- Fault Injection
Mitigating the risk of one security control being compromised by providing multiple layers of security controls is an example of what specific security strategy?
- Secure-by-default
- Secure-by-design
- Defense-in-depth
- Defense-by-design
Hash is define as
- A function that encrypts the data provided.
- A function that transforms a string of characters into a number known as the message digest .
- A function that uses MD5 algorithm with private key to decrypt
- All the above
Which of the following involves validating the positive and negative requirements of the software?
- Functional Testing
- Performance Testing
- Environment Testing
- Fault Injection
Which of the following techniques involves examining the source code for the absence of security characteristics?
- Source code analysis
- Property-based Testing
- Black Box debugging
- Dynamic Code Analysis
Which of the following techniques is used to trace system calls as the software is executing?
- Source code analysis
- Performance Testing
- Black Box debugging
- Dynamic Code Analysis
Which of the following techniques is particularly useful for finding incorrect use of pointers and arrays?
- Binary Fault Injection
- Property-based Testing
- Source code fault injection
- Black Box Debugging
George obtains code that steals user session keys. He is able to post the code on a compromised website where Alice has an account. When she accesses the site he session key is sent to George? What type of attack is this ?
- SQL Injection
- Cross site scripting (XSS)
- Buffer Overflow
- None of the choices
There are various HTTP authentication mechanisms to authenticate the user towards web application. Which of the following authentication schemes where login / password credentials are sent to the web server in clear text ?
- Client Certificates
- Basic
- Digest
- NTLM
The most common type of attack happens today in the internet world towards web applications. The attack initiated by an automated process to try large number of possible values
- Session Fixation Attack
- Brute force attack
- Insecure Direct Object Reference
- Injection Flaws
Identify the correct statement with respect to a digital certificate
- A scanned copy of a paper certificate document is called a digital certificate
- Voice signal converted from analog to digital signal during transmission on a PSTN network
- An encryption mechanism for confirming the message sender and integrity of the message received
- none of the above
This application is for deployment on cloud, so security will entirely be service provider's responsibility and not ours. This is a
- Absolutely Correct Assumption
- Absolutely Incorrect assumption
- Partially Correct Assumption
- Possibly correct Assumption
Non repudiation is a very desirable trait because
- It establishes traceability of every action to the doer
- In some critical situations it should be impossible to deny an action
- It is a forensic analysis mechanism
- All of the above
The following are Application Security activities
- Requirements Analysis
- Vulnerability Assessment
- Code Review
- All of the above