Bird
0
0

What will be the output of the command sudo ufw status verbose immediately after enabling UFW with default settings?

medium📝 Predict Output Q4 of 15
Raspberry Pi - Security and Deployment
What will be the output of the command sudo ufw status verbose immediately after enabling UFW with default settings?
AStatus: inactive Logging: off Default: allow (incoming), deny (outgoing)
BStatus: inactive Logging: on Default: deny (incoming), allow (outgoing)
CStatus: active Logging: off Default: allow (incoming), deny (outgoing)
DStatus: active Logging: on (low) Default: deny (incoming), allow (outgoing)
Step-by-Step Solution
Solution:
  1. Step 1: Understand default UFW behavior after enabling

    By default, UFW enables with status active, logging on low, denies incoming, and allows outgoing traffic.
  2. Step 2: Match output to default settings

    Status: active Logging: on (low) Default: deny (incoming), allow (outgoing) matches these defaults exactly; other options show incorrect status or defaults.
  3. Final Answer:

    Status: active Logging: on (low) Default: deny (incoming), allow (outgoing) -> Option D
  4. Quick Check:

    Default UFW status = active with deny incoming [OK]
Quick Trick: Default UFW blocks incoming, allows outgoing [OK]
Common Mistakes:
MISTAKES
  • Assuming firewall is inactive after enabling
  • Confusing logging status
  • Mixing up default allow/deny rules

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Raspberry Pi Quizzes