Question 278:
An IT firm is deploying all its production resources using AWS CloudFormation Templates. A complex stack is to be deployed wherein one stack`s output values will be used as an input to another stack in the same group. As a SysOps administrator, you need to create a template for this stack with minimum efforts & the least resources. This template will be used in all further deployments. Also, there is a Security guideline to ensure no information is shared outside the stack. Which of the following is the preferred option to meet this requirement?
Answer options:
A.Use lambda function to export stack values between stack in the same group. B.Hardcode resource value in stack template to share values between stacks in the same group. C.Use nested stacks to share information between stacks. D.Use export function between stacks to have output of a stack as an input of another stack.