
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company needs the ability to analyze the log files of its proprietary application. The logs are stored in JSON format in an Amazon S3 bucket. Queries will be simple and will run on-demand. A solutions architect needs to perform the analysis with minimal changes to the existing architecture.
What should the solutions architect do to meet these requirements with the LEAST amount of operational overhead?
A
Use Amazon Redshift to load all the content into one place and run the SQL queries as needed.
B
Use Amazon CloudWatch Logs to store the logs. Run SQL queries as needed from the Amazon CloudWatch console.
C
Use Amazon Athena directly with Amazon S3 to run the queries as needed.
D
Use AWS Glue to catalog the logs. Use a transient Apache Spark cluster on Amazon EMR to run the SQL queries as needed.
Explanation:
Correct Answer: C - Use Amazon Athena directly with Amazon S3 to run the queries as needed.
Minimal operational overhead: Amazon Athena is a serverless query service, meaning there's no infrastructure to provision or manage. You only pay for the queries you run.
Direct S3 integration: Since the logs are already stored in JSON format in S3, Athena can query them directly without needing to move or transform the data.
On-demand querying: Athena is perfect for ad-hoc, on-demand queries against data in S3.
Simple queries: Athena supports standard SQL and is well-suited for simple queries against structured/semi-structured data like JSON.
Minimal architectural changes: The logs remain in S3, and Athena queries them directly, requiring minimal changes to the existing architecture.
A. Amazon Redshift:
B. Amazon CloudWatch Logs:
D. AWS Glue + Amazon EMR:
Given the requirements (logs already in S3, simple on-demand queries, minimal operational overhead), Amazon Athena is clearly the most appropriate solution.