Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 48 Topic 5 Discussion

Amazon Web Services AWS Certified Developer - Associate DVA-C02 Question # 48 Topic 5 Discussion

DVA-C02 Exam Topic 5 Question 48 Discussion:
Question #: 48
Topic #: 5

A developer is creating a serverless application that uses an AWS Lambda function The developer will use AWS CloudFormation to deploy the application The application will write logs to Amazon CloudWatch Logs The developer has created a log group in a CloudFormation template for the application to use The developer needs to modify the CloudFormation template to make the name of the log group available to the application at runtime

Which solution will meet this requirement?


A.

Use the AWS:lnclude transform in CloudFormation to provide the log group's name to the application


B.

Pass the log group's name to the application in the user data section of the CloudFormation template.


C.

Use the CloudFormation template's Mappings section to specify the log group's name for the application.


D.

Pass the log group's Amazon Resource Name (ARN) as an environment variable to the Lambda function


Get Premium DVA-C02 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.