SCS-C02 Exam QuestionsBrowse all questions from this exam

SCS-C02 Exam - Question 1


A company has an AWS Lambda function that creates image thumbnails from larger images. The Lambda function needs read and write access to an Amazon S3 bucket in the same AWS account.

Which solutions will provide the Lambda function this access? (Choose two.)

Show Answer
Correct Answer: BCDE

To provide AWS Lambda with access to an Amazon S3 bucket, the best solutions involve using IAM roles. Creating an IAM role for the Lambda function and attaching an IAM policy that allows access to the S3 bucket ensures that the Lambda function has the necessary permissions without exposing any secrets or keys. Additionally, attaching a bucket policy to the S3 bucket that specifies the IAM role as the principal provides a clear and secure way to control access through the IAM role.

Discussion

17 comments
Sign in to comment
Amazon_Dumps_comOptions: CD
Jul 19, 2024

CD is Valid ( CCCCCCDDDDD )

Cloud_noob
Apr 29, 2024

Anyone took the exam recently and can suggest how many questions from here showed up please. Thanks

nogaga4712Options: CD
Jun 26, 2024

Validitexams.com (no Discussion CD;)

Normyahoo
Mar 13, 2024

I sat this exam today. I would say about 30 percent of the questions I had were from these. You really need to know the material as just memorizing these questions with the correct answer will not equal a pass in my opinion

shobhitbsnl
Jun 26, 2024

Anyone took the exam recently and can suggest how many questions from here showed up please. Thanks

www_Dumpsvibe_com_01Options: CD
Jul 6, 2024

The correct solutions are: C. Create an IAM role for the Lambda function and attach a policy that grants access to the S3 bucket. D. Create an IAM role for the Lambda function and attach a bucket policy to the S3 bucket, specifying the role as the principal.

pauljonas706Options: CD
Jul 19, 2024

valid dump paper for study https://t.ly/AWSCertifiedSecuritySpecialty

sarcactusOptions: CD
Jan 18, 2024

CD are the correct ones! But do i need to put these correct answers or answers marked as "Correct Answer" on the real exam?

as9347Options: CD
Mar 1, 2024

C & D - The other 3 are defiantly wrong

ginseng
Apr 1, 2024

Took the exam today. These are pretty much useless. Maybe 10-15 questions came from this set. Take your time to study for this one. Unless you take the course, wait for the updated study guide from Sybex. Just to repeat - these are more or less useless.

lanjr01
Jun 23, 2024

Congrats "Bidawof527"! How much materials came from here? Any comment will be appreciated - - - thanks and all the best to you!

aescudero51
Feb 8, 2024

Respuesta seleccionada: CD

RaphaelloOptions: CD
Feb 9, 2024

CD Always create execution role for your lambda function, as a best practice.

leaddev
Apr 1, 2024

C & D are the correct answers

shailvardhanOptions: CD
May 28, 2024

100% it is C and D

MuhammadAfzaal48
Jul 8, 2024

Hello I want to buy this one

Amazon_Dumps_Com_Web
Jul 19, 2024

A. Create an IAM user that has only programmatic access. Create a new access key pair. Add environmental variables to the Lambda function with the access key ID and secret access key. Modify the Lambda function to use the environmental variables at run time during communication with Amazon S3. B. Generate an Amazon EC2 key pair. Store the private key in AWS Secrets Manager. Modify the Lambda function to retrieve the private key from Secrets Manager and to use the private key during communication with Amazon S3. C. Create an IAM role for the Lambda function. Attach an IAM policy that allows access to the S3 bucket. D. Create an IAM role for the Lambda function. Attach a bucket policy to the S3 bucket to allow access. Specify the function's IAM role as the principal. E. Create a security group. Attach the security group to the Lambda function. Attach a bucket policy that allows access to the S3 bucket through the security group ID.