Amazon API Gateway | Management, Metrics and Logging Flashcards

1
Q

Can I use AWS CloudTrail with Amazon API Gateway?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

Yes. Amazon API Gateway is integrated with AWS CloudTrail to give you a full auditable history of the changes to your REST APIs. All API calls made to the Amazon API Gateway APIs to create, modify, delete, or deploy REST APIs are logged to CloudTrail in your AWS account.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How can I monitor my Amazon API Gateway APIs?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

Amazon API Gateway logs API calls, latency, and error rates to Amazon CloudWatch in your AWS account. The metrics are also available through the Amazon API Gateway console in a REST API dashboard. API Gateway also meters utilization by third-party developers, the data is available in the API Gateway console and through the APIs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Can I set up alarms on the Amazon API Gateway metrics?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

Yes, Amazon API Gateway sends logging information and metrics to Amazon CloudWatch. You can utilize the Amazon CloudWatch console to set up custom alarms.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How can I set up metrics for Amazon API Gateway?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

By default, Amazon API Gateway monitors traffic at a REST API level. Optionally, you can enable detailed metrics for each method in your REST API from the deployment configuration APIs or console screen. Detailed metrics are also logged to Amazon CloudWatch and will be charged at the CloudWatch rates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Can I determine which version of the API my customers are using?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

Yes. Metric details are specified by REST API and stage. Additionally, you can enable metrics for each method in your REST API.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Does Amazon API Gateway provide logging support?

Management, Metrics and Logging

Amazon API Gateway | Networking & Content Delivery

A

Yes. Amazon API Gateway integrates with Amazon CloudWatch Logs. You can optionally enable logging for each stage in your API. For each method in your REST APIs, you can set the verbosity of the logging, and if full request and response data should be logged.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly