---Advertisement---
API Gateways Microservices

API Gateways Interview Question-Answer Part – 2

By smart_answer13

Updated on:

---Advertisement---

API Gateways Interview Question-Answer Part – 1

Q.1 What does the HTTP Status Code 401 indicate?

       A. UNAUTHORIZED

       B. NOT FOUND

       C. BAD REQUEST

       D. INTERNAL SERVER ERROR

Ans : UNAUTHORIZED


Q.2 Role based authentication is done using _____ setting.

       A. Visibility

       B. Access

       C. Authentication

       D. Roll

Ans : Visibility


Q.3 A single API cannot be subscribed multiple times with many SLA levels.

       A. True

       B. False

Ans : False


Q.4 An API call will be received by the gateway and will be routed to the appropriate microservice.

       A. True

       B. False

Ans : True


Q.5 Which one of the following is an API consumer lifecycle?

       A. Publish

       B. Explore

       C. Manage

       D. Develop

Ans : Explore


Q.6 Which of the following parameters is taken by Token APIs to generate tokens?

       A. Scope

       B. Grant type

       C. Both the options

       D. None of the options

Ans : Both the options


Q.7 WSO2 API publisher can be accessed through the address ________.

       A. https://localhost:9442/publisher

       B. https://localhost:9444/publisher

       C. https://localhost:9445/publisher

       D. https://localhost:9443/publisher

Ans : https://localhost:9443/publisher


Q.8 Oauth uses ____ to authenticate the users.

       A. cards

       B. index

       C. badges

       D. tokens

Ans : tokens


Q.9 The default burst limit in AWS gateway is _____.

       A. 5000

       B. 1000

       C. 2000

       D. 10000

Ans : 5000


Q.10 WSO2 store is a ______.

       A. Key manager

       B. Web application

       C. Both the options

       D. None of the options

Ans : Web application


Q.11 The tool that is used to develop API documentation is _____.

       A. Turbine

       B. Ribbon

       C. Hystrix

       D. Swagger

Ans : Swagger


Q.12 _____ does not add anything new, it just re-exposes the existing API with some additional capabilities.

       A. API Gateway

       B. API Proxy

Ans : API Proxy


Q.13 Is there any relation between Instance & AMI?

       A. Yes

       B. No

Ans : Yes


Q.14 Which of the following is correct about resource representation in REST?

       A. REST uses various representations to represent a resource where text, JSON, XML.

       B. XML and JSON are the most popular representations of resources.

       C. Both of the above.

       D. None of the above.

Ans : Both of the above.


Q.15 What URI stands for?

       A. Unit Resource Identifier

       B. Uniform Resource Identifier

       C. Uniform Representation Identifier

       D. None of the above.

Ans : Uniform Resource Identifier


Q.16 Which of the following directive of Cache Control Header of HTTP response provides indication to server to revalidate resource if max-age has passed?

       A. must-revalidate

       B. Private

       C. no-cache/no-store

       D. max-age

Ans : must-revalidate


Q.17 Which of the following HTTP Status code means NOT MODIFIED, used to reduce network bandwidth usage in case of conditional GET requests?

       A. 200

       B. 201

       C. 204

       D. 304

Ans : 304


Q.18 What JAX-RS stands for?

       A. Just API for RESTful Web Services

       B. Joint API for RESTful Web Services.

       C. JAVA API for RESTful Web Services.

       D. None of the above.

Ans : JAVA API for RESTful Web Services.


Q.19 Which of the following annotation of JAX RS API states the HTTP Request type?

       A. @DELETE

       B. @HEAD

       C. @Produces

       D. @Consumes

Ans : @Consumes


Q.20 A RESTful web service usually defines a URI, Uniform Resource Identifier a service, provides resource representation such as JSON and set of HTTP Methods.

       A. True

       B. False

Ans : True


Q.21 POST opearations should be idempotent.

       A. True

       B. False

Ans : False


API Gateways Interview Question-Answer Part – 1

smart_answer13

---Advertisement---

Related Post

Zipkin-Jaeger Interview Question-Answer

Q.1 Which is responsible for sending spans to storage?        A. Transport        B. Collector        C. Component        D. ...

Weaveworks Interview Question-Answer

Q.1 Which of the following features offered by WeaveClouds?        A. Observability        B. VCS integration        C. none of the mentioned ...

Vaadin Unplugged Interview Question-Answer

Q.1 Which of the Programming Model is not supported by Vaadin?        A. Browser        B. Client Side        C. Server Side ...

Spring Boot Framework Interview Question-Answer Part – 2

Q.1 The annotation used to import additional configuration classes is ___________.        A. @Import        B. @Include        C. @EnableImport     ...

Leave a Comment