nerdexam
CompTIA

FC0-U61 · Question #438

A web developer wants to ensure that a new web application is not vulnerable to brute-force attacks. Which of the following best practices is MOST useful to meet this goal?

The correct answer is C. Password lockout. Implementing a password lockout mechanism is the most effective best practice to prevent brute-force attacks by temporarily disabling an account after a specified number of failed login attempts.

Security

Question

A web developer wants to ensure that a new web application is not vulnerable to brute-force attacks. Which of the following best practices is MOST useful to meet this goal?

Options

  • AInput validation
  • BSystem updates
  • CPassword lockout
  • DLogin auditing

How the community answered

(29 responses)
  • A
    7% (2)
  • B
    14% (4)
  • C
    76% (22)
  • D
    3% (1)

Why each option

Implementing a password lockout mechanism is the most effective best practice to prevent brute-force attacks by temporarily disabling an account after a specified number of failed login attempts.

AInput validation

Input validation checks user input against defined rules to prevent vulnerabilities like SQL injection or cross-site scripting, but it doesn't specifically stop repeated password guessing attempts.

BSystem updates

System updates patch known vulnerabilities and improve overall security, but they don't directly implement a mechanism to block brute-force password guessing attempts at the application login level.

CPassword lockoutCorrect

Password lockout is a security feature that temporarily prevents further login attempts on an account after a certain number of consecutive failed authentication attempts. This mechanism directly thwarts brute-force attacks by making it computationally infeasible for attackers to guess passwords through repeated automated tries, as their attempts will quickly lead to the account being locked.

DLogin auditing

Login auditing records login attempts, which is useful for detection and forensics, but it does not actively prevent a brute-force attack from succeeding in real-time.

Concept tested: Brute-force attack prevention

Topics

#web application security#brute-force attacks#password lockout#security controls

Community Discussion

No community discussion yet for this question.

Full FC0-U61 Practice