AWS Cloud Development Kit - From Beginner to Professional - IAM Resource Policy: S3 Bucket Policy

AWS Cloud Development Kit - From Beginner to Professional - IAM Resource Policy: S3 Bucket Policy

Assessment

Interactive Video

Information Technology (IT), Architecture

University

Hard

Created by

Quizizz Content

FREE Resource

The video tutorial explains how to create and manage AWS resource policies, focusing on S3 bucket policies. It covers the steps to set up a bucket, add public access permissions, and implement security measures to deny non-secure access. The tutorial also demonstrates deploying the stack and testing the policies using AWS CloudFormation.

Read more

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which AWS service is mentioned as supporting resource policies alongside S3?

EC2

KMS

RDS

CloudFront

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the first step in creating a resource policy for an S3 bucket?

Configuring VPC

Creating an S3 bucket

Setting up IAM roles

Enabling CloudTrail

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What action is allowed in the basic policy example for S3 objects?

s3:DeleteObject

s3:PutObject

s3:GetObject

s3:ListBucket

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How can you restrict access to only HTML files in an S3 bucket?

By using a bucket policy with a condition for file type

By setting up a CloudFront distribution

By enabling versioning on the bucket

By using a lifecycle policy

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What condition is used to deny non-secure transport in the policy?

aws:SourceIp is 0.0.0.0/0

aws:MultiFactorAuthPresent is true

aws:SecureTransport is false

aws:SecureTransport is true

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What should you check in the S3 service before deploying a bucket with public access?

Cross-region replication settings

Bucket logging configuration

Block public access settings

Bucket versioning settings

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when you try to access an S3 object over HTTP if secure transport is enforced?

Access is denied

A warning is shown but access is allowed

The object is displayed normally

A redirect to HTTPS occurs