Cert EspressoLearn. Practise. Find your flow.

A LITTLE FOCUS.
A BIG NEXT STEP.

Your pace. Your space.
Okta · Okta Professional

Password policies and self-service recovery

Okta Professional · Lesson 10 of 12 · 1:07:21

YouTube loads only after you press play. This chapter opens at its timestamp in the full course. Watch on YouTube ↗

Learning with these videos? Subscribe for new courses and exam-style questions.

In this lesson

Okta Certified Professional exam prep, use case 4, security enforcement. In this lesson: password policies, complexity and age, lockout, and self-service recovery. Includes three original practice questions, with Hazelport Bakeries, a fictional chain of bakeries, as the example.

Study notes

The text of this lesson, to read at your own pace. Information as of November 2026.

Back from the summer break

After the summer break, many bakers forget their password, and some lock themselves out by guessing. Each case means a call to a help desk that is already busy. Hazelport wants strong password rules, and a safe way for staff to recover on their own.

Password policies

Password policies belong to the password authenticator. Go to Security, Authenticators, open the Setup tab, choose Actions, then Edit on Password, and choose Add New Password Policy. You name the policy, and choose the groups that it applies to. Like other policies, password policies are checked in priority order, and a policy with no matching rule is skipped, for the next one.

Complexity and age

Complexity settings set a minimum length, and can require lowercase and uppercase letters, numbers, and symbols. They can also refuse passwords that contain the username, the first name, or the last name, and run a common password check. Age settings keep a password history, set a minimum age, make passwords expire after a number of days, and warn users before they expire.

Lockout

Lockout settings protect against guessing. Lock out user after a number of unsuccessful attempts sets the limit, and the account can unlock itself automatically after a number of minutes. You can also show lockout failures, and send a lockout email to the user.

Self-service recovery

Self-service recovery is set in the rules of the password policy. A rule says what users can do on their own: change their password from their account settings, reset a forgotten password, or unlock their account. It says which authenticators can start the recovery: Okta Verify, phone, email, or Google Authenticator. And it can ask for additional verification, such as any enrolled MFA authenticator, or only the security question.

Hazelport's password policies

Hazelport sets up two password policies. The Head office policy asks for twelve characters, with a history of five passwords. The Bakery staff policy allows self-service reset and unlock, started from email, because many bakers do not use Okta Verify.

Recovery in practice

A user can only recover with an authenticator that is already set up, so match the recovery options with the enrollment policy. The Okta account management policy can add its own requirements for recovery and unlocking. And to verify, start a recovery as a test user, and check the options that Okta offers.

Recap

Let's recap. Password policies belong to the password authenticator, under Security, Authenticators. They apply to groups, in priority order. Complexity and age set length, character types, history, minimum age, and expiry with a warning. Lockout sets the number of failed attempts, and an automatic unlock time. And rules allow self-service change, reset, and unlock, from the authenticators that you choose.

Quick checks for this lesson

The 3 questions of this lesson, as plain text. The button above runs them with shuffled choices and the reason behind every choice.

  1. Hazelport wants to stop staff from choosing any of their last five passwords again. Which setting does this?

    • Minimum password age
    • Password expires after N days
    • Enforce password history: last 5
    • Common password check
    Show the answer

    Enforce password history: last 5

    Enforcing a password history of five blocks the last five passwords. “Minimum password age” is wrong, because a minimum age only stops users from changing a password too soon. “Password expires after N days” is wrong, since expiry forces a change, without blocking old passwords. And “Common password check” is wrong, because the common password check refuses widely used passwords, not the user's own.

  2. Bakery staff should unlock their own accounts after a lockout, without calling the help desk. Where is this enabled?

    • A rule of the password policy
    • The idle time of the global session
    • The authenticator enrollment policy
    • A custom attribute in the Profile Editor
    Show the answer

    A rule of the password policy

    A rule of the password policy lists the self-service actions, including unlocking the account. “The idle time of the global session” is wrong, because the idle time of a session has nothing to do with lockouts. “The authenticator enrollment policy” is wrong, since an enrollment policy only decides which authenticators users set up. And “A custom attribute in the Profile Editor” is wrong, because a profile attribute stores data, it grants no self-service action.

  3. A password policy makes passwords expire after ninety days. Which setting warns users before that happens?

    • Minimum password age
    • Send lockout email to user
    • Enforce password history
    • Prompt user before password expires
    Show the answer

    Prompt user before password expires

    Prompt user before password expires warns users a set number of days ahead. “Minimum password age” is wrong, because a minimum age only delays the next change. “Send lockout email to user” is wrong, since the lockout email is about failed attempts. And “Enforce password history” is wrong, because the password history blocks old passwords, it sends no warning.