ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 283 - DVA-C01 discussion

Report
Export

A developer is creating as 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?

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.
Answers
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.
B.
After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
Answers
B.
After the new file is created in Lambda, use cURL to invoke the CodeCommit API. Send the file to the repository.
C.
Use an AWS SDK to instantiate a CodeCommit Client. Invoke the put _ file method to add the file to the repository.
Answers
C.
Use an AWS SDK to instantiate a CodeCommit Client. Invoke the put _ file method to add the file to the repository.
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.
Answers
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.
Suggested answer: D
asked 16/09/2024
Jailson Batista
35 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first