Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Okta Exam Okta-Certified-Administrator 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:

Deane
1 days 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
...
Alline
3 days 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
3 days ago
I agree with Kati, the RegEx provided is too broad and could potentially allow unintended URLs.
upvoted 0 times
...
Kimi
4 days 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
...
Ivette
7 days ago
A) Yes
upvoted 0 times
...
Dana
9 days 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
...
Kati
26 days 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
29 days ago
B) No
upvoted 0 times
...
Rodrigo
1 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
13 days ago
B) No
upvoted 0 times
...
Tonette
25 days ago
A) Yes
upvoted 0 times
...
...
Kati
1 months ago
A) Yes
upvoted 0 times
...

Save Cancel