Question 301:
Your team is looking into the Serverless deployment of an AWS lambda function. The function will be deployed using the Serverless application model. To test this out, you first create a sample function created below.
var AWS = require(`aws-sdk`);
exports.handler = function(event, context, callback)
{
var bucketName = "Demobucket";
callback(null, bucketName);
}
What should be the next steps in the serverless deployment? Choose 2 answers from the options given below.
Answer options:
A.Create a YAML file with the deployment specific’s and package that along with the function file. B.Upload the application function file onto an S3 bucket. C.Upload the function on AWS Lambda. D.Upload the complete package onto an S3 bucket.