New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Okta Certified Administrator Exam - Topic 5 Question 69 Discussion

Actual exam question for Okta's Okta Certified Administrator exam
Question #: 69
Topic #: 5
[All Okta Certified Administrator Questions]

Speaking of Okta Template App and Okta Pluin Template App, which of the following RegEx can you create for an allow list of URLS so that both endpoints for /login or /change_password are accepted under example.com domain?

Solution: https://example*.com/(login|change_password)

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

0/2000 characters
Chauncey
3 months ago
Not sure if that's the best approach, might need more testing.
upvoted 0 times
...
Annalee
3 months ago
Wait, does it really work for all subdomains too?
upvoted 0 times
...
Jolanda
3 months ago
Totally agree, it covers both endpoints perfectly.
upvoted 0 times
...
Vallie
3 months ago
Yup, it’s valid for example.com and its subdomains!
upvoted 0 times
...
Elouise
3 months ago
That's a solid regex for the allow list!
upvoted 0 times
...
Trina
4 months ago
I believe the regex is valid, but I wonder if there are edge cases we should consider for other URL patterns.
upvoted 0 times
...
Johnson
4 months ago
I'm a bit confused about the asterisk in the domain part. Does it really allow for subdomains too?
upvoted 0 times
...
Felix
4 months ago
I remember practicing a similar question, and I think the parentheses for the endpoints are definitely needed.
upvoted 0 times
...
Izetta
4 months ago
I think the regex looks correct, but I'm not entirely sure if the wildcard is properly used for the domain.
upvoted 0 times
...
Julio
5 months ago
The solution provided looks good to me. I'll double-check the syntax, but I'm confident this RegEx will do the trick.
upvoted 0 times
...
Leonora
5 months ago
Okay, I think I've got this. The key is to use the alternation operator '|' to match both the /login and /change_password endpoints, and the wildcard '*' to match any subdomains under the example.com domain.
upvoted 0 times
...
Pamella
5 months ago
Hmm, I'm a bit unsure about this one. I'll need to review my RegEx knowledge and make sure I understand the requirements properly before attempting an answer.
upvoted 0 times
...
Otis
5 months ago
This looks like a tricky RegEx question. I'll need to think through the different URL patterns carefully to make sure I cover all the bases.
upvoted 0 times
...
Merissa
7 months ago
Regex, the dark magic of the coding world. But this one's a beaut! *chef's kiss*
upvoted 0 times
...
Deane
7 months ago
I'm more of a 'just use the default settings' kind of guy, but this regex looks like it gets the job done. Time to put on my RegEx wizard hat!
upvoted 0 times
Paulina
5 months ago
A) Yes
upvoted 0 times
...
...
Alline
7 months ago
Regex, the language of the gods. Or the demons, depending on your mood. Either way, this solution looks good to me!
upvoted 0 times
...
Shonda
7 months ago
I agree with Kati, the RegEx provided is too broad and could potentially allow unintended URLs.
upvoted 0 times
...
Kimi
7 months ago
Regex, the programmer's kryptonite. But this one seems pretty solid. I'll give it a shot on my next Okta project.
upvoted 0 times
Vashti
6 months ago
B) No
upvoted 0 times
...
Cordelia
7 months ago
A) Yes
upvoted 0 times
...
...
Ivette
7 months ago
A) Yes
upvoted 0 times
...
Dana
7 months ago
Hmm, I think I would have gone with something a little more specific, like '^https://example\\.com/(login|change_password)$'. Just to be extra sure, you know?
upvoted 0 times
Helga
5 months ago
B) No
upvoted 0 times
...
Lai
7 months ago
A) Yes
upvoted 0 times
...
...
Kati
8 months ago
I think the correct RegEx should be more specific to only allow /login or /change_password under example.com domain.
upvoted 0 times
...
Pete
8 months ago
B) No
upvoted 0 times
...
Rodrigo
8 months ago
Ah, the age-old dilemma of RegEx for allow lists. This one's a tricky one, but the solution looks spot on!
upvoted 0 times
Lavelle
7 months ago
B) No
upvoted 0 times
...
Tonette
8 months ago
A) Yes
upvoted 0 times
...
...
Kati
8 months ago
A) Yes
upvoted 0 times
...

Save Cancel