module 10

अब Quizwiz के साथ अपने होमवर्क और परीक्षाओं को एस करें!

Which of the following statements about APIs, in general, is false? Select all that apply. API and SDK are synonyms for the same concept. An API is a means by which one layer of software can interact with another. A distributed application will only ever involve one API. An API is an abstraction. None of the above

API and SDK are synonyms for the same concept. A distributed application will only ever involve one API.

Below is a URL for the stage of an API Gateway, with certain parts replaced by A, B, and C. https://A.execute-api.B.amazonaws.com/C Which of the following statements is true? A is the stage and B is the region A is the region and B is the stage B is the stage and C is the region B is the region and C is the stage A is the stage and C is the region A is the region and C is the stage

B is the region and C is the stage

A RESTful API must implement all of the standard REST-style operations, e.g., GET, POST, PUT, etc. T/F

False

A stage can help you optimize a deployment of an API Gateway through by enabling API caching that is specific to the stage, but you have to be using CloudFront in conjunction with the stage in order to use the API caching feature. T/F

False

Output (written to the console output stream) in a Lambda function automatically appear in the API Gateway logs when testing using the API Gateway Console. T/F

False

WebSocket APIs are good for real-time communications between a client and a server because they are based on one-way, connectionless message transmissions. T/F

False

Which of the following can be used to control access to an API implement with Amazon API Gateway? Select all that apply. Lambda authorizers AWS Signer IAM resource policies Client-side SSL certificates CORS Amazon Secrets Manager Amazon Cognito None of the above

Lambda authorizers IAM resource policies Client-side SSL certificates CORS Amazon Cognito

Which of the following can an API Gateway not do? Start the state machines for AWS Step Functions Act as a frontend to DymanoDB Make calls to a website running on an EC2 instance Make calls to a web services outside of AWS with publicly accessible HTTP endpoints Act as a proxy for requests to S3 Make calls to AWS Elastic Beanstalk Act as a proxy to RDS None of the above

None of the above

Which of the following metrics does the API Gateway sent to CloudWatch by default? Number of client-side and server-side errors Total number of API calls A client's IP Address Number of requests that were served from the backend in a given period when caching is enabled Integration latency Time between when API Gateway receives a request from a client and when it returns a response to the client The type of browser the client is using Number of requests that were served from the API cache in a given period None of the above

Number of client-side and server-side errors Total number of API calls Number of requests that were served from the backend in a given period when caching is enabled Integration latency Time between when API Gateway receives a request from a client and when it returns a response to the client Number of requests that were served from the API cache in a given period

API Gateway lets you run multiple versions of the same API simultaneously. T/F

True

All RESTful APIs follow a request-reply communication pattern. T/F

True

Amazon API Gateway supports both RESTful and websocket APIs. T/F

True

An API Gateway can allow you to establish throttle rules for requests coming into your application. T/F

True

You can test your API Gateway before creating a stage. T/F

True


संबंधित स्टडी सेट्स

Excel Lesson 1 & 2: Microsoft Excel Basics

View Set

Grammar structures and sentences(好是好...可是...)

View Set

Chapter 5: Human Resource Planning and Recruitment

View Set

Chapter 13: Care of the Patient with a Sensory Disorder

View Set

property, plant and equipment (PP&E)(fixed assets)

View Set