AWS DevOps Engineer Professional DOP-C01 – Question385

For AWS CloudFormation, which is true?

A.
Custom resources using SNS have a default timeout of 3 minutes.
B. Custom resources using SNS do not need a <code>ServiceToken</code> property.
C. Custom resources using Lambda and <code>Code.ZipFile</code> allow inline nodejs resource composition.
D. Custom resources using Lambda do not need a <code>ServiceToken</code>property

Correct Answer: C

Explanation:

Explanation:
Code is a property of the AWS::Lambda::Function resource that enables to you specify the source code of an AWS Lambda (Lambda) function. You can point to a file in an Amazon Simple Storage Service (Amazon S3) bucket or specify your source code as inline text (for nodejs runtime environments only).
Reference:
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/templ…