API Gateways Interview Question-Answer Part – 2
Q.1 _____ helps in reducing latency during service calls.
A. Client-side discovery
B. Circuit Breaker
C. Server-side discovery
D. None of the options
Ans : Circuit Breaker
Q.2 The following are API developer/manager lifecycles, except _______.
A. Develop
B. Explore
C. Publish
D. Manage
Ans : Explore
Q.3 A variation of regular Gateway pattern is ______.
A. Backend for frontend
B. Frontend for backend
Ans : Backend for frontend
Q.4 Gateway is capable of exposing a client to different APIs based on the devices.
A. True
B. False
Ans : True
Q.5 An API call will be received by the gateway and will be routed to the appropriate microservice.
A. True
B. False
Ans : True
Q.6 The communication between the gateway and key management happens through a _____ call.
A. Thrift
B. SOAP
C. HTTP
D. none of the options
Ans : Thrift
Q.7 DoS attacks are prevented using _______.
A. Key management
B. Traffic management
C. Store
D. Publisher
Ans : Traffic management
Q.8 API creation and management is done in ______.
A. API Gateway
B. API Store
C. API Publisher
D. API Creator
Ans : API Publisher
Q.9 _____ is a URL that communicates with the API.
A. Endpoint
B. Resource
C. Both the options
D. None of the above
Ans : Endpoint
Q.10 The following are all HTTP methods, except ________.
A. DELETE
B. UPDATE
C. PUT
D. CONNECT
Ans : UPDATE
Q.11 Rate limiting based on the HTTP header is possible.
A. True
B. False
Ans : True
Q.12 A single service can have multiple endpoints.
A. True
B. False
Ans : True
Q.13 Bandwidth is one of the reasons to enforce Rate-Limiting.
A. True
B. False
Ans : True
Q.14 Deprecated API can still be used.
A. True
B. False
Ans : True
Q.15 _____ is identified using _____.
A. Resource, Endpoints
B. Endpoint, Resource
Ans : Resource, Endpoints
Q.16 All requests will be proxied through Gateway using their ______.
A. Endpoint
B. Application Name
C. API Key
D. None of the options
Ans : Application Name
Q.17 The following are rate-limiting types, except _______.
A. User Specific Limiting
B. Bandwith Specific Rate Limit
C. Server Rate Limiting
D. Regional Rate Limit
Ans : Bandwith Specific Rate Limit
Q.18 X-API-Version: 2 is _____ type of versioning.
A. Custom Header
B. Media type
C. Domain
D. Parameter
Ans : Custom Header
Q.19 Which of the following is a type of documentation?
A. Static
B. Dynamic
C. URL
D. All the options
Ans : URL
Q.20 The following are API life cycles, except ______.
A. Deprecated
B. Retired
C. Prototype
D. Subscribed
Ans : Subscribed
Q.21 Which of the core modules of Swagger helps in creating Interactive documentation?
A. Swagger Editor
B. Swagger UI
C. Swagger codegen
D. None of the options
Ans : Swagger UI
Q.22 Swagger UI creates documentation based on API parameters.
A. True
B. False
Ans : True
Q.23 It is possible to test an API without subscribing.
A. True
B. False
Ans : True
Q.24 API Documentation can be added using ______.
A. API Store
B. API Publisher
Ans : API Publisher
Q.25 Monetization is one of the reasons for Rate limiting.
A. True
B. False
Ans : True
Q.26 An API proxy can act as an API gateway.
A. True
B. False
Ans : True
Q.27 REST architecture treats every content as a _____.
A. Source
B. Resource
C. Assert
D. Capital
Ans : Resource
Q.28 Who manages the API lifecycle?
A. Creator
B. Subscriber
C. Admin
D. Publisher
Ans : Admin
Q.29 ______ is a process of storing server response at the client-end.
A. Catching
B. Client side discovery
C. Traffic management
D. All the options
Ans : All the options
Q.30 The following are Netflix open software services, except __________
A. Hystrix
B. Kubernetes
C. Ribbon
D. Turbine
Ans : Kubernetes