Explore the essential concepts and common pitfalls when setting up your first cloud storage bucket, focusing on storage security, data management, permissions, and cost optimization.
What is a common rookie mistake when naming a new S3 bucket?
Explanation: Each bucket name must be globally unique; attempting to use an existing name will cause setup to fail. Lowercase letters and hyphens are allowed and often recommended for compatibility. While very long names are discouraged, they are not prohibited unless they exceed character limits.
Which mistake can lead to unintended public access to your bucket's data?
Explanation: Disabling block public access can unintentionally make all or part of your data public. Enabling versioning and disabling encryption do not change access permissions directly, and a restrictive bucket policy actually enhances security rather than reduces it.
Why might uploading all files into the root of a bucket cause issues later on?
Explanation: Uploading all files to the root level leads to disorganization and difficulty finding specific files as you store more data. Storage durability remains unchanged, costs are based on usage not structure, and lifecycle management can be applied regardless of file structure.
Which beginner's mistake may unexpectedly increase monthly storage costs?
Explanation: Not setting up lifecycle policies means unused objects remain in expensive storage classes, increasing costs. The number of folders, short names, and extra tags have negligible or no direct impact on monthly storage charges.
What is a potential consequence of enabling versioning on a bucket without understanding its effects?
Explanation: Versioning keeps every change as a new version, which can quickly multiply storage usage and costs if not monitored. It does not block access, restrict uploads, or alter public access settings by default.