
Answer-first summary for fast verification
Answer: AWS CloudTrail, Amazon S3 Intelligent-Tiering
## Detailed Explanation To meet the requirements of logging all Amazon Bedrock API requests and retaining them securely for 5 years at the lowest possible cost, the optimal solution involves two key components: ### 1. **AWS CloudTrail (Option A)** - **Purpose**: AWS CloudTrail is the primary AWS service for logging API activity across AWS services, including Amazon Bedrock. It records all API calls made to Bedrock, capturing details such as the identity of the caller, time of request, source IP address, request parameters, and response elements. - **Why it's optimal**: CloudTrail provides comprehensive, secure logging that is essential for compliance, security auditing, and operational monitoring. It integrates natively with AWS services and can deliver logs to Amazon S3 for long-term retention. Other options like Amazon CloudWatch (B) are more focused on metrics and monitoring rather than detailed API logging, and AWS Audit Manager (C) is for compliance assessments rather than raw API logging. ### 2. **Amazon S3 Intelligent-Tiering (Option D)** - **Purpose**: Amazon S3 Intelligent-Tiering is a storage class designed to optimize costs for data with unknown or changing access patterns. It automatically moves objects between two access tiers (frequent and infrequent) based on access patterns, without performance impact or operational overhead. - **Why it's optimal**: For retaining logs for 5 years, cost efficiency is critical. Intelligent-Tiering ensures that logs accessed occasionally (as typical for audit purposes) are stored in the infrequent access tier at lower costs, while automatically moving to frequent access if accessed more often. This provides the lowest possible cost over 5 years compared to: - **Amazon S3 Standard (E)**: Designed for frequently accessed data, it has higher storage costs and is not cost-optimized for long-term retention. - Other S3 storage classes like Glacier are not listed but would require manual lifecycle policies and retrieval fees, making Intelligent-Tiering more automated and cost-effective for this scenario. ### Why Other Options Are Less Suitable: - **B (Amazon CloudWatch)**: While CloudWatch can monitor metrics and logs, it is not designed to log all API requests comprehensively like CloudTrail. It is better for real-time monitoring and alerting rather than detailed API audit trails. - **C (AWS Audit Manager)**: This service helps automate compliance assessments and evidence collection but does not directly log API requests. It relies on data from services like CloudTrail, so it is not the primary logging tool. - **E (Amazon S3 Standard)**: As noted, this storage class has higher costs for long-term retention and does not automatically optimize based on access patterns, making it less cost-effective over 5 years. ### Summary: The combination of **AWS CloudTrail** for secure API logging and **Amazon S3 Intelligent-Tiering** for cost-optimized long-term storage meets all requirements: comprehensive logging, security, 5-year retention, and minimal cost through automated tiering.
Ultimate access to all questions.
No comments yet.
Author: LeetQuiz Editorial Team
Which two AWS services and storage classes should be used to securely log all Amazon Bedrock API requests for 5 years at the lowest cost?
A
AWS CloudTrail
B
Amazon CloudWatch
C
AWS Audit Manager
D
Amazon S3 Intelligent-Tiering
E
Amazon S3 Standard