Note: This Question is unanswered, help us to find answer for this one
9. Which is an example of Code on Demand?
Answer
Correct Answer:
JavaScript on a webpage
Note: This Question is unanswered, help us to find answer for this one
10. Which HTTP response code describes a new resource as created successfully?
Answer
Correct Answer:
201
Note: This Question is unanswered, help us to find answer for this one
11. What is the concept that allows an API client to explore an API via links embedded in payloads?
Answer
Correct Answer:
Link relations
Note: This Question is unanswered, help us to find answer for this one
12. Which response header will tell the client that the response is cached for 1 minute ?
Answer
Correct Answer:
Cache-Control: max-age=60
Note: This Question is unanswered, help us to find answer for this one
13. Which HTTP verb is used in a CORS preflight request?
Answer
Correct Answer:
OPTIONS
Note: This Question is unanswered, help us to find answer for this one
14. API testing must be treated as _?
Answer
Correct Answer:
Black box testing
Note: This Question is unanswered, help us to find answer for this one
15. When a user attempts to access a record that is not their own, which HTTP response code is the most appropriate?
Answer
Correct Answer:
401
Note: This Question is unanswered, help us to find answer for this one
16. What is the best approach for requesting JSON instead of XML from an API?
Answer
Correct Answer:
Use the Accept header.
Note: This Question is unanswered, help us to find answer for this one
17. API traffic that is entirely internal to your organization is normally called _?
Answer
Correct Answer:
Internal traffic
Note: This Question is unanswered, help us to find answer for this one
18. Within Oauth, what component validates the user's identity?
Answer
Correct Answer:
Authorization server
Note: This Question is unanswered, help us to find answer for this one
19. Which is the most secure method to transmit an API key?
Answer
Correct Answer:
Authorization header
Note: This Question is unanswered, help us to find answer for this one
20. The textbook approach to api versioning is to use _.
Answer
Correct Answer:
The Accept header
Note: This Question is unanswered, help us to find answer for this one
21. What component hides the distinctions or boundaries between various microservices from end-client applications?
Answer
Correct Answer:
API gateway
Note: This Question is unanswered, help us to find answer for this one
22. Which response header tells the client and intermediaries that the response is not to be cached anywhere?
Answer
Correct Answer:
Cache-Control: no-store
Note: This Question is unanswered, help us to find answer for this one
23. What is Time to First Hello World?
Answer
Correct Answer:
How long it takes for a developer to do something with your API
Note: This Question is unanswered, help us to find answer for this one
24. What is the purpose of an OAuth refresh token?
Answer
Correct Answer:
To retrieve an access token
Note: This Question is unanswered, help us to find answer for this one
25. What should your API documentation describe?
Answer
Correct Answer:
Common use cases
Note: This Question is unanswered, help us to find answer for this one
26. What is OAuth?
Answer
Correct Answer:
An authorization framework for granted delegated access
Note: This Question is unanswered, help us to find answer for this one
27. Which property would you use to include references to other resources in a JSON document?
Answer
Correct Answer:
Resources
Note: This Question is unanswered, help us to find answer for this one
28. When building SDKs, which languages should you support?
Answer
Correct Answer:
The languages that your target users use
Note: This Question is unanswered, help us to find answer for this one
29. What is the purpose of a link relation?
Answer
Correct Answer:
To link two resources together
Note: This Question is unanswered, help us to find answer for this one
30. What is the recommended method and URL pattern for retrieving a specific user?
Answer
Correct Answer:
GET /users/{id}
Note: This Question is unanswered, help us to find answer for this one
31. What metric tracks overall availability for your API?
Answer
Correct Answer:
Uptime
Note: This Question is unanswered, help us to find answer for this one
32. Which content is best to include in your documentation?
Answer
Correct Answer:
Sample code
Note: This Question is unanswered, help us to find answer for this one
33. Which REST constraint allows for the presence of caching, routing, and other systems between the client and server?
Answer
Correct Answer:
Layered System
Note: This Question is unanswered, help us to find answer for this one
34. What is the best way to track SDK and version usage?
Answer
Correct Answer:
Tracking downloads
Note: This Question is unanswered, help us to find answer for this one
35. Which property would you use to include subresources directly into a JSON document?
Answer
Correct Answer:
Subresources
Note: This Question is unanswered, help us to find answer for this one
36. Using OAuth, what scope would you request for write access to the API?
Answer
Correct Answer:
Admin
Note: This Question is unanswered, help us to find answer for this one
37. Which OAuth grant type can support a refresh token?
Answer
Correct Answer:
Authorization Code Grant
Note: This Question is unanswered, help us to find answer for this one
38. What should you add to a Cache-Control response header to specify that a response should not be stored in an intermediary cache?
Answer
Correct Answer:
Private
Note: This Question is unanswered, help us to find answer for this one
39. What additional type of token would you see when using OpenID Connect?
Answer
Correct Answer:
ID token
Note: This Question is unanswered, help us to find answer for this one
40. What OAuth term is used to represent permissions?
Answer
Correct Answer:
Scope
Note: This Question is unanswered, help us to find answer for this one
41. What protection does a JSON Web Token (JWT) offer to mitigate tampering with its contents?
Answer
Correct Answer:
A signature
Note: This Question is unanswered, help us to find answer for this one
42. What component can you use to wrap legacy architectures or protocols into a REST interface for easier consumption and integration?
Answer
Correct Answer:
API proxy
Note: This Question is unanswered, help us to find answer for this one
43. The ability to execute the same API request over and over again without changing the resource's state is an example of _.
Answer
Correct Answer:
Idempotency
Note: This Question is unanswered, help us to find answer for this one
44. What is one benefit that OAuth provides over an API key approach?
Answer
Correct Answer:
A token is scoped to the use case.
Note: This Question is unanswered, help us to find answer for this one
45. If you were to add versioning by using the Accept and Content-Type header, what would be the correct format of the header value?
Answer
Correct Answer:
Application/vnd.myapp.v2+json
Note: This Question is unanswered, help us to find answer for this one
46. What purpose does a User-Agent serve?
Answer
Correct Answer:
It identifies the client application or SDK.
Note: This Question is unanswered, help us to find answer for this one
47. Which REST constraint specifies that there should be no shared context?
Answer
Correct Answer:
Stateless
Note: This Question is unanswered, help us to find answer for this one
48. What is one benefit of GraphQl over REST approaches?
Answer
Correct Answer:
Flexible querying/responses
Note: This Question is unanswered, help us to find answer for this one
49. What is OpenID Connect?
Answer
Correct Answer:
An identify layer on top of OAuth 2.0
Note: This Question is unanswered, help us to find answer for this one
50. Your API resource does no allow deletion, and a client application attempted to delete the resource. What HTTP response code should you return?
Answer
Correct Answer:
405 Method Not Allowed
Note: This Question is unanswered, help us to find answer for this one
51. What is one benefit of server-side caching in APIs?
Answer
Correct Answer:
It reduce load on servers.
Note: This Question is unanswered, help us to find answer for this one
52. Which HTTP verb is normally used to update or create a resource in an API?
Answer
Correct Answer:
POST
Note: This Question is unanswered, help us to find answer for this one
53. What is the modern specification for describing an API?
Answer
Correct Answer:
OpenAPI (Swagger)
Note: This Question is unanswered, help us to find answer for this one
54. Which is a common command-line tool for using or exploring an API?
Answer
Correct Answer:
Curl
Note: This Question is unanswered, help us to find answer for this one
55. What is the underlying goal of all APIs?
Answer
Correct Answer:
To share features and functionality with other system.
Note: This Question is unanswered, help us to find answer for this one
56. APIs commonly use webhooks to _.
Answer
Correct Answer:
Notify other systems of an event
Note: This Question is unanswered, help us to find answer for this one
57. What would you enable to allow a browser on another site to make an AJAX request to your API?
Answer
Correct Answer:
CORS
Note: This Question is unanswered, help us to find answer for this one
58. Which REST constraint specifies that knowledge and understanding obtained from one component of the API should be generally applicable elsewhere in the API?
Answer
Correct Answer:
Uniform Interface
Note: This Question is unanswered, help us to find answer for this one
59. When dealing with JSON web Tokens (JWTs), what is a claim?
Answer
Correct Answer:
Data in the token
Note: This Question is unanswered, help us to find answer for this one
60. Which URL pattern is recommended when working with one resource and a collection of resources?
Answer
Correct Answer:
/companies/{id} and/companies
Note: This Question is unanswered, help us to find answer for this one
61. What type of relationship is defined as one resource existing only if another parent resource exist-for example, pages in a book?
Answer
Correct Answer:
Dependent
Note: This Question is unanswered, help us to find answer for this one