Amazon Simple Storage Service (S3) is a powerful object storage solution that allows businesses to store and retrieve any amount of data, anytime, from anywhere. This guide will provide 30 multiple-choice questions to help you understand the fundamentals of AWS S3, covering bucket creation, object management, S3 Console, and CLI operations.
Creating and Configuring Buckets
What is the purpose of an S3 bucket in AWS? a) To host a database b) To store objects c) To configure IAM roles d) To launch EC2 instances
Which naming convention is correct for an S3 bucket? a) Capital letters are required b) Names must be unique globally c) Special characters are mandatory d) Must start with a numeric character
Which of the following is mandatory when creating an S3 bucket? a) Tagging b) Encryption setup c) Selecting a region d) Setting bucket policies
What does enabling versioning in a bucket allow you to do? a) Compress files b) Store multiple versions of an object c) Improve retrieval speed d) Disable encryption
How can you ensure only specific users can access your S3 bucket? a) Use bucket versioning b) Configure a bucket policy c) Create a replication rule d) Enable cross-region access
By default, what is the access level of a newly created S3 bucket? a) Public b) Private c) Read-only for all users d) Write-only for the owner
Uploading, Downloading, and Managing Objects
What is the maximum size of a single object in S3? a) 5 TB b) 10 TB c) 1 PB d) 500 GB
Which storage class is most suitable for infrequently accessed data? a) S3 Standard b) S3 Glacier c) S3 Intelligent-Tiering d) S3 One Zone-IA
Which feature ensures that your data remains unchanged after being stored in S3? a) Bucket policies b) Object Lock c) Access Control Lists d) Versioning
How can you upload large files exceeding 5 GB to S3? a) Use AWS CloudFormation b) Perform a multipart upload c) Enable cross-region replication d) Configure IAM roles
What is the significance of Object Tags in S3? a) For cost allocation and filtering b) To enhance file compression c) To increase object durability d) For creating object versions
How do you make an S3 object publicly accessible? a) Configure a bucket policy with public-read permissions b) Enable versioning on the bucket c) Enable encryption d) Disable ACLs
S3 Console Overview
What does the S3 Console allow you to do? a) Manage bucket lifecycles only b) Launch EC2 instances c) Create and manage buckets and objects d) Configure RDS instances
What does the “Properties” tab in the S3 Console display? a) The list of stored objects b) Metadata and bucket settings c) IAM roles associated with the bucket d) Active CloudWatch metrics
How can you monitor bucket activity in the S3 Console? a) By enabling replication rules b) Through CloudTrail integration c) By editing the bucket policy d) Using bucket tags
Where in the S3 Console can you view storage metrics? a) Access Control List b) Analytics tab c) Storage Lens Dashboard d) Versioning page
What is the main purpose of the S3 Management tab? a) Manage storage classes b) Perform advanced queries c) Configure and monitor features d) Adjust billing settings
What is a limitation of using the S3 Console compared to the CLI? a) You cannot manage bucket policies b) Limited automation capabilities c) Only supports uploading objects up to 100 GB d) No support for region selection
Basic CLI Operations
What is the AWS CLI command to list all S3 buckets? a) aws s3 list b) aws s3 ls c) aws s3 list-buckets d) aws buckets ls
How do you download a file from an S3 bucket using the AWS CLI? a) aws s3 cp b) aws s3 mv c) aws s3 pull d) aws s3 fetch
Which command enables you to sync a local directory to an S3 bucket? a) aws s3 copy b) aws s3 upload c) aws s3 sync d) aws s3 transfer
How can you configure access to AWS CLI? a) By setting bucket policies b) Using IAM credentials c) Through Lambda functions d) With S3 Transfer Acceleration
What does the --recursive flag do in an S3 CLI command? a) Uploads files sequentially b) Includes subdirectories c) Optimizes transfer speed d) Enables multipart upload
How do you delete an object in S3 using the CLI? a) aws s3 remove b) aws s3 delete c) aws s3 rm d) aws s3 clean
Which CLI command helps you change the storage class of an object? a) aws s3 update b) aws s3 modify c) aws s3 cp d) aws s3 set-class
What is the purpose of the --dryrun flag in AWS CLI S3 commands? a) Tests the command without executing b) Compresses data before upload c) Performs versioning checks d) Initiates multipart uploads
How do you enable debugging while using AWS CLI commands? a) Add --debug b) Use --trace c) Add --verbose d) Enable CloudWatch Logs
What is the default region set in AWS CLI if not specified? a) us-west-1 b) us-east-1 c) ap-south-1 d) eu-central-1
How can you copy an S3 object to another bucket using CLI? a) aws s3 replicate b) aws s3 transfer c) aws s3 cp d) aws s3 mv
Which AWS CLI command is used to view metadata of an S3 object? a) aws s3 head-object b) aws s3 describe-object c) aws s3 metadata d) aws s3 get-info
Answer Key
Qno
Answer
1
b) To store objects
2
b) Names must be unique globally
3
c) Selecting a region
4
b) Store multiple versions of an object
5
b) Configure a bucket policy
6
b) Private
7
a) 5 TB
8
b) S3 Glacier
9
b) Object Lock
10
b) Perform a multipart upload
11
a) For cost allocation and filtering
12
a) Configure a bucket policy with public-read permissions