PrepAway - Latest Free Exam Questions & Answers

Which code snippet below returns the URL of a load bala…

Which code snippet below returns the URL of a load balanced web site created in CloudFormation with an
AWS::ElasticLoadBalancing::LoadBalancer resource name “ElasticLoad Balancer”?

PrepAway - Latest Free Exam Questions & Answers

A.
“Fn::Join” : [“”. [ “http://”, {“Fn::GetAtr” : [ “ElasticLoadBalancer”,”DNSName”]}]]

B.
“Fn::Join” : [“”. [ “http://”, {“Fn::GetAtr” : [ “ElasticLoadBalancer”,”Url”]}]]

C.
“Fn::Join” : [“”. [ “http://”, {“Ref” : “ElasticLoadBalancerUrl”}]]

D.
“Fn::Join” : [“.”, [ “http://”, {“Ref” : “ElasticLoadBalancerDNSName”}]]

5 Comments on “Which code snippet below returns the URL of a load bala…

  1. J says:

    Actual answer is A. AWS::ElasticLoadBalancing::LoadBalancer doesn’t have Url property. Event if you don’t know this it is useless to join “http://” to URL.




    20



    0

Leave a Reply

Your email address will not be published. Required fields are marked *