CertyRush
Đang tải...
C CertyRush
Câu hỏi free preview

Câu 25: AWS Certified Developer Associate(Old)

A developer is creating an AWS Lambda function that generates a new file each time it runs. Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account. How should the developer accomplish this?

Nội dung câu hỏi

A developer is creating an AWS Lambda function that generates a new file each time it runs. Each new file must be checked into an AWS CodeCommit repository hosted in the same AWS account. How should the developer accomplish this?

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.

  1. A. When the Lambda function starts, use the Git CLI to clone the repository. Check the new file into the cloned repository and push the change.
  2. B. After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
  3. C. Use an AWS SDK to instantiate a CodeCommit client. Invoke the putjile method to add the file to the repository. — đáp án hiện tại
  4. D. Upload the new file to an Amazon S3 bucket. Create an AWS Step Function to accept S3 events. In the Step Function, add the new file to the repository.

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.

Câu hỏi liền kề