🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Secrets and Configuration: all 10 questions

Quiz: Secrets and Configuration · Question 5 of 10

What does this print? (code)

What does this print?

import base64
print(base64.b64decode("YWRtaW4=").decode())
  1. A.admin
  2. B.YWRtaW4=
  3. C.An error, because the value is encrypted
  4. D.admin=
Answer & explanation

Correct answer: admin

Base64 is an encoding anyone can reverse; it gives no protection on its own.

Can you get the rest right without peeking?

Take the timed Quiz: Secrets and Configuration quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →