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. File storage
B. Object storage
C. Block storage
D. Cache 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. Volume
C. Bucket
D. File system

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

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

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. Creating IAM users
B. Moving or expiring objects
C. Changing EC2 instance types
D. Distributing traffic across several application servers in different Availability Zones

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

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

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. EC2 Auto Scaling
D. Amazon EFS

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

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

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

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

10 Which factor should be considered when choosing an AMI?

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

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. A Glacier retrieval request
C. An EFS access point
D. An EC2 key pair

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. Accelerated computing
C. Compute optimized
D. General purpose

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

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

14 What is EC2 user data commonly used for?

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

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

EC2 instance types, user data, and configuration Easy
A. Machine image
B. Storage class
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. Shared file storage
C. Object 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. EC2 Instance Store
B. Amazon EBS
C. Amazon EFS
D. S3 Glacier

18 What is an EBS snapshot?

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

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. Cost Optimization
B. Operational Excellence
C. Reliability
D. Sustainability

20 Which practice supports cost optimization for EC2 workloads?

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

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 Standard-Infrequent Access
B. S3 One Zone-Infrequent Access
C. S3 Glacier Flexible Retrieval
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-Infrequent Access
B. S3 Standard
C. S3 Intelligent-Tiering
D. S3 Glacier Instant Retrieval

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 Glacier Deep Archive
B. S3 One Zone-Infrequent Access
C. S3 Standard-Infrequent Access
D. S3 Standard

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. S3 Select
B. S3 Batch Operations
C. Multipart upload
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. Transition objects to S3 Glacier Deep Archive after 90 days
B. Replicate objects to another bucket after 90 days
C. Transition objects to S3 One Zone-IA after seven years
D. Enable versioning and retain all versions in S3 Standard

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. The latest version is moved to Glacier
D. A delete marker becomes the current version

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 Transfer Acceleration
B. S3 Access Points
C. S3 Inventory
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. Select any public AMI and configure it manually
B. Attach the same existing EBS volume to every instance
C. Store the installation files in an S3 bucket
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. The instance moves to another Region
C. The instance receives a new AMI
D. All attached EBS volumes are deleted

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. Convert the AMI into an EBS snapshot
B. Move the subnet to the destination Region
C. Register the same AMI ID in both Regions
D. Copy the AMI 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. Accelerated computing
B. Compute optimized
C. General purpose
D. Memory 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 is ignored on EBS-backed instances
B. User data normally runs only during the first boot
C. User data works only with instance store volumes
D. User data requires an Elastic IP address

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. Attach an IAM role to the instance
B. Place access keys in instance tags
C. Store access keys in the user data
D. Add the keys to the custom AMI

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. EC2 instance store
B. Amazon EBS
C. Amazon S3 Glacier
D. Amazon EFS

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. EFS Standard file system
C. S3 Glacier Instant Retrieval
D. Provisioned IOPS EBS volume

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 S3 Standard
C. Amazon EFS
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 S3 delete marker
B. An EC2 placement group
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. Increase the size of the existing instance
B. Deploy instances across multiple Availability Zones
C. Move application logs to instance store
D. Assign an Elastic IP to the instance

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. Replace all instances with Dedicated Hosts
B. Disable monitoring to reduce operational overhead
C. Use Auto Scaling with scheduled and metric-based policies
D. Run maximum-capacity instances continuously

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 One Zone-Infrequent Access with replication enabled
C. S3 Intelligent-Tiering with its default access tiers
D. S3 Standard with manual archival rules

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 Object Lock in governance mode
B. S3 Versioning with an MFA Delete requirement
C. S3 Glacier Deep Archive with a seven-year lifecycle rule
D. S3 Object Lock in compliance 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 has a minimum billable storage duration of 30 days
C. Standard-IA supports retrieval only through a batch job
D. Standard-IA cannot store objects larger than 5 GB

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 Transfer Acceleration
B. S3 Multi-Region Access Points
C. S3 Access Points
D. S3 Batch Operations

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 AWS DataSync with bandwidth throttling disabled
B. Use AWS Snowball Edge to transfer the dataset offline
C. Use multipart upload with a larger part size over the link
D. Use S3 Transfer Acceleration through the same constrained link

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. A delete marker becomes current and the prior version remains
C. The current version transitions and the delete marker expires
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. Use the object creation date as the lifecycle transition trigger
B. Disable versioning so metadata updates cannot create versions
C. Use object tags updated by the business workflow as lifecycle filters
D. Transition every current version after seven calendar days

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. Transition delete markers to S3 Standard-IA
B. Disable versioning and immediately purge the bucket
C. Permanently delete noncurrent versions after the required retention period
D. Expire current versions after one day

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 Transfer Acceleration
B. VPC gateway endpoint for Amazon S3
C. AWS Storage Gateway
D. S3 Glacier Instant Retrieval

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. Create and distribute a hardened custom AMI
B. Use the latest public AMI and configure it manually
C. Install packages with user data after every launch
D. Attach an EBS snapshot after the instance starts

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. Enable public access on the AMI snapshot
B. Grant the required KMS permissions through the key policy
C. Make the KMS key asymmetric
D. Convert the root volume to instance store

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. A security group restricting SSH access
B. An S3 bucket policy for AMI metadata
C. An EBS volume policy limiting volume size
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. Reserved Instances on memory-optimized instances
C. On-Demand Instances on burstable instances
D. Dedicated Hosts with fixed capacity reservations

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. Storage-optimized instances
B. General-purpose 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 runs only after an Elastic IP is attached
B. User data runs only during the initial launch by default
C. User data is ignored when the root volume is persistent
D. User data runs only when the AMI is created

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. Add retry logic and dependency health checks
B. Disable automatic instance recovery
C. Increase the AMI file size
D. Replace user data with a security group

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. One io2 Block Express volume shared across Regions
D. Instance store volumes on each instance

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. Instance store with an EFS backup mount
B. st1 with burst throughput
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. EFS Infrequent Access
C. A Multi-Attach io2 volume
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. Disable encryption on infrequently used objects
B. Move all objects to S3 One Zone-IA
C. Replace Auto Scaling with fixed large instances
D. Use lifecycle transitions and rightsize compute capacity