Unit 2: AWS Storage; Amazon Virtual Private Cloud - Practice Quiz

CSC301 — Introduction To Cloud Computing 60 Questions
0 Correct 0 Wrong 60 Left
0/60

1 In Amazon S3, what is the fundamental container used to store objects?

S3 Service Architecture Easy
A. A file system
B. A bucket
C. A volume
D. A folder drive

2 Amazon S3 is best described as which type of storage?

S3 Service Architecture Easy
A. Cache storage
B. Object storage
C. Block storage
D. File storage

3 What level of durability is Amazon S3 Standard designed to provide for objects?

S3 Durability and Availability Easy
A. 99% (2 nines)
B. 100% guaranteed
C. 99.9% (3 nines)
D. 99.999999999% (11 nines)

4 What is the main purpose of an S3 Lifecycle configuration?

S3 Object Lifecycle Easy
A. To resize objects automatically
B. To replicate buckets across accounts
C. To automatically transition or expire objects over time
D. To encrypt objects at upload

5 Which component uniquely identifies an object within an S3 bucket?

Accessing S3 Objects Easy
A. The endpoint port
B. The object key
C. The IAM role
D. The region code

6 Amazon S3 Glacier is primarily designed for which use case?

Amazon S3 Glacier Easy
A. Hosting dynamic websites
B. Low-cost long-term archival storage
C. High-performance databases
D. Real-time video streaming

7 Which AWS service provides a scalable, shared file system that can be mounted by multiple Linux EC2 instances?

Amazon Elastic File System Easy
A. Amazon EFS
B. Amazon S3
C. Amazon EBS
D. Amazon Glacier

8 Amazon FSx for Windows File Server is built on which file-sharing protocol?

Amazon FSx Easy
A. SMB
B. HTTP
C. FTP
D. NFS

9 What is the primary function of AWS Storage Gateway?

AWS Storage Gateway Easy
A. Connect on-premises environments to AWS cloud storage
B. Accelerate global web traffic
C. Load balance EC2 instances
D. Manage DNS records

10 In the CIDR notation 10.0.0.0/16, what does the /16 represent?

VPC CIDR Blocks Easy
A. The number of gateways allowed
B. The number of available subnets
C. The number of bits used for the network portion
D. The number of route tables

11 A subnet in a VPC is always associated with which of the following?

Subnets Easy
A. Multiple regions
B. A single Availability Zone
C. A global network
D. All Availability Zones at once

12 What best describes an AWS Availability Zone?

Availability Zones Easy
A. One or more isolated data centers within a region
B. A global edge location
C. A virtual private network
D. A single physical server

13 What is an Elastic Network Interface (ENI) in a VPC?

Elastic Network Interfaces Easy
A. A DNS resolver service
B. A storage volume for logs
C. A physical router in the data center
D. A virtual network card attached to an instance

14 How many primary private IP addresses can a single network interface have?

Primary and Secondary Private IP Addresses Easy
A. Up to five
B. Up to ten
C. Unlimited
D. Exactly one

15 Which action does attaching a secondary ENI to an EC2 instance allow?

Attaching Elastic Network Interfaces Easy
A. Doubling the instance CPU
B. Increasing storage capacity
C. Connecting the instance to multiple subnets or networks
D. Enabling automatic backups

16 What is the purpose of an Internet Gateway in a VPC?

Internet Gateway Easy
A. To store object data
B. To enable communication between the VPC and the internet
C. To create private subnets automatically
D. To encrypt all VPC traffic

17 What does a VPC route table contain?

Route Table Easy
A. A list of stored S3 objects
B. Encryption keys for the VPC
C. User login credentials
D. Rules that determine where network traffic is directed

18 At what level does a Security Group operate in a VPC?

Security Group Easy
A. At the subnet level
B. At the account level
C. At the region level
D. At the instance (ENI) level

19 Which statement about security groups is correct?

Security Group Easy
A. They are stateful
B. They operate at the subnet level
C. They only block traffic
D. They are always stateless

20 At what level does a Network ACL control traffic?

Network Access Control List Easy
A. At the instance level
B. At the DNS level
C. At the object level
D. At the subnet level

21 A developer stores objects in an Amazon S3 bucket and needs to reference a specific object. Which combination uniquely identifies an object within S3?

S3 Service Architecture Medium
A. Availability Zone and object key
B. IAM role and bucket ARN
C. Bucket name, object key, and version ID
D. Region name and object size

22 Amazon S3 Standard is designed for (11 nines) durability. What does this durability figure primarily describe?

S3 Durability and Availability Medium
A. The percentage of time the service responds to requests
B. The guaranteed network latency for object retrieval
C. The maximum request throughput per prefix
D. The probability that objects are retained without loss over a year

23 A company wants objects to move to S3 Standard-IA after 30 days and then to Glacier after 90 days, deleting them after 365 days. Which S3 feature automates this?

S3 Object Lifecycle Medium
A. Bucket versioning policies
B. Lifecycle configuration rules
C. Cross-Region Replication
D. S3 Transfer Acceleration

24 You need to grant a user temporary, time-limited access to a private S3 object without changing bucket permissions. What is the best approach?

Accessing S3 Objects Medium
A. Generate a pre-signed URL
B. Disable server-side encryption
C. Attach the object to an EBS volume
D. Make the bucket public

25 An archive stored in S3 Glacier Flexible Retrieval must be retrieved. Which retrieval option typically provides the fastest access for a small number of objects?

Amazon S3 Glacier Medium
A. Standard retrieval
B. Deep Archive retrieval
C. Bulk retrieval
D. Expedited retrieval

26 A fleet of Linux EC2 instances across multiple Availability Zones needs a shared file system that scales automatically. Which service fits best?

Amazon Elastic File System Medium
A. Amazon S3 Glacier
B. Amazon EFS
C. Amazon EBS
D. Amazon FSx for Windows File Server

27 A Windows-based application requires a shared file system supporting SMB protocol and Active Directory integration. Which AWS service is most appropriate?

Amazon FSx Medium
A. Amazon S3
B. Amazon FSx for Windows File Server
C. Amazon EFS
D. AWS Storage Gateway Tape Gateway

28 An on-premises application needs low-latency local access to frequently used data while asynchronously backing up all data to S3. Which Storage Gateway mode fits?

AWS Storage Gateway Medium
A. File Gateway (cached volumes behavior)
B. S3 Multi-Region Access Point
C. Direct Connect gateway
D. Virtual Tape Library only

29 You create a VPC with CIDR block . Approximately how many IP addresses does this provide?

VPC CIDR Blocks Medium
A. 16,777,216
B. 1,024
C. 256
D. 65,536

30 In a subnet with CIDR , how many IP addresses are available for your EC2 instances after AWS reservations?

Subnets Medium
A. 256
B. 254
C. 250
D. 251

31 To build a highly available web tier, how should subnets be distributed relative to Availability Zones?

Availability Zones Medium
A. Place all subnets in one AZ for lower latency
B. Place subnets in multiple AZs so a single AZ failure does not take down the application
C. Create one subnet spanning all AZs simultaneously
D. Avoid subnets and deploy directly into the VPC

32 What is a key characteristic of an Elastic Network Interface (ENI) that aids high availability?

Elastic Network Interfaces Medium
A. It replaces the need for a route table in a VPC
B. It provides block storage that persists after instance termination
C. It automatically spans all Availability Zones in a Region
D. It can be detached from one instance and attached to another in the same AZ, preserving its attributes

33 What distinguishes the primary private IP address of an ENI from a secondary one?

Primary and Secondary Private IP Addresses Medium
A. Secondary IPs are automatically assigned Elastic IPs
B. The primary is public while secondaries are private
C. The primary cannot be reassigned, while secondary private IPs can be moved to another ENI
D. The primary supports IPv6 only

34 An administrator wants to create a management network path separate from the main application traffic on a single EC2 instance. What approach achieves this?

Attaching Elastic Network Interfaces Medium
A. Launch the instance in two VPCs
B. Assign two Elastic IPs to one ENI
C. Enable S3 Transfer Acceleration
D. Attach a second ENI to the instance

35 Instances in a public subnet have public IPs but still cannot reach the internet. Which configuration is most likely missing?

Internet Gateway Medium
A. An S3 bucket policy
B. A VPC peering connection
C. A NAT gateway in the private subnet
D. A route in the subnet's route table pointing to the Internet Gateway

36 In a VPC route table, when two routes could match a packet, how does AWS decide which route to use?

Route Table Medium
A. The most specific (longest prefix match) route is chosen
B. The route with the shortest prefix is chosen
C. Routes are chosen in random order
D. The route added most recently is chosen

37 A web server's security group allows inbound HTTP but you add no outbound rules changes. Why can the server still send HTTP responses back to clients?

Security Group Medium
A. The Internet Gateway rewrites the outbound rules automatically
B. Network ACLs override the security group for responses
C. Security groups are stateful, so return traffic for allowed inbound connections is automatically permitted
D. Security groups allow all outbound traffic by matching inbound deny rules

38 Which statement correctly contrasts Network ACLs with security groups?

Network Access Control List Medium
A. NACLs operate at the instance level and security groups at the subnet level
B. NACLs are stateful while security groups are stateless
C. NACLs only support allow rules and no deny rules
D. NACLs are stateless and evaluate rules in numbered order, while security groups are stateful

39 To avoid charges, when should an Elastic IP address be released in AWS?

Elastic IP Addresses Medium
A. When it is allocated but not associated with a running instance
B. Only after the VPC is deleted automatically
C. Immediately after associating it with a running instance
D. Whenever the instance is actively sending traffic

40 A global application wants to route users to the nearest healthy endpoint using static anycast IPs over the AWS backbone. Which service provides this?

AWS Global Accelerator Medium
A. AWS Direct Connect
B. Amazon Route 53 private hosted zones
C. Amazon CloudFront
D. AWS Global Accelerator

41 You create a VPC with CIDR block 10.0.0.0/16. AWS reserves 5 IP addresses in every subnet. If you carve a subnet 10.0.1.0/24, how many usable host addresses remain for your instances?

VPC CIDR Blocks Hard
A. 251
B. 256
C. 254
D. 249

42 A team stores 10 million objects in S3 Standard, which offers eleven nines () durability. Statistically, what is the expected timescale over which a single object loss might occur?

S3 Durability and Availability Hard
A. On average once every 10,000 years for this object count
B. Guaranteed no loss ever under any condition
C. On average once per month for this object count
D. On average once per year for this object count

43 An object is uploaded to S3 Standard. A lifecycle rule transitions it to S3 Standard-IA after 30 days and to S3 Glacier Flexible Retrieval after 60 days. Why might transitioning small objects to Standard-IA actually increase cost?

S3 Object Lifecycle Hard
A. Standard-IA charges double the storage rate of Standard for all objects
B. Standard-IA requires a minimum 90-day storage duration like Glacier
C. Standard-IA has a minimum billable object size of 128 KB plus per-object transition charges
D. Objects under 1 MB cannot be transitioned and incur penalty fees

44 An ENI is attached as a secondary interface (eth1) to an EC2 instance in a different subnet than eth0. What is a key constraint of this configuration?

Elastic Network Interfaces Hard
A. The two subnets must have identical CIDR blocks
B. Traffic on eth1 bypasses all security group rules by default
C. Secondary ENIs cannot have their own security groups
D. Both subnets must reside in the same Availability Zone as the instance

45 A subnet's NACL allows inbound HTTP (port 80) but you forgot to add an outbound rule for ephemeral ports. A client sends an HTTP request to a web server in that subnet. What happens?

Network Access Control List Hard
A. The response succeeds because NACLs track connection state automatically
B. The request is blocked inbound due to missing ephemeral port rule
C. The response is blocked because NACLs are stateless and need an explicit outbound ephemeral rule
D. The connection works since security groups override NACL outbound rules

46 VPC-A (10.0.0.0/16) is peered with VPC-B (10.0.0.0/16). What is the fundamental problem, and does transitive routing help?

VPC Peering Hard
A. The overlap is auto-resolved by AWS NAT; peering supports transitive routes
B. Only the first /24 overlaps so peering works; peering is transitive
C. Overlapping CIDRs make peering impossible; VPC peering is also non-transitive
D. Peering works but routing is slow due to overlap; peering is transitive

47 A private subnet uses a NAT Gateway for outbound internet access. An external host on the internet attempts to initiate a connection to an instance in the private subnet. What is the result?

Network Address Translation Hard
A. The connection succeeds via the NAT Gateway's Elastic IP
B. The connection fails because NAT Gateways only permit outbound-initiated sessions
C. The connection succeeds only if an inbound NACL rule exists
D. The NAT Gateway forwards it after security group approval

48 Two EC2 instances in different Availability Zones must share a POSIX-compliant file system with concurrent read/write access. Which solution and configuration is correct?

Amazon Elastic File System Hard
A. Amazon FSx for Windows mounted via NFS in both AZs
B. Amazon EBS Multi-Attach volume shared across AZs
C. Amazon S3 mounted as a block device in both AZs
D. Amazon EFS with a mount target in each AZ

49 How does AWS Global Accelerator fundamentally differ from Amazon CloudFront in handling user requests?

AWS Global Accelerator Hard
A. Global Accelerator routes traffic over the AWS backbone to endpoints using static anycast IPs, without caching content
B. Global Accelerator assigns a new IP per request for load distribution
C. Global Accelerator caches static content at edge locations like CloudFront does
D. Global Accelerator only works for HTTP/HTTPS, unlike CloudFront

50 A subnet's route table has: 10.0.0.0/16 → local, 0.0.0.0/0 → igw-xxx, and 10.0.5.0/24 → pcx-yyy (peering). Traffic is destined for 10.0.5.10. Which route is selected?

Route Table Hard
A. 10.0.0.0/16 → local because local routes always take priority
B. 0.0.0.0/0 → igw-xxx because it is the default route
C. The traffic is dropped due to conflicting routes
D. 10.0.5.0/24 → pcx-yyy because longest-prefix match wins

51 Instance A's security group allows inbound from Instance B's security group ID on port 443. Instance B initiates an HTTPS connection to A. Why does the return traffic succeed even without an outbound rule on A?

Security Group Hard
A. Security groups default-allow all outbound traffic, so it would succeed regardless
B. Referencing a security group ID disables outbound filtering
C. Port 443 return traffic is exempt from security group evaluation
D. Security groups are stateful, so return traffic for allowed inbound connections is automatically permitted

52 An archive is stored in S3 Glacier Deep Archive. A compliance audit requires fastest-possible retrieval. Which retrieval option and typical time applies?

Amazon S3 Glacier Hard
A. Standard retrieval, within 12 hours
B. Expedited retrieval, within 1–5 minutes
C. Bulk retrieval, within 5–12 hours
D. Instant retrieval, milliseconds

53 You allocate an Elastic IP but leave it unassociated with any running instance. What is the billing consequence and the reasoning?

Elastic IP Addresses Hard
A. A one-time allocation fee applies but no ongoing charge
B. No charge applies since EIPs are only billed when attached
C. You are charged only for data transfer, not for idleness
D. You incur an hourly charge because unused EIPs are billed to discourage address hoarding

54 A company wants on-premises applications to write to local storage with low latency while asynchronously backing data to S3, keeping a full copy on-prem. Which Storage Gateway mode fits?

AWS Storage Gateway Hard
A. Volume Gateway in cached mode, keeping only hot data locally
B. File Gateway, which stores all data only in S3
C. Volume Gateway in cached mode is incorrect; Stored Volume mode keeps the full dataset locally
D. Tape Gateway, which replaces physical backup tapes

55 An EC2 instance in a public subnet has a public IP and the subnet route table points 0.0.0.0/0 to an Internet Gateway, yet it cannot reach the internet. Which is the most likely remaining cause?

Internet Gateway Hard
A. The IGW must be attached separately to each instance
B. Internet Gateways require manual bandwidth provisioning that was skipped
C. The security group or NACL is blocking the required outbound/return traffic
D. Public IPs cannot route through an IGW without a NAT Gateway

56 You assign a secondary private IP to an instance's ENI and want external hosts to reach a service bound to that secondary IP. What additional step is required?

Primary and Secondary Private IP Addresses Hard
A. Secondary private IPs are automatically internet-accessible
B. Associate a separate Elastic IP with the secondary private IP address
C. Move the secondary IP to the primary ENI slot
D. Reboot the instance so the secondary IP becomes externally routable

57 You need to split 10.0.0.0/24 into 4 equal subnets. What prefix length and how many usable AWS addresses per subnet result?

Subnets Hard
A. /26, 62 usable addresses each
B. /25, 123 usable addresses each
C. /26, 59 usable addresses each
D. /28, 11 usable addresses each

58 A high-performance computing workload needs a file system delivering hundreds of GB/s throughput and sub-millisecond latencies, integrated with S3 for input/output data. Which option is designed for this?

Amazon FSx Hard
A. Amazon FSx for Windows File Server
B. Amazon FSx for Lustre
C. Amazon EFS in Max I/O mode
D. Amazon FSx for NetApp ONTAP

59 A pre-signed URL is generated for a GET on a private S3 object with a 1-hour expiry using temporary IAM role credentials. The URL stops working after 20 minutes. What is the most likely reason?

Accessing S3 Objects Hard
A. The temporary credentials used to sign the URL expired before the 1-hour limit
B. Pre-signed URLs always expire after 20 minutes regardless of settings
C. The object's ACL changed, auto-revoking the URL
D. S3 caps pre-signed URL validity at 15 minutes for private objects

60 A company uses AWS Direct Connect as its primary link to AWS and wants automatic failover to encrypted connectivity if Direct Connect fails. What is the recommended design?

Hybrid Cloud Networking Hard
A. Rely on a second Direct Connect in the same location for redundancy
B. Configure a Site-to-Site VPN as a backup, using BGP to failover from Direct Connect
C. Enable NAT Gateway failover to restore the on-premises link
D. Use VPC peering to the on-premises router as a backup path