Free SY0-701 Exam Braindumps
CompTIA Security+ Questions 336–340 (page: 69)

Updated On: 29-Oct-2026

A security analyst receives an alert from a web server that contains the following logs:

Which of the following attacks is being attempted?

  1. File injection
  2. Privilege escalation
  3. Directory traversal
  4. Cookie forgery

Answer(s): C

Explanation:

The “../../../etc/passwd” and “../../../etc/shadow” path sequences attempt to climb directories and read sensitive files, indicating a directory traversal attack.



Which of the following security controls is a company implementing by deploying HIPS? (Choose two.)

  1. Directive
  2. Preventive
  3. Physical
  4. Corrective
  5. Compensating
  6. Detective

Answer(s): B,F

Explanation:

A host-based intrusion prevention system actively monitors and blocks malicious behavior on the endpoint (preventive control) while also alerting or logging suspicious events (detective control).



Which of the following techniques is used to assess the effectiveness of security controls that are designed to protect a system from unauthorized access?

  1. Penetration test
  2. Risk assessment
  3. Vulnerability scan
  4. Internal audit review

Answer(s): A

Explanation:

A penetration test evaluates the effectiveness of security controls by simulating real-world attacks against a system. Security professionals attempt to bypass defenses and gain unauthorized access in the same way an attacker would. This approach directly tests whether existing controls such as authentication, access restrictions, and network defenses successfully prevent unauthorized access.



A company hired a security consultant to suggest a device that will protect its inbound HTTP traffic by immediately blocking security violations.
Which of the following should the consultant most likely suggest?

  1. IPS
  2. IDS
  3. Proxy
  4. WAF

Answer(s): D

Explanation:

A Web Application Firewall (WAF) protects inbound HTTP traffic by monitoring, filtering, and immediately blocking malicious requests targeting web applications.



Which of the following describes the purpose of a Common Vulnerabilities and Exposure (CVE) database?

  1. To compile a database of vulnerabilities known to have occurred in the past
  2. To store a record of vulnerabilities that have patches available
  3. To track vulnerabilities by assessing their threat actors
  4. To provide a public list of identified and suspected cyber vulnerabilities

Answer(s): D

Explanation:

The CVE database provides a standardized public catalog of identified cybersecurity vulnerabilities, giving each vulnerability a unique identifier so organizations, vendors, and security tools can consistently reference and track it.



Viewing page 69 of 204
Viewing questions 341 - 345 out of 1044 questions


Post your Comments and Discuss CompTIA SY0-701 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!