A Developer must deploy a new AWS Lambda function using an AWS CloudFormation template.Which procedures will deploy a Lambda function? (Select TWO.) A. Upload the code to an AWS CodeCommit repository, then add a reference to it in an AWS::Lambda::Function resource in the template.B. Create an AWS::Lambda::Function resource in the template, then write the code directly inside the CloudFormation template.C. Upload a .ZIP file containing the function code to Amazon S3, then add a reference to it in an AWS::Lambda::Function resource in the template.D. Upload a .ZIP file to AWS CloudFormation containing the function code, then add a reference to it in an AWS::Lambda::Function resource in the template.
E. Upload the function code to a private Git repository, then add a reference to it in an AWS::Lambda::Function resource in the template Answer: B C A Developer wants to enable AWS X-Ray for a secure application that runs in an Amazon ECS environment.What combination of steps will enable X-Ray? (Select THREE.) A Developer is designing a new application that uses Amazon S3. To satisfy compliance requirements, the Developer must encrypt the data at rest.How can the Developer accomplish this? An AWS Elastic Beanstalk application needs to be deployed in multiple regions and requires a different Amazon Machine Image (AMI) in each region.Which AWS CloudFormation template key can be used to specify the correct AMI for each region? A Developer has been asked to make changes to the source code of an AWS Lambda function. The function ismanaged using an AWS CloudFormation template. The template is configured to load the source code from an Amazon S3 bucket. The Developer manually created a .ZIP file deployment package containing the changes and put the file into the correct location on Amazon S3. When the function is invoked, the code changes have not been applied.What step is required to update the function with the changes? A. Delete the .ZIP file on S3, and re-upload by using a different object key name.B. Update the CloudFormation stack with the correct values for the function code properties S3Bucket, S3Key, or S3ObjectVersion.C. Ensure that the function source code is base64-encoded before uploading the deployment package to S3.D. Modify the execution role of the Lambda function to allow S3 access permission to the deployment package .ZIP file.
You've reached the end of your free preview.
Want to read all 65 pages?
- Fall '19
- Amazon Web Services, Amazon Elastic Compute Cloud