Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
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 24 discussion

A company is developing a new service that will be accessed using TCP on a static port. A solutions architect must ensure that the service is highly available, has redundancy across Availability Zones, and is accessible using the DNS name my.service.com, which is publicly accessible. The service must use fixed address assignments so other companies can add the addresses to their allow lists.
Assuming that resources are deployed in multiple Availability Zones in a single Region, which solution will meet these requirements?

  • A. Create Amazon EC2 instances with an Elastic IP address for each instance. Create a Network Load Balancer (NLB) and expose the static TCP port. Register EC2 instances with the NLB. Create a new name server record set named my.service.com, and assign the Elastic IP addresses of the EC2 instances to the record set. Provide the Elastic IP addresses of the EC2 instances to the other companies to add to their allow lists.
  • B. Create an Amazon ECS cluster and a service definition for the application. Create and assign public IP addresses for the ECS cluster. Create a Network Load Balancer (NLB) and expose the TCP port. Create a target group and assign the ECS cluster name to the NLCreate a new A record set named my.service.com, and assign the public IP addresses of the ECS cluster to the record set. Provide the public IP addresses of the ECS cluster to the other companies to add to their allow lists.
  • C. Create Amazon EC2 instances for the service. Create one Elastic IP address for each Availability Zone. Create a Network Load Balancer (NLB) and expose the assigned TCP port. Assign the Elastic IP addresses to the NLB for each Availability Zone. Create a target group and register the EC2 instances with the NLB. Create a new A (alias) record set named my.service.com, and assign the NLB DNS name to the record set.
  • D. Create an Amazon ECS cluster and a service definition for the application. Create and assign public IP address for each host in the cluster. Create an Application Load Balancer (ALB) and expose the static TCP port. Create a target group and assign the ECS service definition name to the ALB. Create a new CNAME record set and associate the public IP addresses to the record set. Provide the Elastic IP addresses of the Amazon EC2 instances to the other companies to add to their allow lists.
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
God_Is_Love
Highly Voted 1 year, 8 months ago
Logical answer : Non http port like TCP should hint to NLB immediately.(ALB does not fit here) Sharing IP address of EC2 is not apt whether it is from individual EC2 instances or those from ECS cluster.this eliminates A,B.D, infact the NLB's address which stays in front of / associates to ec2 instances need to be shared. So, only solution is C
upvoted 12 times
...
masetromain
Highly Voted 1 year, 9 months ago
Selected Answer: C
A more appropriate solution would be option C. Create an Amazon EC2 instances for the service. Create one Elastic IP address for each Availability Zone. Create a Network Load Balancer (NLB) and expose the assigned TCP port. Assign the Elastic IP addresses to the NLB for each Availability Zone. Create a target group and register the EC2 instances with the NLB. Create a new A (alias) record set named my.service.com, and assign the NLB DNS name to the record set. As it uses the NLB as the resource in the A-record, traffic will be routed through the NLB, and it will automatically route the traffic to the healthy instances based on the health checks and also it provides the fixed address assignments as the other companies can add the NLB's Elastic IP addresses to their allow lists.
upvoted 6 times
...
amministrazione
Most Recent 2 months, 1 week ago
C. Create Amazon EC2 instances for the service. Create one Elastic IP address for each Availability Zone. Create a Network Load Balancer (NLB) and expose the assigned TCP port. Assign the Elastic IP addresses to the NLB for each Availability Zone. Create a target group and register the EC2 instances with the NLB. Create a new A (alias) record set named my.service.com, and assign the NLB DNS name to the record set.
upvoted 1 times
...
Ashu_0007
2 months, 3 weeks ago
Ec2+NLB
upvoted 1 times
...
Alawi_Amazon_AWS
6 months, 2 weeks ago
A looks ok https://docs.aws.amazon.com/AmazonElastiCache/latest/mem-ug/Strategies.html
upvoted 1 times
...
gofavad926
7 months, 3 weeks ago
Selected Answer: C
C: NLB with elastic IPs
upvoted 1 times
...
Vaibs099
9 months, 1 week ago
C is the right answer - Few key points - TCP static Port (go with NLB), IP Whitelisting required which can only be done with NLB. ALB doesn't support static IPs. And sharing Static (Elastic) IPs of instances of no use when using NLB. We need to share NLB Elsatic IPs from Multi AZs and create DNS record for NLB Domain Name to Domain entry.
upvoted 1 times
...
sammyhaj
10 months, 1 week ago
https://repost.aws/knowledge-center/elb-attach-elastic-ip-to-public-nlb
upvoted 1 times
...
Simon523
1 year, 2 months ago
Selected Answer: C
Other option haven't mention multi AZ
upvoted 1 times
...
Christina666
1 year, 4 months ago
Selected Answer: C
Static IP-> NLB
upvoted 1 times
...
NikkyDicky
1 year, 4 months ago
Selected Answer: C
I suppose C, although you can;'t do this with A record, only alias
upvoted 1 times
...
SkyZeroZx
1 year, 4 months ago
Selected Answer: C
Create one Elastic IP address for each Availability Zone.
upvoted 2 times
...
AWS_Sam
1 year, 5 months ago
C is the only option that talks about more than one AZ.
upvoted 1 times
...
mfsec
1 year, 7 months ago
Selected Answer: C
Create Amazon EC2 instances for the service. Create one Elastic IP address for each Availability Zone.
upvoted 2 times
...
kiran15789
1 year, 8 months ago
Selected Answer: C
IP address using NLB
upvoted 1 times
...
saurabh1805
1 year, 8 months ago
Selected Answer: C
C looks correct.
upvoted 2 times
...
zozza2023
1 year, 9 months ago
Selected Answer: C
C. NLB with one Elastic IP per AZ to handle TCP traffic. Alias record set named my.service.com. https://www.examtopics.com/discussions/amazon/view/28045-exam-aws-certified-solutions-architect-professional-topic-1/
upvoted 1 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 ...