Câu 7: AWS Certified Developer Associate(Old)
Given the source code for an AWS Lambda function in the local file store.py containing a handler function called get_store and the following AWSCloudFormation template: What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?
Nội dung câu hỏi
Given the source code for an AWS Lambda function in the local file store.py containing a handler function called get_store and the following AWSCloudFormation template: What should be done to prepare the template so that it can be deployed using the AWS CLI command aws cloudformation deploy?
Các lựa chọn
Đáp án được giữ gọn theo nhãn A, B, C, D trong phần bình chọn tương tác.
- A. Use aws cloudformation compile to base64 encode and embed the source file into a modified CloudFormation template.
- B. Use aws cloudformation package to upload the source code to an Amazon S3 bucket and produce a modified CloudFormation template. — đáp án hiện tại
- C. Use aws lambda zip to package the source file together with the CloudFormation template and deploy the resulting zip archive.
- D. Use aws serverless create-package to embed the source file directly into the existing CloudFormation template.
Cộng đồng
0 bình luận công khai. Tên thành viên được ẩn một phần.
Chưa có bình luận. Mở giao diện tương tác để bắt đầu thảo luận.