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 4 Question 65 Discussion

Actual exam question for Okta's Okta-Certified-Administrator exam
Question #: 65
Topic #: 4
[All Okta-Certified-Administrator Questions]

When using Okta Expression Language, which of the following will have the output: This is a test

Solution: String.replace("That is a test", "is", "at")

Show Suggested Answer Hide Answer
Suggested Answer: A

Contribute your Thoughts:

Barrett
13 days ago
If this question was a pizza, it would be a 'That is a test' special. Jokes aside, B) No is the correct answer here.
upvoted 0 times
...
Arlene
14 days ago
String.replace()? More like String.disappointment() in this case. Looks like I need to brush up on my Okta Expression Language skills.
upvoted 0 times
...
Reena
15 days ago
Ha, I almost fell for that one. Tricky question, but B) No is the way to go. Gotta love those Okta Expression Language gotchas.
upvoted 0 times
...
Paola
18 days ago
Ah, I see what you mean. The output of String.replace() is not 'This is a test', it's 'That at a test'. Good catch!
upvoted 0 times
...
Francis
1 months ago
I think the correct answer is B) No. The replace() function in Okta Expression Language doesn't return the modified string, it modifies the original string in place.
upvoted 0 times
...
Jarvis
2 months ago
I think the correct answer is A) Yes because the String.replace function will replace 'is' with 'at' in the given string.
upvoted 0 times
...
Corrina
2 months ago
B) No
upvoted 0 times
...
Jarvis
2 months ago
A) Yes
upvoted 0 times
...

Save Cancel