Software Security and Secure Design Principles

Quiz covering secure design principles, attack surfaces, vulnerabilities, and mitigation strategies in software security

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

Which of the following is a principal security risk of wireless LANs?

  1. Lack of physical access control
  2. Demonstrably insecure standards
  3. Implementation weaknesses
  4. War driving
Question 2 Multiple Choice (Single Answer)

A Web application firewall may actively defend a Web application by:

  1. Invalidating the application session
  2. Intercepting data flowing to and from a Web application
  3. Running in a separate process and memory space
  4. Learning about the application behavior
Question 3 Multiple Choice (Single Answer)

Potential security disadvantages of virtualization include:

  1. VM layer configuration is security relevant
  2. More intrusive intrusion detection via introspection
  3. An extra layer for defense-in-depth
  4. More flexible discovery/eviction of kernel root kits
Question 4 Multiple Choice (Single Answer)

Why cannot outside programs determine the existence of malicious code with 100 percent accuracy?

  1. Users do not update their scanners frequently enough
  2. Firewalls are not intended to detect malicious code.
  3. The purpose of a string depends upon the context in which it is interpreted
  4. The sourced code language is often unknown.
Question 5 Multiple Choice (Single Answer)

Format string vulnerabilities in programs can be found by:

  1. Forcing buffer overflows
  2. Submitting random long strings to the application
  3. Causing underflow problems
  4. Including string specifiers in input data
Question 6 Multiple Choice (Single Answer)

The main reason why UDP has a larger attack surface than TCP is:

  1. It allows the spread of worms
  2. It is a connection-oriented protocol
  3. It is a “fire and forget” protocol
  4. The IP address is easily spoofed
Question 7 Multiple Choice (Single Answer)

Which of the following is a process for assessing and documenting the weaknesses or security risks associated with an application?

  1. Control Identification
  2. Threat Modeling
  3. Control Prioritization
  4. Attack Surface Evaluation
Question 8 Multiple Choice (Single Answer)

Which of the following is attempting to gain access to a system by using a false identity

  1. Repudiation
  2. Eavesdropping
  3. Spoofing
  4. Hijacking
Question 9 Multiple Choice (Single Answer)

Which of the following is the ability of users to deny that they performed specific actions or transactions?

  1. Repudiation
  2. Eavesdropping
  3. Spoofing
  4. Hijacking
Question 10 Multiple Choice (Single Answer)

What is the best method for prioritizing a threat and its related countermeasures?

  1. Measuring the relative attack surface
  2. Quantifying the level of risk
  3. Enumerating the entry points and exit points
  4. Identifying the type of accessibility required
Question 11 Multiple Choice (Single Answer)

Why should a host-based firewall not be relied upon solely to mitigate a risk?

  1. It does not block incoming traffic
  2. It does not block outgoing traffic.
  3. It can be turned off.
  4. It can’t be turned off.
Question 12 Multiple Choice (Single Answer)

The choice of mitigation technologies should:

  1. Follow security best practices
  2. Depend on the number of sources researched
  3. Not depend on the technology of the application
  4. Address as few threat types as possible
Question 13 Multiple Choice (Single Answer)

A normal user assuming the identity of an administrator is what kind of attack?

  1. Elevation of privilege
  2. Denial of service
  3. Spoofing
  4. Repudiation
Question 14 Multiple Choice (Single Answer)

One of the main characteristics of a hardened operating system (OS) is :

  1. Has a smaller attack surface than an unhardened OS
  2. Implements mandatory access control
  3. Is less secure than an unhardened OS
  4. Has more entry and exit points than an unhardened OS system
Question 15 Multiple Choice (Single Answer)

Which of the following is used to preserve integrity in software?

  1. Encryption
  2. Hashing
  3. Recovery
  4. Redundancy
Question 16 Multiple Choice (Single Answer)

Which of the following is used to ensure availability in software?

  1. Encryption
  2. Hashing
  3. Recovery
  4. Redundancy
Question 17 Multiple Choice (Single Answer)

How does software exhibit graceful degradation in response to a denial-of-service (DoS) attack?

  1. Fail-over to a higher-availability service
  2. Vary its response times to subsequent requests
  3. Disconnect the affected connectivity point
  4. Fail-over to a hot standby
Question 18 Multiple Choice (Single Answer)

Which security design principle espouses the practice “Security should not depend on security-through-obscurity”?

  1. Defense-in-depth
  2. Open design
  3. Complete mediation
  4. Analyzability
Question 19 Multiple Choice (Single Answer)

Taking advantage of rapid recovery features at the system level is part of what secure design principle?

  1. Design for survivability
  2. Design for secure failure
  3. Design for controllability
  4. Design for redundancy
Question 20 Multiple Choice (Single Answer)

Which of the following provides control over the trust features in a software application?

  1. Security management interfaces
  2. Secure configuration management
  3. Application container
  4. Security manager