Unit 3: Storage and Compute Services - Practice Quiz

INT364 — Cloud Architecture And Implementation-Ii 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 What type of storage does Amazon S3 provide?

Amazon S3 fundamentals and storage classes Easy
A. Cache storage
B. Object storage
C. File storage
D. Block storage

2 What is the name of the container used to store objects in Amazon S3?

Amazon S3 fundamentals and storage classes Easy
A. Instance
B. Bucket
C. File system
D. Volume

3 Which S3 storage class is designed for frequently accessed data?

Amazon S3 fundamentals and storage classes Easy
A. S3 One Zone-IA
B. S3 Glacier Flexible Retrieval
C. S3 Standard
D. S3 Glacier Deep Archive

4 Which S3 storage class is intended for long-term archival data with very infrequent access?

Amazon S3 fundamentals and storage classes Easy
A. S3 Standard-IA
B. S3 Glacier Deep Archive
C. S3 Express One Zone
D. S3 Standard

5 What does an S3 lifecycle policy automate?

Data transfer, lifecycle policies, and versioning in S3 Easy
A. Moving or expiring objects
B. Distributing traffic across several application servers in different Availability Zones
C. Creating IAM users
D. Changing EC2 instance types

6 What is the main purpose of enabling versioning on an S3 bucket?

Data transfer, lifecycle policies, and versioning in S3 Easy
A. To retain multiple object versions
B. To reduce every transfer charge
C. To convert objects into EBS snapshots
D. To resize stored objects

7 Which AWS service can accelerate uploads to S3 by routing data through AWS edge locations?

Data transfer, lifecycle policies, and versioning in S3 Easy
A. S3 Transfer Acceleration
B. Amazon Inspector
C. Amazon EFS
D. EC2 Auto Scaling

8 What happens when an object is overwritten in a versioning-enabled S3 bucket?

Data transfer, lifecycle policies, and versioning in S3 Easy
A. Every earlier version is immediately and permanently removed from the bucket
B. The bucket is deleted
C. The object becomes public
D. A new version is created

9 What does an Amazon Machine Image (AMI) provide when launching an EC2 instance?

Launching EC2 instances and choosing AMIs Easy
A. A monthly billing report
B. A physical network cable
C. A template for the instance
D. A policy for archiving S3 objects

10 Which factor should be considered when choosing an AMI?

Launching EC2 instances and choosing AMIs Easy
A. Required operating system
B. EFS file system size
C. The number of lifecycle transitions configured for all storage buckets
D. S3 bucket version count

11 What is required to connect securely to a Linux EC2 instance using SSH?

Launching EC2 instances and choosing AMIs Easy
A. An S3 lifecycle rule
B. An EC2 key pair
C. An EFS access point
D. A Glacier retrieval request

12 Which EC2 instance family is designed to provide a balance of compute, memory, and networking resources?

EC2 instance types, user data, and configuration Easy
A. Memory optimized
B. General purpose
C. Accelerated computing
D. Compute optimized

13 Which EC2 instance family is most suitable for processor-intensive workloads?

EC2 instance types, user data, and configuration Easy
A. Memory optimized
B. Compute optimized
C. General purpose instances configured with lifecycle policies for automatic data archiving
D. Storage optimized

14 What is EC2 user data commonly used for?

EC2 instance types, user data, and configuration Easy
A. Changing the S3 storage class manually
B. Selecting an AWS Region
C. Creating physical servers
D. Automating instance startup tasks

15 Which EC2 feature acts as a virtual firewall for an instance?

EC2 instance types, user data, and configuration Easy
A. Storage class
B. Machine image
C. Security group
D. Lifecycle policy

16 What type of storage does Amazon EBS provide for EC2 instances?

Storage options such as EBS and EFS for EC2 Easy
A. Block storage
B. Object storage
C. Shared file storage
D. Archival storage

17 Which AWS storage service provides a shared file system that can be mounted by multiple EC2 instances?

Storage options such as EBS and EFS for EC2 Easy
A. Amazon EBS
B. EC2 Instance Store
C. S3 Glacier
D. Amazon EFS

18 What is an EBS snapshot?

Storage options such as EBS and EFS for EC2 Easy
A. A backup of an EBS volume
B. A report of network traffic
C. A copy of an EC2 key pair
D. A complete shared file system automatically mounted on every instance in an AWS account

19 Which Well-Architected Framework pillar focuses on recovering from failures and meeting demand?

Applying the Well-Architected Framework to storage and compute layers Easy
A. Reliability
B. Cost Optimization
C. Sustainability
D. Operational Excellence

20 Which practice supports cost optimization for EC2 workloads?

Applying the Well-Architected Framework to storage and compute layers Easy
A. Selecting appropriately sized instances
B. Storing all application data on identical volumes regardless of access patterns and performance needs
C. Keeping every instance running continuously
D. Using only the largest instance type

21 A company stores monthly reports that are accessed frequently for 30 days and then rarely accessed, but they must remain immediately available. Which S3 storage class is most appropriate after the first 30 days?

Amazon S3 fundamentals and storage classes Medium
A. S3 Glacier Flexible Retrieval
B. S3 Standard-Infrequent Access
C. S3 One Zone-Infrequent Access
D. S3 Standard

22 A workload has unpredictable object access patterns, and the team wants S3 to optimize storage costs automatically without retrieval fees. Which storage class should be selected?

Amazon S3 fundamentals and storage classes Medium
A. S3 Standard
B. S3 Intelligent-Tiering
C. S3 Glacier Instant Retrieval
D. S3 Standard-Infrequent Access

23 A company stores reproducible image thumbnails that are rarely accessed. Losing the data because an Availability Zone fails is acceptable. Which storage class offers the best fit?

Amazon S3 fundamentals and storage classes Medium
A. S3 Standard
B. S3 Standard-Infrequent Access
C. S3 Glacier Deep Archive
D. S3 One Zone-Infrequent Access

24 A company must upload a 200 GB file to S3 over an unreliable network. Which approach provides efficient transfer and allows failed parts to be retried independently?

Data transfer, lifecycle policies, and versioning in S3 Medium
A. Multipart upload
B. S3 Select
C. S3 Batch Operations
D. Single PUT request

25 An application generates log files that must remain immediately accessible for 90 days and then be retained at the lowest cost for seven years. Which S3 configuration best meets the requirement?

Data transfer, lifecycle policies, and versioning in S3 Medium
A. Enable versioning and retain all versions in S3 Standard
B. Replicate objects to another bucket after 90 days
C. Transition objects to S3 Glacier Deep Archive after 90 days
D. Transition objects to S3 One Zone-IA after seven years

26 Versioning is enabled on an S3 bucket. A user deletes an object without specifying a version ID. What happens?

Data transfer, lifecycle policies, and versioning in S3 Medium
A. All versions are permanently removed
B. The bucket automatically disables versioning
C. A delete marker becomes the current version
D. The latest version is moved to Glacier

27 Users in several continents upload large files to one S3 bucket in a fixed AWS Region. Which feature can improve upload performance over long geographic distances?

Data transfer, lifecycle policies, and versioning in S3 Medium
A. S3 Access Points
B. S3 Inventory
C. S3 Transfer Acceleration
D. S3 Object Lock

28 A team must launch identical EC2 instances containing a preinstalled application and approved operating system patches. Which approach provides the most consistent launches?

Launching EC2 instances and choosing AMIs Medium
A. Attach the same existing EBS volume to every instance
B. Store the installation files in an S3 bucket
C. Select any public AMI and configure it manually
D. Create a custom AMI from a configured instance

29 An EC2 instance using an EBS-backed AMI is stopped and started. Which outcome should the administrator expect?

Launching EC2 instances and choosing AMIs Medium
A. The root EBS volume is preserved
B. All attached EBS volumes are deleted
C. The instance receives a new AMI
D. The instance moves to another Region

30 A company wants to launch an EC2 instance in a Region different from the Region where its custom AMI was created. What must it do first?

Launching EC2 instances and choosing AMIs Medium
A. Register the same AMI ID in both Regions
B. Copy the AMI to the destination Region
C. Convert the AMI into an EBS snapshot
D. Move the subnet to the destination Region

31 A scientific application continuously performs processor-intensive calculations while using little memory. Which EC2 instance family is the best starting choice?

EC2 instance types, user data, and configuration Medium
A. General purpose
B. Storage optimized
C. Memory optimized
D. Compute optimized

32 An in-memory analytics database requires hundreds of gigabytes of RAM and moderate CPU capacity. Which EC2 instance family is most suitable?

EC2 instance types, user data, and configuration Medium
A. Memory optimized
B. General purpose
C. Accelerated computing
D. Compute optimized

33 A user data script installs a web server when an EC2 instance launches, but the server is not installed after a later stop and start. What is the most likely explanation?

EC2 instance types, user data, and configuration Medium
A. User data normally runs only during the first boot
B. User data is ignored on EBS-backed instances
C. User data requires an Elastic IP address
D. User data works only with instance store volumes

34 An application running on EC2 must read objects from S3 without storing long-term access keys on the instance. Which configuration should be used?

EC2 instance types, user data, and configuration Medium
A. Place access keys in instance tags
B. Add the keys to the custom AMI
C. Attach an IAM role to the instance
D. Store access keys in the user data

35 Several Linux EC2 instances in different Availability Zones need concurrent access to the same directory of uploaded files. Which storage service is the best fit?

Storage options such as EBS and EFS for EC2 Medium
A. Amazon S3 Glacier
B. Amazon EBS
C. Amazon EFS
D. EC2 instance store

36 A transactional database on one EC2 instance requires low-latency block storage with provisioned performance. Which option is most appropriate?

Storage options such as EBS and EFS for EC2 Medium
A. S3 Standard storage class
B. Provisioned IOPS EBS volume
C. EFS Standard file system
D. S3 Glacier Instant Retrieval

37 An EC2 workload uses temporary scratch data that can be recreated, but it requires very high local I/O performance. Which storage option is the best fit?

Storage options such as EBS and EFS for EC2 Medium
A. General Purpose EBS
B. Amazon EFS
C. Amazon S3 Standard
D. EC2 instance store

38 A team wants to create a durable point-in-time backup of an EBS volume that can later be used to create another volume. What should it create?

Storage options such as EBS and EFS for EC2 Medium
A. An EC2 placement group
B. An S3 delete marker
C. An EFS access point
D. An EBS snapshot

39 A production application runs on one EC2 instance in one Availability Zone. Which change most directly improves reliability under the AWS Well-Architected Framework?

Applying the Well-Architected Framework to storage and compute layers Medium
A. Assign an Elastic IP to the instance
B. Increase the size of the existing instance
C. Move application logs to instance store
D. Deploy instances across multiple Availability Zones

40 An application runs at 20% CPU utilization most of the month but experiences predictable traffic peaks every weekday. Which design best follows cost optimization and performance efficiency principles?

Applying the Well-Architected Framework to storage and compute layers Medium
A. Use Auto Scaling with scheduled and metric-based policies
B. Run maximum-capacity instances continuously
C. Disable monitoring to reduce operational overhead
D. Replace all instances with Dedicated Hosts

41 A data lake stores 2 PB of objects that are accessed unpredictably, but the application requires millisecond access whenever an object is requested. The organization also wants automatic cost optimization without changing object names or application logic. Which S3 storage class is the most appropriate starting point?

Amazon S3 fundamentals and storage classes Hard
A. S3 Glacier Flexible Retrieval with expedited retrieval
B. S3 Standard with manual archival rules
C. S3 Intelligent-Tiering with its default access tiers
D. S3 One Zone-Infrequent Access with replication enabled

42 A compliance archive requires objects to remain protected from deletion or overwrite for seven years. Administrators must not be able to shorten this retention period, even if they have broad S3 permissions. Which configuration best satisfies the requirement?

Amazon S3 fundamentals and storage classes Hard
A. S3 Glacier Deep Archive with a seven-year lifecycle rule
B. S3 Versioning with an MFA Delete requirement
C. S3 Object Lock in compliance mode
D. S3 Object Lock in governance mode

43 An application uses S3 Standard-IA for backup objects that are typically retrieved once every six months. Some objects are deleted after 20 days because they are superseded. Which issue must be addressed before selecting this class?

Amazon S3 fundamentals and storage classes Hard
A. Standard-IA requires all objects to be encrypted with KMS
B. Standard-IA cannot store objects larger than 5 GB
C. Standard-IA supports retrieval only through a batch job
D. Standard-IA has a minimum billable storage duration of 30 days

44 A company requires a single logical namespace for objects uploaded by applications in multiple AWS Regions. It wants users to access data through one regional endpoint while automatically routing requests to the closest bucket replica. Which S3 feature is intended for this design?

Amazon S3 fundamentals and storage classes Hard
A. S3 Batch Operations
B. S3 Multi-Region Access Points
C. S3 Access Points
D. S3 Transfer Acceleration

45 A media company uploads 100 TB from an on-premises data center over a 1-Gbps link. The transfer must complete within 12 hours, but the link is also needed for business traffic. Which approach most directly reduces network impact while meeting the deadline?

Data transfer, lifecycle policies, and versioning in S3 Hard
A. Use S3 Transfer Acceleration through the same constrained link
B. Use AWS DataSync with bandwidth throttling disabled
C. Use multipart upload with a larger part size over the link
D. Use AWS Snowball Edge to transfer the dataset offline

46 An S3 bucket has versioning enabled. A lifecycle rule transitions current objects to Glacier after 30 days and expires noncurrent versions after 90 days. A client deletes an object on day 40. What happens under this rule?

Data transfer, lifecycle policies, and versioning in S3 Hard
A. The object is permanently deleted immediately
B. The current version transitions and the delete marker expires
C. A delete marker becomes current and the prior version remains
D. All versions are deleted when the delete request succeeds

47 A lifecycle rule should archive objects seven days after their last modification, but many objects receive metadata updates that change their current version. Which design best ensures archival is based on business inactivity rather than accidental version changes?

Data transfer, lifecycle policies, and versioning in S3 Hard
A. Disable versioning so metadata updates cannot create versions
B. Transition every current version after seven calendar days
C. Use the object creation date as the lifecycle transition trigger
D. Use object tags updated by the business workflow as lifecycle filters

48 A versioned bucket has millions of noncurrent versions and expired delete markers. The organization wants to reduce storage cost without removing the current versions of active objects. Which lifecycle configuration is most appropriate?

Data transfer, lifecycle policies, and versioning in S3 Hard
A. Permanently delete noncurrent versions after the required retention period
B. Expire current versions after one day
C. Disable versioning and immediately purge the bucket
D. Transition delete markers to S3 Standard-IA

49 A workload uploads objects to S3 from globally distributed clients. Upload latency is high, but the bucket must remain in one Region and the clients already have reliable Internet connectivity. Which service is the best fit for accelerating uploads?

Data transfer, lifecycle policies, and versioning in S3 Hard
A. S3 Glacier Instant Retrieval
B. S3 Transfer Acceleration
C. AWS Storage Gateway
D. VPC gateway endpoint for Amazon S3

50 A company needs to launch EC2 instances with a preinstalled application, hardened operating system settings, and approved monitoring agents. The image must be reused across accounts and Regions. Which approach provides the most repeatable result?

Launching EC2 instances and choosing AMIs Hard
A. Attach an EBS snapshot after the instance starts
B. Install packages with user data after every launch
C. Create and distribute a hardened custom AMI
D. Use the latest public AMI and configure it manually

51 An Auto Scaling group launches instances from an AMI whose root EBS volume is encrypted with a customer managed KMS key. Instances fail to launch because the Auto Scaling service cannot use the key. Which remedy is required?

Launching EC2 instances and choosing AMIs Hard
A. Grant the required KMS permissions through the key policy
B. Convert the root volume to instance store
C. Enable public access on the AMI snapshot
D. Make the KMS key asymmetric

52 A security team requires that every production EC2 launch use an approved AMI and prevents direct launches from unapproved image IDs. Which control most directly enforces this requirement at the account level?

Launching EC2 instances and choosing AMIs Hard
A. An EBS volume policy limiting volume size
B. A security group restricting SSH access
C. An S3 bucket policy for AMI metadata
D. An IAM policy condition limiting allowed AMI IDs

53 A batch analytics workload runs for several hours, is fault tolerant, and can be interrupted and restarted from checkpoints. Its CPU demand varies substantially throughout the month. Which purchasing and instance strategy is most cost-effective?

EC2 instance types, user data, and configuration Hard
A. Spot Instances in a diversified Auto Scaling group
B. Dedicated Hosts with fixed capacity reservations
C. Reserved Instances on memory-optimized instances
D. On-Demand Instances on burstable instances

54 An application performs sustained vectorizable numerical computations and is CPU-bound after testing. Memory utilization remains below 35%, and network throughput is adequate. Which instance family should be evaluated first?

EC2 instance types, user data, and configuration Hard
A. General-purpose instances
B. Storage-optimized instances
C. Compute-optimized instances
D. Memory-optimized instances

55 A Linux EC2 instance uses user data to install an agent. The agent is installed during the first boot, but a later stop and start does not rerun the installation. Which explanation is correct?

EC2 instance types, user data, and configuration Hard
A. User data is ignored when the root volume is persistent
B. User data runs only when the AMI is created
C. User data runs only during the initial launch by default
D. User data runs only after an Elastic IP is attached

56 An application launched with user data intermittently starts before its database dependency is reachable. The script exits successfully but the application is unhealthy. Which improvement is most appropriate?

EC2 instance types, user data, and configuration Hard
A. Increase the AMI file size
B. Replace user data with a security group
C. Add retry logic and dependency health checks
D. Disable automatic instance recovery

57 A fleet of Linux EC2 instances in multiple Availability Zones requires concurrent read-write access to the same POSIX file hierarchy. The workload has unpredictable throughput and must remain available if one Availability Zone fails. Which storage option is best suited?

Storage options such as EBS and EFS for EC2 Hard
A. An EFS Regional file system using standard storage
B. One gp3 EBS volume attached to every instance
C. Instance store volumes on each instance
D. One io2 Block Express volume shared across Regions

58 A relational database requires low-latency block storage with predictable IOPS. The workload is write-intensive, and the team wants to provision IOPS independently from capacity. Which EBS option is most appropriate?

Storage options such as EBS and EFS for EC2 Hard
A. st1 with burst throughput
B. Instance store with an EFS backup mount
C. gp3 with independently provisioned IOPS
D. sc1 with the lowest baseline cost

59 A stateless web tier needs temporary scratch space for cached thumbnails. Data can be regenerated after an instance replacement, and the workload benefits from very high local I/O with no persistence requirement. Which storage is most suitable?

Storage options such as EBS and EFS for EC2 Hard
A. A gp3 volume with daily snapshots
B. A Multi-Attach io2 volume
C. EFS Infrequent Access
D. Instance store volumes

60 A team stores every object permanently in S3 Standard and runs oversized EC2 instances to handle occasional monthly peaks. Which Well-Architected improvement most directly addresses cost optimization while preserving workload requirements?

Applying the Well-Architected Framework to storage and compute layers Hard
A. Replace Auto Scaling with fixed large instances
B. Use lifecycle transitions and rightsize compute capacity
C. Move all objects to S3 One Zone-IA
D. Disable encryption on infrequently used objects