exam questions

Exam AWS Certified Solutions Architect - Professional SAP-C02 All Questions

View all questions & answers for the AWS Certified Solutions Architect - Professional SAP-C02 exam

Exam AWS Certified Solutions Architect - Professional SAP-C02 topic 1 question 237 discussion

A company has more than 10,000 sensors that send data to an on-premises Apache Kafka server by using the Message Queuing Telemetry Transport (MQTT) protocol. The on-premises Kafka server transforms the data and then stores the results as objects in an Amazon S3 bucket.

Recently, the Kafka server crashed. The company lost sensor data while the server was being restored. A solutions architect must create a new design on AWS that is highly available and scalable to prevent a similar occurrence.

Which solution will meet these requirements?

  • A. Launch two Amazon EC2 instances to host the Kafka server in an active/standby configuration across two Availability Zones. Create a domain name in Amazon Route 53. Create a Route 53 failover policy. Route the sensors to send the data to the domain name.
  • B. Migrate the on-premises Kafka server to Amazon Managed Streaming for Apache Kafka (Amazon MSK). Create a Network Load Balancer (NLB) that points to the Amazon MSK broker. Enable NLB health checks. Route the sensors to send the data to the NLB.
  • C. Deploy AWS IoT Core, and connect it to an Amazon Kinesis Data Firehose delivery stream. Use an AWS Lambda function to handle data transformation. Route the sensors to send the data to AWS IoT Core.
  • D. Deploy AWS IoT Core, and launch an Amazon EC2 instance to host the Kafka server. Configure AWS IoT Core to send the data to the EC2 instance. Route the sensors to send the data to AWS IoT Core.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
SK_Tyagi
Highly Voted 1 year, 8 months ago
Selected Answer: C
Option B is missing the Data Transformation to be done by Lambda
upvoted 8 times
...
softarts
Highly Voted 1 year, 8 months ago
Selected Answer: C
C, because it said new design and obviously IoT is what aws recommend.
upvoted 6 times
...
Linuslin
Most Recent 8 months, 3 weeks ago
Must be C. https://aws.amazon.com/tw/blogs/iot/building-an-iot-solution-to-securely-transmit-mqtt-messages-under-private-networks/
upvoted 1 times
...
8693a49
9 months, 1 week ago
Selected Answer: C
Option B could also work. The key why it is not correct is because it says there is a single broker, so it will not be HA, therefore it won't prevent the crashing problem. So C is the correct option.
upvoted 1 times
...
tmlong18
1 year, 3 months ago
Selected Answer: C
MSK can't transforms the data
upvoted 5 times
...
duriselvan
1 year, 4 months ago
b ANS B. Amazon MSK with NLB: Pros: Highly available and managed Kafka service. Scalable to accommodate increasing data volume. NLB automatically distributes sensor data across healthy brokers. Cons: Requires migration from on-premises Kafka server. Potential cost increase for managed service.
upvoted 1 times
...
career360guru
1 year, 5 months ago
Selected Answer: C
Option C.
upvoted 1 times
...
duriselvan
1 year, 7 months ago
C :Anshttps://docs.aws.amazon.com/lambda/latest/dg/services-kinesisfirehose.html
upvoted 2 times
...
chico2023
1 year, 9 months ago
Selected Answer: C
Answer: C To me C is still the best option as it is not wrong and there is an uncertainty regarding NLB support for MQTT protocol. You can, yes, however, not out of the box, you would need solutions like HiveMQ, for example: https://github.com/mqtt/mqtt.org/wiki/Server%20support Now, when I read this part of the question "Recently, the Kafka server crashed. The company lost sensor data while the server was being restored", to me it seems that it would be OK for the company to look for different ways in having their data stored in S3, be it using a Kafka server or not. Therefore and, just because the question doesn't say anything regarding cost effectiveness, least operational overhead, least dev overhead and so on, it's safe to assume (to me) that IoT Core would be the option AWS wants us to think about.
upvoted 3 times
...
andy7t
1 year, 9 months ago
Selected Answer: B
Both B and C will work? NLB + MSK is a well defined pattern. MSK is highly available and scaleable. MQTT will pass through NLB as it's just a network port. No changes to the application. C would also work, but seems to involve more refactoring.
upvoted 2 times
...
Just_Ninja
1 year, 9 months ago
Selected Answer: B
It's B, because MSK can handle the lightweight MQTT protocol.
upvoted 2 times
...
NikkyDicky
1 year, 10 months ago
Selected Answer: C
its a C mqtt->IoT core
upvoted 1 times
...
javitech83
1 year, 10 months ago
Selected Answer: C
IoT perfect for MQTT. Option D could have the same problem as on-premises
upvoted 2 times
...
SmileyCloud
1 year, 10 months ago
Selected Answer: C
It's C. Anytime you see sensors, your best bet is IoT. It's not D because you'll have one Kafka EC2 instance and it's not HA.
upvoted 3 times
...
bhanus
1 year, 10 months ago
Selected Answer: C
MODERATOR - please remove my previous comment. Looks is C is correct answer
upvoted 1 times
...
SkyZeroZx
1 year, 10 months ago
Selected Answer: C
IOT core is designed to handle this. and NLB does not support MQTT.
upvoted 1 times
...
PhuocT
1 year, 10 months ago
Agree with C
upvoted 2 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago