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?
Suggested Answer: B
Get Premium Okta Certified Administrator Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
26 comments · newest first
DA
Darrin
2 months ago
I believe it's A) Yes. It covers both paths under the domain.
TH
Thad
2 months ago
I'm not sure. Could be B) No, regex can be tricky.
LY
Lynda
2 months ago
I feel the same. It matches both endpoints.
LO
Lonny
2 months ago
I think it's A) Yes. The regex looks correct.
CA
Candida
2 months ago
A) Yes is definitely right. It covers both cases perfectly.
YV
Yvonne
3 months ago
I'm not so sure. Maybe B) No? It seems too broad.
LY
Lynelle
3 months ago
I agree, A) Yes. The regex looks correct.
VI
Virgina
3 months ago
I think it's A) Yes. It matches both endpoints.
LA
Lashawna
3 months ago
But it specifically targets those two paths. A is the way to go!
JE
Jerry
3 months ago
I'm not so sure. What if it doesn't cover other cases?
RE
Refugia
3 months ago
I agree, A makes sense. It's clear and concise.
EU
Eun
4 months ago
I think the answer is A. It matches both endpoints.
CL
Cletus
4 months ago
I'm not sure, I thought the syntax was different for allow lists.
AD
Adelina
4 months ago
Totally agree, it seems valid to me!
YO
Yoko
5 months ago
Wait, does that actually work for all subpaths?
SH
Shenika
6 months ago
I think it should be https://example.com/(login|change_password).* instead.
KR
Kris
6 months ago
That regex looks good for the endpoints!
OD
Odette
6 months ago
I’m not sure, I thought regex needed more specificity.
VA
Vanesa
6 months ago
Totally agree, it should cover both paths!
NG
Nguyet
6 months ago
Wait, does that really work for all cases?
NO
Noah
6 months ago
I think it should be https://example.com/(login|change_password).* instead.
PE
Pearline
7 months ago
That regex looks good for both endpoints!
AR
Aretha
7 months ago
Based on what I studied, I believe the regex is correct for matching those endpoints under the example.com domain.
MA
Marquetta
7 months ago
I feel like I've seen regex questions before, but I can't recall if the asterisk is necessary in this case.
NO
Noel
7 months ago
I remember practicing a similar question, and I think the correct format is just using the parentheses without the backslash.
QU
Quentin
7 months ago
I think the regex should work, but I'm not entirely sure about the syntax with the backslashes.