Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam AWS Certified Data Analytics - Specialty All Questions

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

Exam AWS Certified Data Analytics - Specialty topic 1 question 4 discussion

A software company hosts an application on AWS, and new features are released weekly. As part of the application testing process, a solution must be developed that analyzes logs from each Amazon EC2 instance to ensure that the application is working as expected after each deployment. The collection and analysis solution should be highly available with the ability to display new information with minimal delays.
Which method should the company use to collect and analyze the logs?

  • A. Enable detailed monitoring on Amazon EC2, use Amazon CloudWatch agent to store logs in Amazon S3, and use Amazon Athena for fast, interactive log analytics.
  • B. Use the Amazon Kinesis Producer Library (KPL) agent on Amazon EC2 to collect and send data to Kinesis Data Streams to further push the data to Amazon OpenSearch Service (Amazon Elasticsearch Service) and visualize using Amazon QuickSight.
  • C. Use the Amazon Kinesis Producer Library (KPL) agent on Amazon EC2 to collect and send data to Kinesis Data Firehose to further push the data to Amazon OpenSearch Service (Amazon Elasticsearch Service) and OpenSearch Dashboards (Kibana).
  • D. Use Amazon CloudWatch subscriptions to get access to a real-time feed of logs and have the logs delivered to Amazon Kinesis Data Streams to further push the data to Amazon OpenSearch Service (Amazon Elasticsearch Service) and OpenSearch Dashboards (Kibana).
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
FHU
Highly Voted 2 years, 2 months ago
I don't understand why everyone is choosing C. First of all, KPL does not send data to Kinesis Firehose, it sends data to Kinesis Data Streams, so C is very much incorrect. Second, the term KPL agent, there is no such thing. We would install Kinesis Agent on EC2 and not KPL Agent, so B and C are incorrect. In Option D, you see that it is using Cloudwatch logs which already offers what the customer wants... and implementing an Opensearch with Kibana for it would be overengineering and duplicating the same solution in another tool, duplicating data and cost. In option A it is using CloudWatch logs and Athena, which is easy to configure and works well. The answer does not say it, but the customer could use Cloudwatch Dashboards and Cloudwatch Metrics generated from the log stream. Activating EC2 detailed monitoring is not necessary though. Another thing: you guys are saying that Data Streams cannot deliver data to ES, but actually by using a Lambda you can pretty much do this... This question is very strange... But, by elimination, I would stay with option A.
upvoted 21 times
bp339
1 year, 11 months ago
KPL to Firehose is possible. https://docs.aws.amazon.com/streams/latest/dev/kpl-with-firehose.html
upvoted 6 times
gopi_data_guy
1 year, 10 months ago
Direct KPL to Firehose is not possible. The above doc says KPL --> Data streams --> Firehose. Correct if I am wrong here.
upvoted 9 times
...
...
sattty
1 year, 4 months ago
Ability to display is missing in Athena
upvoted 1 times
...
rav009
2 years, 1 month ago
Agree, kinesis agent can write to firehose, KPL can't. So A
upvoted 3 times
JoellaLi
2 years, 1 month ago
why not D?
upvoted 2 times
rav009
2 years ago
You are right, changed to D!
upvoted 3 times
ogerber
1 year, 5 months ago
The problem with D is that kinesis data stream cannot write directly to opensearch. Only via lambda. Thats why it seams there is not correct answer... unless C is to be interpreted as kinesis agent. https://opensearch.org/docs/1.1/opensearch/data-streams/
upvoted 2 times
...
...
...
...
JoellaLi
2 years, 1 month ago
But it 'should be highly available with the ability to display new information with minimal delays.' D is real time solution, while A is not.
upvoted 5 times
...
...
[Removed]
Highly Voted 2 months, 2 weeks ago
D is correct. CloudWatch subscription is realtime. Push logs to Kinesis Firehose or Streams which can push into ElasticSearch for aggregation and dashboard. CloudWatch-Subs -> Amazon Streams - > Firehose -> ElasticSearch -> Dashbaord
upvoted 9 times
...
michele_scar
Most Recent 6 days, 23 hours ago
Selected Answer: C
This is the only valid option. KDS doesn't have integration with Opensearch
upvoted 1 times
...
C is correct, KDS cannot send data to OpenSearch as stated in answer D. Also answer D does not mention how the logs will get ingested from the EC2 instances to CloudWatch. logs.
upvoted 2 times
...
DigitalDanny
11 months, 2 weeks ago
Selected Answer: A
real-time capabilities are not a strict requirement and minimal delay is the primary consideration, then using Kinesis might indeed be considered overkill for your specific use case. In such scenarios, a simpler and cost-effective solution, such as Option A (CloudWatch + S3 + Athena), could be more suitable. This architecture allows for periodic log analysis without the need for real-time streaming. Option A provides a straightforward setup with CloudWatch for log collection, S3 for storage, and Athena for fast and interactive log analytics. It is a serverless solution that can meet your requirements while minimizing complexity. Consider your specific needs, the frequency of log analysis, and the trade-offs between simplicity, cost, and real-time capabilities when making your decision. If real-time insights are unnecessary, a less complex solution like Option A might be more appropriate.
upvoted 1 times
...
pn12345
11 months, 2 weeks ago
Selected Answer: C
correct answer
upvoted 2 times
...
roymunson
1 year ago
Very weird one: I'm also inbetween C & D but bot are making no sense because of: C: KPL can't write into Firehose. The normal process flow would be KPL -> KDS -> KDF. D: Is weird because they KDS can't write directly to OpenSearch. The normal process flow would be CloudWatch -> KDS -> Lambda -> OpenSearch. In addition to that, the question is talking about logs of the application itself and not metrics/logs of the EC2 - Instance (I'm not a native english speaker but this is how I've understood the question). I don't think that CloudWatch is the right tool for that. In the end I go with C (hoping KPL agent is somewhat of a typo and they mean just Agent).
upvoted 2 times
...
TeamsDude
1 year ago
KPL cannot send data directly to KDF. "You can send data to your Kinesis Data Firehose Delivery stream using different types of sources: You can use a Kinesis data stream, the Kinesis Agent, or the Kinesis Data Firehose API using the AWS SDK. You can also use Amazon CloudWatch Logs, CloudWatch Events, or AWS IoT as your data source." Source: https://docs.aws.amazon.com/firehose/latest/dev/basic-write.html# So, C is incorrect. D would be 100% correct IF it had KDF instead of KDS. I am guessing it's a typo or who knows what !! I am gonna pretend this question won't show up in the exam :)
upvoted 1 times
...
gofavad926
1 year, 1 month ago
Selected Answer: D
D. I thought in a different option but: A. "detailed monitoring on Amazon EC2" is for metrics, and report 1 minute period, so is NOT real time BC. Do not exist KPL agent D. Is the real time option
upvoted 1 times
...
Lala2020
1 year, 1 month ago
So what is the answer here?
upvoted 1 times
...
Hamza98
1 year, 1 month ago
Selected Answer: D
The correct answer is D, although in reality none is correct. I had this same question but instead of KDS it was Kinesis Data Firehose. Answer A B C were also among the answers and were all incorrect. Answer C will cause some delays while CloudWatch subscriptions are near-real time
upvoted 3 times
...
debasishg
1 year, 1 month ago
Selected Answer: C
C - i guess correct D - says KDS --> OpenSearch does not work.
upvoted 3 times
...
[Removed]
1 year, 2 months ago
Selected Answer: D
https://docs.aws.amazon.com/opensearch-service/latest/developerguide/integrations.html#integrations-kinesis
upvoted 1 times
...
MLCL
1 year, 3 months ago
Selected Answer: C
Clearly C, D can't be correct, Kinesis Data Streams cant send data directly to OpenSearch
upvoted 3 times
MLCL
1 year, 3 months ago
Apparently CloudWatch logs can send data to KDS, who knew https://docs.aws.amazon.com/AmazonCloudWatch/latest/logs/Subscriptions.html
upvoted 1 times
MLCL
1 year, 3 months ago
So answer is D
upvoted 1 times
MLCL
1 year, 3 months ago
Actually no, its C, since Kinesis Data Stream cannot send logs to OpenSearch haha
upvoted 1 times
...
...
...
...
NikkyDicky
1 year, 3 months ago
Selected Answer: D
going w D
upvoted 1 times
...
developeranfc
1 year, 4 months ago
Selected Answer: D
D is the answer
upvoted 1 times
...
ccpmad
1 year, 4 months ago
Selected Answer: C
I think D is not correct, as Kinesis Data Streams can't push directly to OpenSearch Service: "You can still use other sources to load streaming data, such as Amazon Kinesis Data Firehose and Amazon CloudWatch Logs, which have built-in support for OpenSearch Service. Others, like Amazon S3, Amazon Kinesis Data Streams, and Amazon DynamoDB, use AWS Lambda functions as event handlers." You need Lambda to do that. https://docs.aws.amazon.com/opensearch-service/latest/developerguide/integrations.html So C is the correct for me. Yes, Amazon Kinesis Producer Library (KPL) agent does not exist, but i think they are refering just to the agent https://docs.aws.amazon.com/streams/latest/dev/writing-with-agents.html
upvoted 4 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 ...