AWS EBS, EFS, FSx, Storage Gateway and AWS Backup Interview Questions: Snapshots, Performance and Hybrid Storage (50 Questions)
This page has 50 interview questions on AWS block storage (EBS), file storage (EFS and FSx), hybrid storage (Storage Gateway) and AWS Backup, with full answers and CLI examples. EBS volume types, mounting and resizing basics are covered in Sets 1 and 2; this page goes into snapshots at scale, performance choices and backup protection.
1. An everyday example: a home, a shared office and a bank locker
Why are these services asked together?
Interviewers want to see that you can choose the right kind of storage for a workload and protect it. Picking EFS when the app needs a fast database disk, or forgetting to lock backups against deletion, are common real-world mistakes.
- EBS is like your own desk drawer: fast, attached to one desk (instance), in one room (Availability Zone).
- EFS and FSx are like a shared office cabinet: many people can open it at once.
- Storage Gateway is a front desk at your branch office that keeps recent files nearby and sends everything to head office (AWS).
- AWS Backup is the bank locker where copies are kept safely, with rules about who can take them out.
How to use this page
- Try snapshot and EFS commands in a test account with small volumes.
- FSx file systems and Storage Gateway appliances cost money while running; delete them after practice.
- All IDs are examples, such as account 111122223333.
2. Fresher level questions
Start here if you are a fresher or have less than two years of experience. Try to answer each question aloud first. Then open it and compare.
Q1. When would you choose st1 or sc1 EBS volumes? Fresher
- st1 (throughput optimised HDD): large, sequential reads and writes, such as log processing, big data and data warehouses on EC2.
- sc1 (cold HDD): large data read rarely, where lowest cost per GB matters.
Both are cheap per GB but have poor random I/O, and neither can be used as a boot volume.
For databases and general workloads use gp3 or io2 SSD volumes; for rarely used data, S3 is often cheaper than sc1.
Q2. What is io2 Block Express, and when is it worth the cost? Fresher
io2 Block Express is the highest-performance EBS volume type: very high IOPS and throughput per volume, sub-millisecond latency, and higher durability than gp3 (designed for 99.999%).
Worth it for: large, critical databases (Oracle, SQL Server, SAP HANA, busy PostgreSQL on EC2) that need consistent performance above what gp3 can provide.
You pay for provisioned IOPS as well as storage, so measure real needs first. It is supported on Nitro-based instances; check the current limits per volume and per instance.
Q3. Why are EBS snapshots called incremental, and what happens when you delete one? Fresher
The first snapshot copies all used blocks. Each later snapshot stores only blocks that changed since the previous one, and points to older blocks for the rest.
When you delete a snapshot, EBS removes only the blocks that no other snapshot needs. Every remaining snapshot still restores a full volume.
So deleting old snapshots is safe for the others, but it may save less money than you expect, because shared blocks stay.
Q4. How do you take crash-consistent snapshots of all volumes on an instance at the same moment? Fresher
aws ec2 create-snapshots --instance-specification InstanceId=i-0abc1234def567890,ExcludeBootVolume=false --description "db server nightly" --copy-tags-from-source volumeOutput:
{"Snapshots": [{"SnapshotId": "snap-0a1...", "VolumeId": "vol-0aa..."}, {"SnapshotId": "snap-0b2...", "VolumeId": "vol-0bb..."}]}All volumes are snapshotted at the same point in time. This matters when a database spreads data and logs across several volumes (or uses RAID); separate snapshots taken seconds apart might not restore cleanly together.
For application-consistent backups, also pause or flush the application (or use VSS on Windows).
Q5. When should you move an EBS snapshot to the archive tier, and what do you give up? Fresher
You can move a snapshot to the archive tier for long-term, rarely used copies (such as month-end or compliance snapshots).
aws ec2 modify-snapshot-tier --snapshot-id snap-0a1b2c3d4e5f67890 --storage-tier archive- Storage is much cheaper than the standard tier.
- Archived snapshots are full copies, not incremental.
- A minimum archive period applies (90 days), and restoring takes many hours (typically 24 to 72 hours) before you can use it.
Use it for snapshots you must keep but will probably never restore.
Q6. What is the Recycle Bin for EBS snapshots and AMIs? Fresher
Recycle Bin keeps deleted EBS snapshots and EBS-backed AMIs for a retention period you choose, so you can recover them after an accidental or malicious delete.
aws rbin create-rule --resource-type EBS_SNAPSHOT --retention-period RetentionPeriodValue=14,RetentionPeriodUnit=DAYS --description "keep deleted snapshots 14 days"deleted snapshots stay recoverable for 14 days (and are still billed). Rules can apply to the whole Region or to tagged resources, and can be locked so nobody can shorten them quickly.
Q7. What does EBS Multi-Attach allow, and what are its limits? Fresher
Multi-Attach lets one io1 or io2 volume be attached to several Nitro instances in the same Availability Zone at the same time.
Limits and cautions:
- Same AZ only, and only io1/io2.
- Normal file systems like ext4 and XFS are not cluster-aware; two instances writing to them will corrupt data. You need a cluster file system or an application that coordinates writes (such as some clustered databases).
For simply sharing files between servers, use EFS or FSx instead.
Q8. Which security group rule does an EFS mount need? Fresher
EFS uses NFS on TCP port 2049.
- The security group on the EFS mount targets must allow inbound TCP 2049 from the clients' security group.
- The clients' security group must allow outbound to the mount targets (default outbound rules allow it).
If the rule is missing, the mount command hangs and then times out. Using a security group reference instead of IP ranges keeps it working when instances change.
Q9. What is an EFS mount target? Fresher
A mount target is an elastic network interface for the file system in one subnet of one Availability Zone. Clients connect to the mount target in their own AZ.
- Create one mount target in each AZ where you have clients (one per AZ).
- Each mount target has an IP address and its own security groups.
Clients in an AZ without a mount target must cross AZs, which adds latency and cross-AZ data charges, and fails if that other AZ has a problem.
Q10. How do you mount EFS with encryption in transit and IAM authorisation? Fresher
Install the EFS mount helper (amazon-efs-utils), then:
sudo mount -t efs -o tls,iam fs-0a1b2c3d4e5f67890:/ /mnt/shared
df -h /mnt/sharedOutput:
127.0.0.1:/ 8.0E 12G 8.0E 1% /mnt/sharedtraffic is encrypted with TLS (the helper uses a local stunnel, so df shows 127.0.0.1) and the instance role's IAM permissions are checked by the file system policy.
For /etc/fstab add _netdev,tls,iam so the mount waits for the network at boot.
Q11. What is an EFS access point? Fresher
An access point is an application-specific entry into an EFS file system. It can:
- Force a POSIX user and group ID for every request (for example uid 1001), regardless of who the client is.
- Restrict the client to a sub-directory (for example /apps/billing) and create it with set permissions.
- Be required by IAM policy, so a given role can only mount through its own access point.
Great for containers and Lambda, where many apps share one file system but each must see only its own folder.
Q12. What is the difference between EFS Regional and One Zone file systems? Fresher
- Regional (Standard): data is stored redundantly across multiple AZs; survives the loss of an AZ.
- One Zone: data is stored in one AZ; cheaper, but if that AZ fails, the data can be unavailable or lost.
One Zone fits dev and test, or data that can be recreated or is backed up elsewhere. Production shared data usually needs Regional. One Zone is automatically backed up with AWS Backup by default when created.
Q13. What is Amazon FSx for Windows File Server used for? Fresher
It is a fully managed Windows file server with SMB shares, NTFS permissions and Active Directory integration.
Typical uses:
- Home directories and department shares moved from an on-premises Windows file server.
- Windows applications (such as .NET apps, SQL Server on EC2 storing files, or IIS content) that need SMB.
- Shared storage for Windows workloads with features like shadow copies, deduplication and Multi-AZ deployment.
It joins your AWS Managed Microsoft AD or self-managed AD.
Q14. What is Amazon FSx for Lustre, and how does it connect to S3? Fresher
FSx for Lustre is a high-performance parallel file system for HPC, machine learning training, media rendering and financial simulations.
It can link to an S3 bucket through a data repository association: files in S3 appear in the file system and are loaded on first access, and results can be exported back to S3.
Deployment types: scratch (cheapest, temporary, no replication) for short jobs, and persistent for longer-lived data with replication within the AZ.
Q15. What are the three main Storage Gateway types? Fresher
- S3 File Gateway: on-premises servers use NFS or SMB shares; files are stored as objects in S3, with a local cache for recent data.
- Volume Gateway: iSCSI block volumes; cached mode keeps primary data in AWS with a local cache, stored mode keeps all data locally and backs it up to AWS as snapshots.
- Tape Gateway: a virtual tape library for existing backup software; virtual tapes are stored in S3 and archived to S3 Glacier classes.
Note: Amazon FSx File Gateway is no longer offered to new customers; check current status.
Q16. What are a backup plan and a backup vault in AWS Backup? Fresher
- A backup plan is a policy: when to back up (schedule), how long to keep backups, when to move them to cold storage, and where to copy them (other Regions or accounts).
- Resources are assigned to a plan by tags or by resource ARNs.
- A backup vault is the container where recovery points are stored, encrypted with a KMS key, with its own access policy.
One plan can protect EC2, EBS, RDS, Aurora, DynamoDB, EFS, FSx, S3 and more in a single place.
Q17. What is the difference between governance mode and compliance mode in AWS Backup Vault Lock? Fresher
Vault Lock enforces write-once, read-many rules on a backup vault:
- Nobody (including the root user) can delete recovery points before their retention ends.
- You can set minimum and maximum retention periods for anything stored in the vault.
Modes:
- Governance mode: users with special IAM permission can remove the lock.
- Compliance mode: after a cooling-off (grace) period of at least 72 hours, the lock cannot be changed or removed by anyone.
It protects backups against ransomware and rogue admins.
3. Mid level questions
These questions check how you use the service in real projects. Interviewers expect the why, the how and one real example.
Q18. Why does modify-volume fail with "You've reached the maximum modification rate per volume limit"? Mid level
After you modify an EBS volume (size, type, IOPS or throughput), you must wait at least 6 hours, and the previous change must reach the optimizing or completed state, before modifying it again.
aws ec2 describe-volumes-modifications --volume-ids vol-0aa1b2c3d4e5f6789 --query "VolumesModifications[].[ModificationState,Progress,StartTime]"Output:
[["optimizing", 42, "2026-11-20T06:10:00Z"]]The last change is still optimizing. Plan size increases with headroom, so you do not need several changes in one day, and alarm on disk usage early.
Q19. What is Fast Snapshot Restore, and when is it worth paying for? Mid level
Normally, a volume created from a snapshot loads blocks from S3 the first time they are read, so early reads are slow. Fast Snapshot Restore (FSR), turned on for a snapshot in chosen AZs, gives volumes full performance immediately.
aws ec2 enable-fast-snapshot-restores --availability-zones ap-south-1a ap-south-1b --source-snapshot-ids snap-0a1b2c3d4e5f67890Worth it for: auto scaling groups launching from a golden AMI that must serve traffic at once, or fast database recovery. It is billed per snapshot per AZ per hour, and volume creation uses credits, so turn it on only where needed.
Q20. What does Amazon Data Lifecycle Manager do, and how is it different from AWS Backup? Mid level
Data Lifecycle Manager (DLM) automates EBS snapshots and EBS-backed AMIs: create on a schedule for tagged volumes or instances, keep a set number or age, copy to other Regions or accounts, and archive.
AWS Backup does the same for EBS plus many other services, with central vaults, Vault Lock, cross-account management through Organizations and audit reports.
Use DLM for simple EBS-only automation, and AWS Backup when you need one backup policy across services and accounts.
Q21. How do you lock an EBS snapshot so it cannot be deleted? Mid level
aws ec2 lock-snapshot --snapshot-id snap-0a1b2c3d4e5f67890 --lock-mode compliance --cool-off-period 24 --lock-duration 30The snapshot cannot be deleted for 30 days. During the 24-hour cool-off period, users with permission can still change or remove the lock; after that, in compliance mode, nobody can delete the snapshot or shorten the lock until it expires.
Governance mode allows users with specific permissions to unlock. Use it for critical snapshots or as part of ransomware protection.
Q22. What are the EBS direct APIs used for? Mid level
The EBS direct APIs let you read and write snapshot blocks directly, without creating a volume:
- ListChangedBlocks: which blocks changed between two snapshots.
- GetSnapshotBlock: read a block's data.
- StartSnapshot, PutSnapshotBlock, CompleteSnapshot: create a snapshot from your own data.
Backup software uses them for fast incremental backups (only changed blocks) and to import disk images from on-premises into EBS snapshots.
Q23. How do you choose between EFS Elastic and Provisioned throughput? Mid level
- Elastic throughput: scales automatically with the workload and you pay for the data read and written. Best for spiky or unpredictable workloads; it is the recommended default for most.
- Provisioned throughput: you pay for a fixed throughput level regardless of use. Best for steady, high throughput that you can predict, where it can be cheaper than Elastic.
- Bursting: throughput grows with the amount of data stored and uses burst credits; small file systems can run out of credits.
Check the CloudWatch metrics (MeteredIOBytes, PermittedThroughput, BurstCreditBalance) to decide, and you can switch modes later with some limits on frequency.
Q24. Should a new EFS file system use the General Purpose or Max I/O performance mode? Mid level
General Purpose, in almost all cases. It has the lowest latency per operation, and it supports Elastic throughput and One Zone.
Max I/O was meant for highly parallel workloads with thousands of clients, but it has higher latency and does not support Elastic throughput or One Zone. AWS now recommends General Purpose for nearly every workload.
The performance mode is chosen at creation and cannot be changed; you would need a new file system and a copy (for example with DataSync).
Q25. How does EFS replication work, and what does failover look like? Mid level
EFS replication keeps a read-only copy of a file system in another Region or AZ, updated automatically (AWS designs it for an RPO of minutes for most file systems; check the TimeSinceLastSync metric).
Failover:
- Delete the replication configuration; the destination becomes writable.
- Point clients to the destination (mount by DNS name or update configuration).
- Later, set up replication in the reverse direction to fail back.
Practise it, because applications must remount, and data written after the last sync is lost.
Q26. How do containers on ECS or EKS use EFS safely? Mid level
- ECS: add an EFS volume in the task definition with transitEncryption ENABLED and an access point; the task role is used for IAM authorisation.
- EKS: install the EFS CSI driver; a StorageClass with dynamic provisioning creates an access point per persistent volume.
- Use one access point per application or tenant so each sees only its own directory with a fixed POSIX user.
- Security groups: the tasks or nodes must reach the mount targets on port 2049.
Good for shared content and stateful apps that need ReadWriteMany; not for databases that need block storage.
Q27. How do you choose between FSx for NetApp ONTAP and FSx for OpenZFS? Mid level
| Need | Better fit |
|---|---|
| NFS, SMB and iSCSI from the same data, multi-protocol access | ONTAP |
| Migrating from on-premises NetApp, using SnapMirror replication | ONTAP |
| Automatic tiering of cold data to a cheaper capacity pool | ONTAP |
| Moving Linux NFS workloads from ZFS or other NAS with very low latency | OpenZFS |
| Fast snapshots and clones for dev and test copies | Both (FlexClone on ONTAP, clones on OpenZFS) |
ONTAP is the most feature-rich; OpenZFS is simpler and focused on NFS performance.
Q28. How do you join FSx for Windows File Server to Active Directory, and what goes wrong most often? Mid level
When creating the file system, choose AWS Managed Microsoft AD or a self-managed AD (give domain name, DNS server IPs, a service account and an organisational unit).
Common failures:
- DNS servers not reachable from the FSx subnets (routing, security groups, NACLs).
- Required AD ports (such as 53, 88, 135, 389, 445, 636 and RPC ports) blocked between FSx and domain controllers.
- The service account lacks permission to create computer objects in the OU.
- The OU path is wrong.
The FSx console shows a specific misconfiguration message; test connectivity from an EC2 instance in the same subnets.
Q29. Files written directly to the S3 bucket do not appear on the S3 File Gateway share. Why? Mid level
The gateway keeps a local view (cache) of the bucket's objects. It knows about files written through the gateway, but objects added directly to S3 by other tools only appear after the cache is refreshed.
aws storagegateway refresh-cache --file-share-arn arn:aws:storagegateway:ap-south-1:111122223333:share/share-1A2B3C4DThe gateway re-lists the bucket (or a folder) and shows new objects. You can also set automated cache refresh with a time-to-live on the file share. Avoid many writers on both sides at once, because file gateway does not lock files across them.
Q30. What do continuous backups in AWS Backup give you? Mid level
For supported services (such as RDS, Aurora and S3), continuous backup enables point-in-time restore: you can restore to any second within the retention window (up to 35 days), not only to snapshot times.
Snapshot backups (daily, weekly) are kept for long retention.
A typical plan has both: continuous backup for 7 to 35 days for operational mistakes, and daily or monthly snapshot backups for longer retention and copies to other Regions.
Q31. An AWS Backup copy job to the central backup account fails with access denied. Which settings do you check? Mid level
Cross-account copies need several pieces to line up:
- Cross-account backup is turned on in the Organizations management account, and both accounts are in the same organisation.
- The destination vault's access policy allows backup:CopyIntoBackupVault from the source account or organisation.
- KMS: the source resource's key policy lets the copy read the data, and the destination vault's key policy allows use by the backup service; resources encrypted with AWS managed keys cannot be copied across accounts for some services.
- The copy action in the plan points to the right destination vault ARN and Region.
aws backup describe-copy-job --copy-job-id 1a2b3c4d-1111-2222-3333-444455556666 --query "CopyJob.[State,StatusMessage]"The status message usually names the failing piece.
Q32. What does AWS Backup Audit Manager do? Mid level
Backup Audit Manager checks your backup setup against controls and creates reports. Examples of controls:
- Resources of a type (such as RDS) are protected by a backup plan.
- Backup frequency and retention meet a minimum.
- Recovery points are encrypted and copied to another Region or account.
- Vaults are locked.
It uses AWS Config to evaluate resources and produces daily reports for auditors, so you can prove compliance instead of saying "we think everything is backed up".
Q44. How do you get one deleted file back from an EBS snapshot without touching the running server? Mid level
aws ec2 create-volume --snapshot-id snap-0a1b2c3d4e5f67890 --availability-zone ap-south-1a --volume-type gp3
aws ec2 attach-volume --volume-id vol-0cc1d2e3f4a5b6789 --instance-id i-0helper123456789a --device /dev/sdfOn the helper instance:
sudo mount -o ro,nouuid /dev/nvme1n1p1 /mnt/restoreThe snapshot's disk is mounted read-only on a separate helper instance in the same AZ; copy the file back over SSH, S3 or Session Manager. nouuid avoids XFS refusing to mount a disk with the same UUID as a mounted one. Delete the temporary volume afterwards.
Q45. How do you encrypt an existing unencrypted EBS volume? Mid level
You cannot encrypt a volume in place. Steps:
- Create a snapshot of the volume.
- Copy the snapshot with encryption turned on (choose the KMS key), or create a new volume from the snapshot with --encrypted.
- Create the encrypted volume in the same AZ, stop the application, detach the old volume, attach the new one with the same device name, and start again.
- For a root volume, stop the instance and swap the root volume (or build a new encrypted AMI).
Turn on EBS encryption by default in each Region so this never happens again.
Q46. Volume Gateway offers cached and stored modes. How do you choose for a site with a slow internet link? Mid level
- Cached volumes: the primary data lives in AWS (S3, managed by the gateway) and only frequently used data is cached locally. Good when you want to reduce on-premises storage and most reads hit a small working set.
- Stored volumes: all data stays on local disks, and the gateway uploads point-in-time snapshots to AWS asynchronously. Good when the application needs low-latency access to the whole dataset.
With a slow link, stored mode is usually safer for performance (local reads never wait on the WAN), while cached mode risks slow reads on cache misses. Both can create EBS snapshots that you can restore as EBS volumes in AWS for DR.
4. Senior level and scenario questions
These questions check design thinking and troubleshooting. Think aloud. Say what you check first, what you change, and how you prevent it next time.
Q33. A database on EC2 uses four EBS volumes. Design backups that restore cleanly and quickly. Senior
- Use multi-volume, crash-consistent snapshots of the instance (all volumes at the same moment), or application-consistent backups (pre/post scripts that flush and freeze, or VSS on Windows).
- Schedule with AWS Backup (or DLM), with copies to another Region and another account.
- Keep native database backups too (logical dumps or database tools), because snapshots restore the whole disk, not one table.
- For fast recovery, enable Fast Snapshot Restore on the latest snapshot in the recovery AZ, or keep a standby replica.
- Test restores regularly and measure the real time to recover.
Q34. An attacker with admin access in one account deleted all EBS snapshots. How should it have been prevented? Senior
Layers that would have saved the data:
- Recycle Bin retention rules (locked) so deleted snapshots and AMIs can be recovered.
- EBS snapshot lock in compliance mode on critical snapshots.
- AWS Backup copies to a separate backup account, in a vault with Vault Lock in compliance mode, or a logically air-gapped vault.
- SCPs that deny deleting backups, changing Recycle Bin rules or disabling locks, except for a break-glass role.
- Alerts on DeleteSnapshot and DeleteRecoveryPoint events.
Assume one account can be fully compromised; backups must survive it.
Q35. An auto scaling group launches instances from an AMI with a 200 GiB root volume, and new instances take 10 minutes to become healthy. How do you speed it up? Senior
The volume is created from a snapshot, so blocks load lazily from S3; the first reads of the application files and caches are slow.
Options:
- Fast Snapshot Restore on the AMI's snapshot in each AZ the group uses.
- Shrink the AMI: keep only what is needed on the root volume, and put large data on S3 or EFS loaded as needed.
- Pre-warm by reading key files at boot, or use a provisioned volume initialization rate where supported.
- Warm pools, so pre-initialised instances are ready.
- Check that health check grace periods match real startup time.
Q36. A web application on 20 EC2 instances shares files on EFS, and pages are slow. How do you troubleshoot? Senior
- Check CloudWatch: PercentIOLimit, throughput metrics (MeteredIOBytes vs PermittedThroughput), and BurstCreditBalance if using Bursting throughput.
- Small-file, metadata-heavy access (such as PHP apps reading many files per request) suffers from network file system latency.
Fixes:
- Switch to Elastic throughput if limited by throughput or credits.
- Cache: OPcache for PHP, a local cache for static files, or serve static assets from S3 and CloudFront.
- Keep code on the instance (in the AMI or deployment), and use EFS only for shared uploads.
- Ensure clients use the mount target in their own AZ and the recommended NFS mount options.
Q37. A company has a 60 TB Windows file server on-premises used by 800 staff. How do you move it to AWS? Senior
- Target: FSx for Windows File Server (Multi-AZ), joined to the same AD (through AWS Managed AD with a trust, or self-managed AD over VPN/Direct Connect).
- Copy data with AWS DataSync (preserves NTFS permissions and timestamps), starting weeks before cutover; run incremental syncs.
- Use DFS Namespaces so users keep the same path while the target changes.
- Cutover: freeze changes, final incremental sync, switch DFS targets, then monitor.
- Plan bandwidth (Direct Connect or VPN); for the initial bulk, consider an offline transfer option if the network is too slow.
- Keep the old server read-only for a while as a fallback.
Q38. A hospital must keep backups for 10 years and prove they cannot be deleted. Design it with AWS Backup. Senior
- Backup plans for all clinical systems, assigned by tags enforced with tag policies.
- Lifecycle: warm storage for recent backups, then cold storage for long-term retention where supported.
- Copies to a vault in a separate backup account and a second Region.
- Vault Lock in compliance mode with minimum retention of 10 years on the long-term vault, after testing in governance mode.
- KMS keys owned by the backup account; SCPs that deny changes to vaults and plans.
- Backup Audit Manager reports for auditors, and regular restore tests to show backups actually work.
- Legal holds when a case requires keeping specific recovery points longer.
Q39. A branch office needs fast local file access but wants all data stored in AWS. Which Storage Gateway design do you propose, and what are the risks? Senior
- S3 File Gateway on a local VM or hardware appliance, with SMB shares joined to AD; data stored as objects in S3, recent files cached locally.
- Size the cache disk for the working set (watch CacheHitPercent and CachePercentDirty metrics).
- Bandwidth: uploads are asynchronous; if the WAN is slow, dirty data builds up in the cache. Set bandwidth limits for business hours.
- Risks: a gateway failure before uploads finish can lose recent changes, files are not locked across multiple gateways, and very small-file or database workloads do not fit.
- S3 lifecycle and versioning protect the data in AWS; monitor the gateway with CloudWatch.
Q40. An ML team runs a 3-day training job on 500 TB of images in S3. How do you design storage? Senior
- FSx for Lustre (persistent or scratch, depending on job length) linked to the S3 bucket through a data repository association.
- Preload the data the job needs (hydrate) before training starts, so GPUs do not wait for lazy loading.
- Size throughput per TiB for the number of GPU instances; put the file system and compute in the same AZ (and placement group where useful).
- Write checkpoints to Lustre and export them to S3 regularly, so a failure does not lose days of work.
- Delete scratch file systems after the job; S3 remains the long-term copy.
Q41. Someone changed EBS volumes to gp3 and lowered throughput to the baseline to save money. Now nightly jobs are slow. How do you find the right setting? Senior
- Look at CloudWatch for the job window: VolumeReadBytes and VolumeWriteBytes per period (convert to MiB/s), VolumeReadOps and VolumeWriteOps (IOPS), and VolumeQueueLength.
- If throughput sits flat at the provisioned limit while queue length grows, throughput is the bottleneck.
- Also check instance-level EBS limits: smaller instance types have lower EBS bandwidth than the volume can deliver.
- Set gp3 throughput and IOPS to cover the measured peak plus headroom (gp3 lets you change them independently of size).
- Re-check costs: gp3 with extra throughput is often still cheaper than the old gp2 setup.
Q42. How would you protect EFS data against both accidental deletion and a Regional outage? Senior
- AWS Backup for EFS with daily backups (point-in-time copies, item-level restore of files or directories), copied to another Region and account, with Vault Lock.
- EFS replication to another Region for a fast warm copy (replication also copies deletions, so it is not a backup by itself).
- Access points and IAM policies so applications can only change their own directories.
- File system policy that denies root access and requires TLS.
- A runbook for failover (break replication, remount) and for restoring a single directory from backup.
Q43. Your backup bill grows 15% every month. How do you investigate and fix it without weakening protection? Senior
- Cost Explorer and the Backup console by resource type and vault: which services and accounts grow?
- Retention: are some plans keeping daily backups for years when weekly or monthly would do?
- Cold storage: move long-term recovery points to cold storage where supported (watch minimum days).
- Orphans: recovery points and snapshots for deleted resources, old AMIs and their snapshots, manual snapshots nobody owns.
- Duplicate protection: both DLM and AWS Backup snapshotting the same volumes, or native database backups duplicated by AWS Backup.
- Change frequency on large, rarely changing resources.
Document retention rules with the business so cuts are agreed, not guessed.
Q47. Engineers on Linux and Windows must edit the same project files. Which AWS file storage do you pick? Senior
FSx for NetApp ONTAP, because the same volume can be shared over NFS (Linux) and SMB (Windows) at the same time, with a security style chosen per volume (UNIX, NTFS or mixed) and AD integration for Windows users.
Things to plan:
- Name mapping between Windows and UNIX users so permissions work both ways.
- Multi-AZ deployment for production.
- SnapMirror or AWS Backup for protection, and capacity pool tiering for cold project data.
EFS (NFS only) and FSx for Windows (SMB only) do not cover both protocols on the same data cleanly.
Q48. A company still writes nightly backups to physical tapes and wants to stop shipping tapes offsite. What do you propose? Senior
Tape Gateway:
- Deploy the gateway on-premises; the existing backup software (such as Veeam, Commvault or NetBackup) sees a virtual tape library over iSCSI, so the backup jobs barely change.
- Virtual tapes upload to S3; when the software ejects them, they move to the archive pool in S3 Glacier Flexible Retrieval or Deep Archive.
- Retrieval: request the tape back into the library (takes hours, depending on the archive class).
- Optional tape retention lock and write-once settings for compliance.
Plan bandwidth for nightly volumes, and test a full restore before retiring the tape hardware.
Q49. When would you use an AWS Backup logically air-gapped vault? Senior
A logically air-gapped vault stores recovery points in an AWS-owned account, locked by default in compliance mode and encrypted with AWS-owned keys. You share it with other accounts (through AWS RAM) so they can restore even if your own backup account is compromised.
Use it when:
- Ransomware or full account compromise is a top risk.
- You want a faster recovery path than copying backups back into a clean account first.
Combine it with a normal vault for routine restores, and check which resource types are supported.
Q50. Nightly backups of an EFS file system with 300 million tiny files take most of the day. What can you do? Senior
Backup time depends heavily on file count and metadata operations, not just size.
- Make sure backups are incremental (AWS Backup EFS backups are incremental after the first).
- Reduce file count: archive old files into bundles (tar or zip) or move cold data to S3.
- Split very large file systems by application so backups run in parallel and can be scheduled separately.
- Use EFS replication for fast recovery in another Region, and keep backups for point-in-time history.
- Check the backup window and start time so jobs do not overlap with peak load.
Ask whether every file really needs file-level backups, or whether the source system can recreate them.
5. Frequently asked questions
Which of these services matter most for interviews?
EBS and snapshots come up in almost every cloud interview. EFS is common for shared storage questions. FSx, Storage Gateway and AWS Backup appear in senior, migration and enterprise interviews.
Is AWS Backup the same as EBS snapshots?
AWS Backup uses snapshots and other native backups underneath, but adds central plans, vaults, cross-account and cross-Region copies, locks and reports across many services.
What should I practise?
Take a multi-volume snapshot, archive and restore a snapshot, mount EFS with TLS through an access point, and create a backup plan that copies to a second Region.
6. Quick revision
- Snapshots are incremental; deleting one never breaks the others.
- Wait about 6 hours between Elastic Volumes changes on the same volume.
- Multi-Attach works only with io1/io2 in one AZ and needs a cluster-aware file system.
- EFS needs a mount target per AZ and NFS port 2049 open in its security group.
- AWS Backup Vault Lock in compliance mode cannot be removed after its cooling-off period.
7. Related chapters
- AWS S3 and Storage Interview Questions and Answers (50 Questions on S3, EFS, FSx and Backup)
- AWS CLI EBS and AMI Commands: Volumes, Snapshots and Images
- Mount Amazon EFS on EC2 Step by Step
- AWS Backup and Disaster Recovery Plans Explained for Beginners
- 1000 AWS Interview Questions and Answers for Freshers and Experienced (Complete Set)
This page is one part of the complete AWS interview question set. Open the full list here: All 2052 AWS interview questions.