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 68 Discussion

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

When using Okta Expression Language, which of the following will have the output: okta.com

Solution: String.substringAfter("abc@okta.com", "@")

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

0/2000 characters
Kimbery
3 months ago
Definitely outputs "okta.com", no doubt about it!
upvoted 0 times
...
Samira
3 months ago
I thought it would just give "okta" instead.
upvoted 0 times
...
Eleni
3 months ago
Totally agree, it's a simple substring operation.
upvoted 0 times
...
Meghann
3 months ago
Wait, are we sure it doesn't return "abc"?
upvoted 0 times
...
Beckie
3 months ago
That's correct, it returns everything after the "@"!
upvoted 0 times
...
Marshall
4 months ago
I might be confused, but I thought substringAfter would give us the part before the "@" instead.
upvoted 0 times
...
Lucy
4 months ago
I feel like this is a trick question. If it returns okta.com, then the answer must be A, right?
upvoted 0 times
...
Delmy
4 months ago
I'm not entirely sure, but I remember practicing a similar question where we had to extract parts of an email.
upvoted 0 times
...
Juan
4 months ago
I think the substringAfter function should return everything after the "@" symbol, so it should be okta.com.
upvoted 0 times
...
Tiera
5 months ago
I'm a bit unsure about this one. I know Okta Expression Language is used for things like user authentication, but I'm not super familiar with the specific functions and syntax. I'll have to think this through carefully.
upvoted 0 times
...
Cruz
5 months ago
Alright, let's see. The solution is using the `substringAfter()` method, which should return the part of the string that comes after the specified delimiter. In this case, the delimiter is the `@` symbol, so it should return the domain part of the email address.
upvoted 0 times
...
Rodolfo
5 months ago
Okay, let me think this through. The question is asking about the output of the given Okta Expression Language solution, so I need to understand how that function works.
upvoted 0 times
...
Timothy
5 months ago
Hmm, this looks like a straightforward string manipulation question. I think I can handle this one.
upvoted 0 times
...
Tasia
8 months ago
Ah, the old 'extract the domain from an email' trick. Easy peasy with that substringAfter() method. I bet the Okta team had a good laugh coming up with this one.
upvoted 0 times
Lea
7 months ago
B) No
upvoted 0 times
...
Amie
7 months ago
A) Yes
upvoted 0 times
...
...
Bette
8 months ago
Wait, is this a trick question? I thought the answer was just 'okta.com'. Hmm, maybe I'm missing something here.
upvoted 0 times
Kenneth
7 months ago
I'm not sure, but I think it's B) No
upvoted 0 times
...
Bernadine
7 months ago
I think the answer is A) Yes
upvoted 0 times
...
Freeman
7 months ago
B) No
upvoted 0 times
...
Jettie
7 months ago
A) Yes
upvoted 0 times
...
...
Francesco
8 months ago
A) Yes, because the String.substringAfter method will return the substring after the specified character '@', which in this case is 'okta.com'.
upvoted 0 times
...
Andrew
8 months ago
B) No
upvoted 0 times
...
Hobert
8 months ago
String.substringAfter() seems like the right way to extract the domain from an email address. Gotta love those handy Okta Expression Language functions!
upvoted 0 times
Domingo
8 months ago
B) No
upvoted 0 times
...
Irving
8 months ago
A) Yes
upvoted 0 times
...
...
Coral
9 months ago
A) Yes
upvoted 0 times
...

Save Cancel