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 Certified Administrator Exam - Topic 5 Question 78 Discussion

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)\\*
B) No
A) Yes

Okta Certified Administrator Exam - Topic 5 Question 78 Discussion

Actual exam question for Okta's Okta Certified Administrator exam
Question #: 78
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
Darrin
5 days ago
I believe it's A) Yes. It covers both paths under the domain.
upvoted 0 times
...
Thad
10 days ago
I'm not sure. Could be B) No, regex can be tricky.
upvoted 0 times
...
Lynda
15 days ago
I feel the same. It matches both endpoints.
upvoted 0 times
...
Lonny
20 days ago
I think it's A) Yes. The regex looks correct.
upvoted 0 times
...
Candida
26 days ago
A) Yes is definitely right. It covers both cases perfectly.
upvoted 0 times
...
Yvonne
1 month ago
I'm not so sure. Maybe B) No? It seems too broad.
upvoted 0 times
...
Lynelle
1 month ago
I agree, A) Yes. The regex looks correct.
upvoted 0 times
...
Virgina
1 month ago
I think it's A) Yes. It matches both endpoints.
upvoted 0 times
...
Lashawna
2 months ago
But it specifically targets those two paths. A is the way to go!
upvoted 0 times
...
Jerry
2 months ago
I'm not so sure. What if it doesn't cover other cases?
upvoted 0 times
...
Refugia
2 months ago
I agree, A makes sense. It's clear and concise.
upvoted 0 times
...
Eun
2 months ago
I think the answer is A. It matches both endpoints.
upvoted 0 times
...
Cletus
2 months ago
I'm not sure, I thought the syntax was different for allow lists.
upvoted 0 times
...
Adelina
2 months ago
Totally agree, it seems valid to me!
upvoted 0 times
...
Yoko
4 months ago
Wait, does that actually work for all subpaths?
upvoted 0 times
...
Shenika
4 months ago
I think it should be https://example.com/(login|change_password).* instead.
upvoted 0 times
...
Kris
4 months ago
That regex looks good for the endpoints!
upvoted 0 times
...
Odette
4 months ago
I’m not sure, I thought regex needed more specificity.
upvoted 0 times
...
Vanesa
5 months ago
Totally agree, it should cover both paths!
upvoted 0 times
...
Nguyet
5 months ago
Wait, does that really work for all cases?
upvoted 0 times
...
Noah
5 months ago
I think it should be https://example.com/(login|change_password).* instead.
upvoted 0 times
...
Pearline
5 months ago
That regex looks good for both endpoints!
upvoted 0 times
...
Aretha
5 months ago
Based on what I studied, I believe the regex is correct for matching those endpoints under the example.com domain.
upvoted 0 times
...
Marquetta
5 months ago
I feel like I've seen regex questions before, but I can't recall if the asterisk is necessary in this case.
upvoted 0 times
...
Noel
6 months ago
I remember practicing a similar question, and I think the correct format is just using the parentheses without the backslash.
upvoted 0 times
...
Quentin
6 months ago
I think the regex should work, but I'm not entirely sure about the syntax with the backslashes.
upvoted 0 times
...

Save Cancel