Enabling Public Access for Amazon MSK with Operational Efficiency
Short answer
A Configure public subnets in the existing VPC and enable mutual TLS authentication on the MSK cluster to meet public access and encryption requirements efficiently.
Question
Key Takeaways
The exam tests the prerequisite that MSK clusters require public subnets to accept internet traffic, distinguishing this from generic load balancer patterns.
This question explores how to securely expose an Amazon MSK cluster to the internet while maintaining data encryption. The correct approach leverages native MSK capabilities to allow public connectivity via specific subnet configurations.
Common mistake: Candidates often select NLB or ALB options (C/D) assuming a standard web architecture, failing to recognize that MSK handles its own client connections directly and does not sit behind a traditional Layer 7 load balancer for client ingress.
Expert Analysis
Why the Answer Is Correct
Amazon MSK natively supports public access when the broker instances are placed in public subnets and security settings like mTLS or SASL are enabled. Option A correctly identifies that moving the existing cluster to public subnets within the current VPC is the most operationally efficient path compared to creating a new infrastructure.
Why the Other Options Are Wrong
Options C and D suggest using ALB or NLB, but MSK clients connect directly to brokers; placing them behind a load balancer adds unnecessary complexity and cost without being the standard design for raw Kafka ingestion. Option B suggests creating a new VPC, which violates the "most operational efficiency" requirement by introducing cross-VPC peering or migration overhead.
Community Comment Notes
Community consensus strongly favors A, noting that Kafka handles its own load balancing internally. As user MatAlves noted, AWS documentation confirms that enabling public access requires the cluster to be associated with public subnets. Users also correctly pointed out that creating a new VPC (Option B) is inefficient compared to reconfiguring the existing one.
Official Reference
https://docs.aws.amazon.com/msk/latest/developerguide/msk-access.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
Always look for 'operational efficiency' as a key discriminator. If you can achieve the goal by modifying the existing resource's configuration rather than building new infrastructure, that is usually the correct answer.
Frequently Asked Questions
Can I use an NLB to expose MSK to the internet?
Why is creating a new VPC not the best choice?
Community Votes
100% of anonymous learners picked answer A. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 8 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 8
-
haci 👍 11 Answered ASince we are talking about real-time data (UDP packets) ALB is not a viable solution. You don't need to listen HTTPS, so D is eliminated. If you create a new VPC, you must create link between the old one and this is not mentioned in B. So It is A for me.
-
MatAlves 👍 4 Answered A"You can turn on public access to an MSK cluster at no additional cost... To turn on public access to a cluster, first ensure that the cluster meets all of the following conditions: - The subnets that are associated with the cluster must be public. - Unauthenticated access control must be off and at least one of the following access-control methods must be on: SASL/IAM, SASL/SCRAM, mTLS. - ..." https://docs.aws.amazon.com/msk/latest/developerguide/public-access.html
-
Marunio 👍 3 Answered AA, since Kafka is loadbalancing itself. - https://dattell.com/data-architecture-blog/load-balancing-with-kafka/#:~:text=Load%20balancing%20with%20Kafka%20is,partitions%20while%20preserving%20message%20ordering. B - why create new VPC? C / D - Kafka is loadbalacing itself, also NLB can't handle HTTPS.
-
Dantecito 👍 1 Answered DD. NLB forward traffic from the internet to private subnet where the cluster is. MSK use layer 4. A. B. use public subnets exposing the cluster C. Similar to D but MSK requires a Layer 4.
-
FlyingHawk 👍 1 Answered AFor MSK to get public access, you must associate it with a public subnet, so rule out C and D, B is to create a new VPC, which is more complicated and more operations, so A is correct.
Show 3 more comments
-
Scheldon 👍 1 Answered AAnswerA I need to agree that answer will probably be Option A.
-
Andy_09 👍 4Option A
-
Indrasis 👍 2 Answered AA is correct
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All SAA-C03 Questions
Access 120 questions with complete answers and detailed explanations.
View Full SAA-C03 Practice Test →