wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Week 4

Total questions: 10

Worksheet time: 3hrs 30mins

Name
Class
Date
1.

An Amazon S3 bucket is used to host a static website. JavaScript is used on many HTML pages on the site to retrieve photos from another Amazon S3 bucket. When people explore the site, certain photos are not shown. What may be the underlying source of the problem?

a)

The referenced Amazon S3 bucket is in another region

b)

The images must be stored in the same Amazon S3 bucket

c)

Port 80 must be opened on the security group in which the Amazon S3 bucket is located

d)

Cross Origin Resource Sharing must be enabled on the Amazon S3 bucket

e)

The S3 bucket policy is not configured correctly

2.

A company wishes to host data in S3 storage and wants to be able to control the access to each S3 bucket. What are the 2 ways in which this can be achieved?

a)

Bucket Policies

b)

Secure Token Service

c)

IAM User Policies

d)

AWS Access Keys

e)

Route 53

3.

A developer has built a S3 bucket called s3:/HyruleStorage and configured server-wide logging with a path of s3:/HyruleStorage/logs. The developer copied 100 KB of image data files to the subdirectory s3:/HyruleStorage/images and then went to bed. When the developer returned a few days later, the bucket had grown to 50 GB in size. What most likely caused the bucket size to grow so large?

a)

The image files were not compressed and S3 versioning was enabled

b)

S3 replication was enabled on the bucket

c)

Logging into the same bucket caused exponential log growth

d)

An S3 lifecycle policy has moved the entire image file to S3 Infrequent Access

4.

A company is planning on storing their files from their on-premises location onto the Simple Storage Service. After a period of 3 months, they want to archive the files, since they would be rarely used. Which of the following would be the right way to service this requirement?

a)

Use an EC2 instance with EBS volumes. After a period of 3 months, keep on taking snapshots of the data

b)

Store the data on S3 and then use Lifecycle policies to transfer the data to Amazon Glacier

c)

Store the data on Amazon Glacier and then use Lifecycle policies to transfer the data to Amazon S3

d)

Store the data on S3 and use a Lambda function to transfer the data to Amazon Glacier

5.

A company has an application that stores images and thumbnails for images on S3. While the thumbnail images need to be available for download immediately, the images and thumbnails themselves are not accessed that frequently.

Which is the most cost-efficient storage option to store images that meet these requirements?

a)

Amazon Glacier with Expedited Retrievals

b)

Amazon S3 Standard Infrequent Access

c)

Amazon EFS

d)

Amazon S3 Standard

6.

Which of the descriptions below best describes what this bucket policy does?

a)

It allows read or write actions on the bucket ‘mybucket’

b)

It allows read access to the bucket ‘mybucket’ but only if it is accessed from example.com or demo.com

c)

It allows unlimited access to the bucket ‘mybucket’

d)

It allows read or write access to the bucket ‘mybucket’ but only if it is accessed from example.com or demo.com

7.

A Developer decides to store highly secure data in Amazon S3 and wants to implement server-side encryption (SSE) with granular control of who can access the master key. Company policy requires that the master key be created, rotated, and disabled easily when needed, all for security reasons. Which solution should be used to meet these requirements?

a)

SSE with Amazon S3 managed keys (SSE-S3)

b)

SSE with AWS KMS managed keys (SSE-KMS)

c)

SSE with AWS Secrets Manager

d)

SSE with customer-provided encryption keys

8.

You work for a major news network in Europe. They have just released a new app which allows users to report on events as and when they happen using their mobile phone. Users are able to upload pictures from the app and then other users will be able to view these pics. Your organization expects this app to grow very quickly, essentially doubling it's user base every month. The app uses S3 to store the media and you are expecting sudden and large increases in traffic to S3 when a major news event takes place (as people will be uploading content in huge numbers). You need to keep your storage costs to a minimum however and it does not matter if some objects are lost. Which storage media should you use to keep costs as low as possible?

a)

S3 One Zone-Infrequent Access

b)

S3 Standard-Infrequent Access

c)

S3 Standard - General Purpose

d)

S3 Glacier

9.

An IAM principle can only access an S3 object if there is no explicit deny and the user IAM permissions allows it or the resource policy allows it.

a)

True

b)

False

10.

A deployment package utilizes the AWS CLI to put files into any S3 bucket in the account, using environment variables to store access keys. The package is operating on Amazon EC2 instances that are now changed to run with an assumed IAM role and a policy that restricts access to a single bucket. Following the update, the Developer signs into the host and retains the ability to write to all of the account's S3 buckets. What is the MOST LIKELY REASON for this occurrence?

a)

An IAM inline policy is being used on the IAM role

b)

An IAM managed policy is being used on the IAM role

c)

The AWS CLI is corrupt and needs to be reinstalled

d)

The AWS credential provider looks for instance profile credentials last