Block, file and hybrid storage, lifecycle rules and backup
Storage for machines rather than for objects: one volume per instance, a file system many instances mount at once, an appliance that keeps the local interface while the capacity moves to AWS, and where backups actually sit.
Lesson 8 of 11 in objective 3. Cloud technology and services, part of AWS Certified Cloud Practitioner (CLF-C02).
One machine, or many
The question that sorts these services is how many machines need the same data at the same moment. An EBS volume lives in one Availability Zone and normally attaches to one instance; Multi-Attach exists, but it is limited to certain volume types within one zone and still requires a cluster-aware file system to be safe. So three instances spread across three zones, all writing one uploads directory with ordinary file permissions, is not a volume problem at all.
Amazon EFS is the answer to that shape: a managed NFS file system that many instances mount simultaneously across zones, growing and shrinking as files come and go. Amazon FSx is the same idea for file systems people already depend on — FSx for Windows File Server provides SMB shares with Active Directory integration, which is the right answer to the identical question asked about a Windows fleet, and FSx for Lustre is the high-performance option for computing clusters. If more than one machine must see the same files at once, you want a file system, not a volume.
Keeping the local interface, moving the capacity
AWS Storage Gateway is an appliance that runs IN YOUR BUILDING and is the only service in this objective that does. It presents a familiar interface locally, caches recently used data on local disk so that working with it feels local, and keeps the full dataset in AWS. That combination is what a stem describes when it says editors need local speed, the archive should live in S3, the on-premises array should shrink, and working over the wide-area link has already been tested and rejected.
The near misses are worth naming because each is right for a different question. A nightly script that copies finished work to S3 is a backup, not a storage tier: the local array still has to hold everything. FSx for Lustre is a high-performance file system that links to S3 but runs in AWS, so it puts nothing in the building. AWS Snowball physically moves a large dataset once, when the network is the constraint; it is a migration device, not an ongoing path.
Backups: what takes them, and where they stay
EBS snapshots are the backup mechanism for a volume: incremental after the first, stored durably by AWS, and the standard way to move a volume between Availability Zones. The property that decides recovery questions is that a snapshot is stored IN THE REGION where it was taken, so an event that removes the Region removes the volumes and their snapshots together. Copying the snapshot to a second Region is a separate, deliberate action, and a recovery plan that does not name it is a plan to lose the backups with the primary. Encrypting the volume does not help; encryption protects confidentiality, not existence.
AWS Backup is the service for the auditor's version of this question. It centralises backup plans, schedules, retention and vaults across the AWS services it supports — EBS volumes, RDS databases, DynamoDB tables, EFS file systems and more — applies them by tag or by resource, and reports on whether the policy was actually followed. Three things are easy to confuse: AWS Backup manages backups OF resources by policy, an S3 lifecycle rule manages objects INSIDE one bucket, and a snapshot is the mechanism for one volume. A question naming several different services and one policy is AWS Backup every time.
Worth carrying in
- Amazon EBS
- Block volume, one Availability Zone, normally one instance. Snapshot it to back it up.
- Amazon EFS
- Managed NFS for Linux. Mounted by many instances across zones; capacity is elastic.
- Amazon FSx for Windows File Server
- SMB shares with Active Directory integration, for Windows fleets.
- Amazon FSx for Lustre
- High-performance file system in AWS, linkable to an S3 bucket.
- AWS Storage Gateway
- On-premises appliance: local file, volume or tape interface, data stored in AWS, hot data cached locally.
- EBS snapshot
- Incremental point-in-time copy, stored in the Region it was taken in. Copy it to move it.
- AWS Backup
- One place for plans, schedules, retention and compliance reporting across many services.
- AWS Snowball
- Physical device for moving a large dataset once, when the network is the constraint.
What the exam does with this
- More than one machine needing the same files at the same time means a file system, not a volume. An EBS volume is one zone and normally one instance, and Multi-Attach does not change the answer.
- Storage Gateway is the only option that puts something in the building. FSx for Lustre links to S3 but runs in AWS, so the slow link is still in the way.
- AWS Backup is the answer whenever a question names several different services and one policy with evidence. Lifecycle rules act on objects in a bucket and know nothing about volumes or databases.
- Snapshots stay in the Region they were taken in, and encryption is never the missing recovery step. The step a plan forgets is the copy to the second Region.
- Objective
- 3. Cloud technology and services
- Share of the exam
- 34% (the whole objective)
- Questions in this lesson
- 4
- Signed for by a person
- 0
Partly checked. None of the 4 questions here has been read against the cited source by a person. 4 questions have been checked against their cited clause by an automated pass — which is not the same thing, and is not a signature.
Only questions a person has signed for are used in mock exams here. That is the whole difference between the two kinds of checking above.
Questions in this lesson
- Three EC2 instances running the same Linux content management system, spread across three Availability Zones, all need read and write access to one uploads directory with ordinary POSIX file permissions. Which storage service should they use? machine-checked
- A film studio's editors work on terabytes of footage from workstations in the building and need local disk speed while editing. The company wants the bulk of the archive to live in Amazon S3 and the on-premises storage array to shrink. Editing directly over the wide-area link has already been tested and is too slow. What fits? machine-checked
- An auditor asks to see one place that shows the backup schedule and retention period for EBS volumes, RDS databases, DynamoDB tables and EFS file systems, together with evidence that the policy was actually applied. Which service provides that? machine-checked
- A database runs on an EC2 instance with EBS volumes and is snapshotted nightly. The recovery plan says the database must be restorable in a second Region after an event that takes the primary Region out. Which step actually delivers that? machine-checked
Drill this lesson
A lesson is one sitting: the trainer draws a short run from these questions alone and spaces the ones you get wrong.
Practise Block, file and hybrid storage, lifecycle rules and backup
The rest of objective 3
- Ways in: console, CLI, SDKs and infrastructure as code
- Regions, Availability Zones and edge locations
- EC2 and choosing an instance type
- Containers, serverless, auto scaling and load balancing
- Relational, NoSQL and in-memory databases, and moving them
- VPCs, subnets, traffic controls and private connectivity
- Object storage and the S3 storage classes
- Block, file and hybrid storage, lifecycle rules and backup — you are here
- Machine learning and analytics services
- Messaging, integration and business applications
- Developer tools, end-user computing, front end and IoT