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 8 Question 39 Discussion

Actual exam question for Okta's Okta-Certified-Administrator exam
Question #: 39
Topic #: 8
[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 with the help of a different token, hence will return the next page of objects

Show Suggested Answer Hide Answer
Suggested Answer: B

Contribute your Thoughts:

Domitila
1 months ago
What if I just spammed the API with random tokens until I got all the objects? That's a perfectly valid strategy, right?
upvoted 0 times
Hector
14 hours ago
A) No, that would not be a good strategy. You should use the correct method to retrieve all objects.
upvoted 0 times
...
Aleshia
8 days ago
B) No
upvoted 0 times
...
Carin
27 days ago
A) Yes
upvoted 0 times
...
...
Stevie
1 months ago
A is the answer, obviously. Unless the API returns a magical infinite scroll, which would be a nice surprise.
upvoted 0 times
Deandrea
10 days ago
Great, thanks for the info!
upvoted 0 times
...
Blair
16 days ago
That's correct!
upvoted 0 times
...
Irene
28 days ago
Yes
upvoted 0 times
...
Denise
1 months ago
A
upvoted 0 times
...
...
Shonda
2 months ago
This is a pretty straightforward question. A is the way to go, unless you want to spend hours scrolling through the results.
upvoted 0 times
Mayra
14 days ago
A is correct. It's important to use the pagination token to retrieve all objects efficiently.
upvoted 0 times
...
Tamar
22 days ago
A
upvoted 0 times
...
...
Mendy
2 months ago
I think the solution makes sense because calling the API with a different token will help retrieve the next page of objects.
upvoted 0 times
...
Lura
2 months ago
B? Really? That's not going to work. You definitely need to use the pagination approach to get all the objects.
upvoted 0 times
Alesia
20 days ago
Yes
upvoted 0 times
...
Carin
22 days ago
No
upvoted 0 times
...
Detra
1 months ago
Yes
upvoted 0 times
...
...
Gabriele
2 months ago
I think the correct answer is A. Calling the same API with a different token to retrieve the next page of objects seems like a logical approach to handle pagination.
upvoted 0 times
...
Arlie
2 months ago
B) No
upvoted 0 times
...
Mendy
2 months ago
A) Yes
upvoted 0 times
...

Save Cancel