ExamQuestions.com

Register
Login
AWS Certified Developer Associate Exam Questions

Amazon

AWS Certified Developer Associate

128 / 474

Question 128:

You have the following YAML file given to you which is required to deploy a Lambda function using serverless deployment.
AWSTemplateFormatVersion: `2010-09-09`
Transform: AWS::Serverless-2016-10-31
Resources:
TestFunction:
Type: AWS::Serverless::Function
Properties:
Handler: index.handler
Runtime: nodejs6.10
Environment:
Variables:
S3_BUCKET: demobucket
Which of the following is required to ensure the deployment can take place? Please select 2 correct answers.

Answer options:

A.Use the cloudformation package command to package the deployment.
B.Use the cloudformation package command to deploy the template.
C.Place the function code at the root level of the working directory along with the YAML file.
D.Place the function code in the .eb extensions folder.