Olete.in
Articles
Mock Tests
🧪 API Gateway MCQ Quiz Hub
API Gateways MCQs
Choose a topic to test your knowledge and improve your API Gateway skills
1. Ideally, an application should use _____ protocols.
HTTP
None of the options
Websocket
Both the options
2. _____ helps in reducing latency during service calls.
Circuit Breaker
Client-side discovery
Server-side discovery
None of the options
3. The communication between the gateway and key management happens through a _____ call.
SOAP
HTTP
none of the options
Thrift
4. DoS attacks are prevented using _______.
Publisher
Traffic management
Key management
Store
5. Which one of the following is an API consumer lifecycle?
Publish
Manage
Develop
Explore
6. API creation and management is done in ______.
API Publisher
API Store
API Creator
API Gateway
7. The following are functions of analytics, except ________
Enforce Rate Limiting Policy
Alert on unusual activities
Statistical Graph
Log analyzer
8. .The following are rate-limiting types, except _______.
Bandwith Specific Rate Limit
Regional Rate Limit
Server Rate Limiting
User Specific Limiting
9. API Documentation can be added using ______.
API Publisher
API Store
Both A & B
None of the above
10. X-API-Version: 2 is _____ type of versioning.
Parameter
Media type
Custom Header
Domain
11. Which of the core modules of Swagger helps in creating Interactive documentation?
Swagger Editor
None of the options
Swagger UI
Swagger codegen
12. The following are API life cycles, except ______.
Subscribed
Deprecated
Prototype
Retired
13. .Which of the following is a type of documentation?
All the options
URL
Static
Dynamic
14. The default burst limit in AWS gateway is _____.
1000
5000
2000
10000
15. REST architecture treats every content as a _____.
Assert
Capital
Resource
Source
16. Which one of the following is an API consumer lifecycle?
Explore
Publish
Manage
Develop
17. .The following are API life cycles, except ______.
Deprecated
Retired
Prototype
Subscribed
18. The following are API developer/manager lifecycles, except _______.
Manage
Explore
Develop
Publish
19. Oauth uses ____ to authenticate the users.
tokens
index
badges
cards
20. Which of the following parameters is taken by Token APIs to generate tokens?
Both the options
Grant type
Scope
None of the above
21. WSO2 store is a ______.
Both the options
None of the options
Web application
Key manager
22. The tool that is used to develop API documentation is _____.
Hystrix
Ribbon
Turbine
Swagger
23. ____ is a process of storing server response at the client-end.
Traffic management
Client side discovery
All the options
Catching
24. Role based authentication is done using _____ setting.
Roll
Authentication
Visibility
Access
25. Who manages the API lifecycle?
Subscriber
Creator
Admin X
Publisher
26. __ is a URL that communicates with the API.
None of the options
Both the option
Resource
Endpoint
27. The following are Netflix open software services, except __________
Ribbon
Hystrix
Turbine
Kubernetes
28. What does the HTTP Status Code 401 indicate?
BAD REQUEST
UNAUTHORIZED
INTERNAL SERVER ERROR
NOT FOUND
29. WSO2 API publisher can be accessed through the address ________.
https://localhost:9442/publisher
https://localhost:9443/publisher
https://localhost:9445/publisher
https://localhost:9444/publisher
30. Role based authentication is done using _ setting.
Visibility
Access
Authentication
Roll
31. Which one of the following is an API consumer lifecycle?
Publish
Explore
Manage
Develop
32. Which of the following parameters is taken by Token APIs to generate tokens?
Scope
Grant type
Both the options
None of the options
33. WSO2 API publisher can be accessed through the address __.
https://localhost:9442/publisher
https://localhost:9444/publisher
https://localhost:9445/publisher
https://localhost:9443/publisher
34. Oauth uses __ to authenticate the users.
cards
index
badges
tokens
35. The default burst limit in AWS gateway is _.
5000
1000
2000
10000
36. WSO2 store is a __.
Key manager
Web application
Both the options
None of the above
37. The tool that is used to develop API documentation is _.
Turbine
Ribbon
Hystrix
Swagger
38. does not add anything new, it just re-exposes the existing API with some additional capabilities.
API Gateway
API Proxy
Both A & B
None of the above
39. Which of the following is correct about resource representation in REST?
REST uses various representations to represent a resource where text, JSON, XML.
XML and JSON are the most popular representations of resources.
Both of the above.
None of the above.
40. What URI stands for?
Unit Resource Identifier
Uniform Resource Identifier
Uniform Representation Identifier
None of the above.
41. Which of the following directive of Cache Control Header of HTTP response provides indication to server to revalidate resource if max-age has passed?
must-revalidate
Private
no-cache/no-store
max-age
42. Which of the following HTTP Status code means NOT MODIFIED, used to reduce network bandwidth usage in case of conditional GET requests?
200
201
204
304
43. What JAX-RS stands for?
Just API for RESTful Web Services
Joint API for RESTful Web Services.
JAVA API for RESTful Web Services.
None of the above
44. Which of the following annotation of JAX RS API states the HTTP Request type?
@DELETE
@HEAD
@Produces
@Consumes
45. A RESTful web service usually defines a URI, Uniform Resource Identifier a service, provides resource representation such as JSON and set of HTTP Methods.
True
False
error
None of the above
46. helps in reducing latency during service calls.
Client-side discovery
Circuit Breaker
Server-side discovery
None of the above
47. The following are API developer/manager lifecycles, except _.
Develop
Explore
Publish
Manage
48. A variation of regular Gateway pattern is __.
Backend for frontend
Frontend for backend
Both A & B
None of the above
49. The communication between the gateway and key management happens through a _ call.
Thrift
SOAP
HTTP
None of the above
50. DoS attacks are prevented using _.
Key management
Traffic management
Store
Publisher
51. API creation and management is done in __.
API Gateway
API Store
API Publisher
API Creator
52. _ is a URL that communicates with the API.
Endpoint
Resource
Both the options
None of the above
53. The following are all HTTP methods, except __.
DELETE
UPDATE
PUT
CONNECT
54. _ is identified using _.
Resource, Endpoints
Endpoint, Resource
Both A & B
None of the above
55. All requests will be proxied through Gateway using their __.
Endpoint
Application Name
API Key
None of the above
56. The following are rate-limiting types, except _.
User Specific Limiting
Bandwith Specific Rate Limit
Server Rate Limiting
Regional Rate Limit
57. X-API-Version: 2 is _ type of versioning.
Custom Header
Media type
Domain
Parameter
58. Which of the following is a type of documentation?
Static
Dynamic
URL
None of the above
59. The following are API life cycles, except __.
Deprecated
Retired
Prototype
Subscribed
60. Which of the core modules of Swagger helps in creating Interactive documentation?
Swagger Editor
Swagger UI
Swagger codegen
None of the options
61. The following are Netflix open software services, except __
Hystrix
Kubernetes
Ribbon
Turbine
62. __ is a process of storing server response at the client-end.
Catching
Client side discovery
Traffic management
All the options
63. Who manages the API lifecycle?
Creator
Subscriber
Admin
Publisher
64. REST architecture treats every content as a _.
Source
Resource
Assert
Capital
Submit