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 9 Question 22 Discussion

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

When you call a GET API call for users / groups / and other such objects, the response is usually Paginated, in case these are a lot of objects returned. What do you do in order to retrieve all objects?

Solution: You call the very same API multiple times, till the response will be empty

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Eric
1 months ago
The solution is to call the API repeatedly until it's empty? That's like trying to fill a bucket with a hole in the bottom.
upvoted 0 times
...
Ayesha
2 months ago
I'm pretty sure there's a better way to do this than just spamming the API. Maybe we could use something like cursor-based pagination or offset-based pagination?
upvoted 0 times
...
Mel
2 months ago
Wait, so the correct answer is to just keep calling the same API over and over? That's like the digital equivalent of knocking on the same door until someone answers.
upvoted 0 times
A) Yes
upvoted 0 times
...
Reuben
2 days ago
B) No
upvoted 0 times
...
Gerald
6 days ago
A) Yes
upvoted 0 times
...
...
Hyun
2 months ago
Haha, so the solution is to spam the API until it gives up? I guess that's one way to do it.
upvoted 0 times
Barbra
1 months ago
A
upvoted 0 times
...
Christiane
1 months ago
B
upvoted 0 times
...
Tawny
2 months ago
A
upvoted 0 times
...
...
Ula
2 months ago
Calling the API multiple times until the response is empty? Seems like a lot of work. Can't we just use pagination instead?
upvoted 0 times
Sylvia
2 days ago
Yes
upvoted 0 times
...
Coral
3 days ago
No
upvoted 0 times
...
Becky
4 days ago
Yes
upvoted 0 times
...
Kanisha
6 days ago
No
upvoted 0 times
...
Apolonia
26 days ago
Yes
upvoted 0 times
...
Gilberto
1 months ago
No
upvoted 0 times
...
Tequila
1 months ago
Yes
upvoted 0 times
...
...
Mammie
2 months ago
I think the solution provided makes sense. We just need to keep calling the API until we get an empty response.
upvoted 0 times
...
Paris
2 months ago
B) No
upvoted 0 times
...
Mammie
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