Skip to content

All certifications

XK0-006 practice question on Authentication, 2026-11-07

Archived question for 2026-11-07. Domain: Security. Objective 3.1: Authentication. Original SecLern question, written for practice.

A scheduled script on web01 needs a Kerberos ticket without a person typing a password. A keytab exists at /etc/app.keytab for the principal app/web01.example.com. Which command obtains the ticket?

Show the explanation

-k with -t reads the key from the keytab instead of prompting.

Each option

  • A (correct). Correct: -k with -t reads the key from the keytab instead of prompting.
  • B. That prompts for a password, which a script cannot give. It would be right for an interactive session.
  • C. klist -k lists the keytab entries and obtains no ticket. It would be right for checking the keytab.
  • D. kdestroy removes a ticket cache and is not for keytabs. It would be right for clearing tickets.

What this question tests

It maps to XK0-006 objective 3.1, Authentication: Authentication and authorisation Related ideas: kerberos, keytab.

The published topics under this objective, so you can check what you have covered:

  • PAM stacks
  • LDAP and Kerberos
  • SSSD

More from the archive

Start a daily session

Several questions at a time, aimed at your gaps.