Multiple Choice Questions and Answers PDF

Document Details

DecisiveGreatWallOfChina1467

Uploaded by DecisiveGreatWallOfChina1467

Tags

multiple choice questions microservices API Gateway computer science

Summary

This document contains multiple choice questions on topics related to microservices, API Gateways, and security features. The questions cover concepts such as direct service exposure, potential drawbacks of using an API Gateway, and security features offered by API Gateways. This is part of a computer science curriculum.

Full Transcript

Add the following multiple choice questions and answers and explanations verbatim (DO NOT change the given wording). ----------------------------------------------------- New Question 1: "Which of the following is an example of direct service exposure or accurately describes direct service exposure...

Add the following multiple choice questions and answers and explanations verbatim (DO NOT change the given wording). ----------------------------------------------------- New Question 1: "Which of the following is an example of direct service exposure or accurately describes direct service exposure in a microservices architecture?" Choice A: "Using a single endpoint to handle requests for all microservices." Choice B: "Interacting with separate endpoints for file uploads, downloads, and metadata retrieval." Choice C: "Utilizing a cloud service that combines all operations into one endpoint." Choice D: "Accessing file upload and download functionalities through a unified API." Correct answer: B Explanation: In a cloud storage service, clients directly interact with different endpoints for various functionalities. Direct service exposure requires clients to manage multiple endpoints, complicating interactions. ----------------------------------------------------- New Question 2: "What is a possible drawback of using an API Gateway?" Choice A: "It eliminates the need for any security measures." Choice B: "It can introduce a single point of failure in the architecture." Choice C: "It requires more endpoints for client interactions." Choice D: "It reduces the control clients have over individual services." Correct answer: B Explanation: API Gateways can create single points of failure, which is a significant concern in system architecture. ----------------------------------------------------- New Question 3: "What is a significant security feature provided by an API Gateway?" Choice A: "Automatic scaling of services" Choice B: "Direct access to all databases" Choice C: "Centralized billing for services" Choice D: "Centralized authentication and SSL termination" Correct answer: D Explanation: The API Gateway enhances security through centralized authentication and the termination of SSL, adding a layer of protection. ----------------------------------------------------- -----------------------------------------------------

Use Quizgecko on...
Browser
Browser