Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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
29 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
1 months 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
1 months 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
Quentin
3 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
...
Eve
5 days ago
B) No
upvoted 0 times
...
Bea
16 days ago
A) Yes
upvoted 0 times
...
...
Paola
1 months 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
Wayne
8 days ago
A) No
upvoted 0 times
...
Suzan
14 days ago
B) Yes
upvoted 0 times
...
Estrella
17 days ago
A) No
upvoted 0 times
...
...
Francis
2 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
Leoma
4 days ago
A) Yes
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
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77