exam questions

Exam AWS Certified Security - Specialty All Questions

View all questions & answers for the AWS Certified Security - Specialty exam

Exam AWS Certified Security - Specialty topic 1 question 493 discussion

Exam question from Amazon's AWS Certified Security - Specialty
Question #: 493
Topic #: 1
[All AWS Certified Security - Specialty Questions]

A company uses Amazon API Gateway to present REST APIs to users. An API developer wants to analyze API access patterns without the need to parse the log files.

Which combination of steps will meet these requirements with the LEAST effort? (Choose two.)

  • A. Configure access logging for the required API stage.
  • B. Configure an AWS CloudTrail trail destination for API Gateway events. Configure filters on the userIdentity, userAgent, and sourceIPAddress fields.
  • C. Configure an Amazon S3 destination for API Gateway logs. Run Amazon Athena queries to analyze API access information.
  • D. Use Amazon CloudWatch Logs Insights to analyze API access information.
  • E. Select the Enable Detailed CloudWatch Metrics option on the required API stage.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
TECHNOWARRIOR
2 years, 1 month ago
A,D - Access logging generates log files that can be analyzed, while detailed CloudWatch metrics generate metrics that can be analyzed. Configure access logging for the required API stage: This implementation involves configuring access logging for the API stage, which will generate log files that contain information about each API request. The log files can be analyzed using a tool like Amazon CloudWatch Logs Insights to gain insights into API access patterns 1 . Select the Enable Detailed CloudWatch Metrics option on the required API stage: This implementation involves enabling detailed CloudWatch metrics for the API stage, which will generate metrics that provide visibility into API usage patterns. The metrics can be analyzed using CloudWatch Metric Math to derive insights into API access patterns
upvoted 2 times
...
OCHT
2 years, 1 month ago
Selected Answer: DE
In the context of the question, "without the need to parse the log files" means the developer wants a solution that doesn't require manual examination and interpretation of raw log data. In that case, option A, which involves configuring access logging, might not be the best fit because while it does provide valuable data, it requires parsing and interpretation of log files. Instead, choosing option E: "Select the Enable Detailed CloudWatch Metrics option on the required API stage" might be a better fit. This option provides graphical visualization of API usage, error rates, and latency directly in the CloudWatch console, removing the need for manual log parsing. So, the correct choices would be: E. Select the Enable Detailed CloudWatch Metrics option on the required API stage. D. Use Amazon CloudWatch Logs Insights to analyze API access information.
upvoted 2 times
...
6_8ftwin
2 years, 1 month ago
Selected Answer: AD
"In access logging, you, as an API developer, want to log who has accessed your API and how the caller accessed the API. " https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html CloudWatch Logs Insights is obvious: https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/AnalyzingLogData.html
upvoted 4 times
...
cloudenthusiast
2 years, 2 months ago
Selected Answer: AD
A. Configure access logging for the required API stage: By enabling access logging, API Gateway will generate log files that capture detailed information about each API request. These logs can be stored in Amazon S3 or streamed to CloudWatch Logs. D. Use Amazon CloudWatch Logs Insights to analyze API access information: With CloudWatch Logs Insights, you can run queries on the log data generated by API Gateway to gain insights into API access patterns. CloudWatch Logs Insights provides a powerful query language that allows you to filter, aggregate, and analyze log data. By configuring access logging and utilizing CloudWatch Logs Insights, you can easily analyze API access patterns without the need to parse log files manually. The log data will be readily available and accessible for analysis using CloudWatch Logs Insights.
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...