The global session policy and network zones
Okta Professional · Lesson 8 of 12 · 56:18
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.
Subscribe on YouTube (opens in a new tab)In this lesson
Okta Certified Professional exam prep, use case 4, security enforcement. In this lesson: the global session policy, its rules, network zones, and how it works with app sign-in policies. 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.
Inside and outside the office
Head office staff sign in from the office, from home, and from cafes. Hazelport wants MFA at every sign-in when they are outside the office network. And on the shared bakery tablets, a forgotten session must end on its own.
The global session policy
The global session policy controls the Okta session itself: how a user signs in to Okta, and how long that session lasts. Every org has a default policy that applies to all users, and you can add rules, or new policies above it. Go to Security, Global Session Policy, choose a policy, and choose Add rule. In older guides, this policy is called the Okta sign-on policy.
What a rule sets
A rule starts with conditions, such as the user's IP address, in or out of a network zone, the identity provider, and the risk level. Then it sets the result: access is allowed or denied. It sets how the session is established: with a password, or with any factor that the app sign-in policy accepts, which allows a sign-in without a password. And it sets whether MFA is required, and when users are prompted: at every sign-in, with a new device cookie, or after the MFA lifetime expires.
Session limits and order
Each rule also limits the session. The maximum global session lifetime caps how long a session can last, and the maximum idle time ends it after a period without activity. Rules are checked in priority order, and the first rule that matches the user applies. In the default rule of the default policy, only a few settings can change, such as MFA and the idle time.
Network zones
A network zone groups network locations, so that policies can use them as conditions. An IP zone lists addresses and ranges, such as the public addresses of the head office. A dynamic zone uses locations, IP types, and network providers, and an enhanced dynamic zone can also match services such as proxies, VPNs, and anonymizers. And BlockedIpZone, one of the default zones, blocks all traffic from the addresses that you list in it.
Two policies, both required
Identity Engine evaluates two levels of policy. First, the global session policy decides how the user signs in to Okta. Then the app sign-in policy of each app decides what that app requires, and the user must satisfy both. So if the Okta session needed only a password, and an app needs two factors, Okta asks for the second factor when the user opens that app.
Hazelport's rules
Hazelport adds a rule for the Head office group: outside the office zone, MFA at every sign-in. The Bakery staff group gets a short idle time, so that a forgotten session on a tablet ends on its own. And the default policy stays at the bottom, as a safety net for everyone else.
Recap
Let's recap. The global session policy controls sign-in to Okta, and the length of the Okta session. A rule sets conditions, access, the factor that establishes the session, and when MFA is prompted. It also sets the maximum session lifetime and the idle time, and rules apply in priority order. Network zones group addresses, and BlockedIpZone blocks the ones you list. And the global session policy comes first, then the app sign-in policy, and both must be met.
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.
Head office staff must answer an MFA prompt every time they sign in to Okta from outside the office network. Which policy gets the new rule?
- The global session policy
- The password policy
- The authenticator enrollment policy
- A group rule
Show the answer
The global session policy
The global session policy controls sign-in to Okta, including when MFA is prompted. “The password policy” is wrong, because the password policy covers password rules, lockout, and recovery. “The authenticator enrollment policy” is wrong, since the enrollment policy decides which authenticators users set up, not when they are prompted. And “A group rule” is wrong, because a group rule only manages group memberships.
Hazelport sees repeated sign-in attempts from a few known malicious IP addresses. What is the simplest way to block all their traffic?
- Add them to an enrollment policy
- Add them to BlockedIpZone
- Shorten the global session lifetime
- Create a dynamic zone for the office
Show the answer
Add them to BlockedIpZone
BlockedIpZone blocks all traffic from the addresses listed in it. “Add them to an enrollment policy” is wrong, because an enrollment policy decides which authenticators users set up. “Shorten the global session lifetime” is wrong, since a shorter session does not stop anyone from trying to sign in. And “Create a dynamic zone for the office” is wrong, because a dynamic zone for the office would describe trusted locations, not block the attackers.
On the bakery tablets, an Okta session must end after fifteen minutes without activity. Which setting of the global session policy rule does this?
- Maximum global session lifetime
- Password expires after N days
- Maximum global session idle time
- MFA prompt at every sign-in
Show the answer
Maximum global session idle time
The maximum Okta global session idle time ends a session after a period without activity. “Maximum global session lifetime” is wrong, because the maximum lifetime caps the whole session, even while the user is active. “Password expires after N days” is wrong, since password expiry belongs to the password policy. And “MFA prompt at every sign-in” is wrong, because prompting for MFA at every sign-in does not end an idle session.