Penetration Testing and Vulnerability Analysis Practice Exam

Session length

1 / 20

Which action best mitigates exposure of credentials in logs?

Archive logs in plaintext for easy access.

Disable all logging.

Store logs in a publicly accessible location.

Exclude sensitive data from logs and encrypt storage.

Minimizing credential exposure in logs relies on data minimization and protecting what remains. Excluding sensitive data from logs means credentials, tokens, and secrets aren’t written or stored in plain text, reducing the chance they’ll be exposed if logs are accessed. Encrypting storage adds a second layer of defense, so even if someone gains access to the log files, the information remains unreadable without the decryption key. Together, these practices cut the risk both at the moment of logging and while the logs are stored.

Archiving logs in plaintext increases exposure risk because secrets could be read directly if the archives are accessed. Disabling all logging eliminates important auditing and visibility, which hinders detection and response to incidents. Storing logs in a publicly accessible location makes sensitive information trivially discoverable. By excluding sensitive data and encrypting storage, you strike a balance between useful logging and protecting credentials.

Next question

Find the option that is right for you!

All options are one-time payments.

$12.50

30 day premium pass

All the basics to get you started

  • Ad-free experience
  • View your previous attempt history
  • Mobile app access
  • In-depth explanations
  • 30 day premium pass access
👑$30.00 $87.50 usd

6 month DELUXE pass (most popular)

Everything with the 30 day premium pass FOR 6 MONTHS! & the ultimate digital PDF study guide (BONUS)

  • Everything included in the premium pass
  • $87.50 usd value for $30.00! You save $57.50!
  • + Access to the ultimate digital PDF study guide
  • + 6 months of premium pass access
  • + Priority support
$12.50 $18.99

Ultimate digital PDF study guide

For those that prefer a more traditional form of learning

  • Available for instant download
  • Available offline
  • Hundreds of practice multiple choice questions
  • Comprehensive content
  • Detailed explanations
Image Description
Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy