All practice questions

1473 questions

Question 1221Question

An organization wants to establish a central, self-service portal where business departments can quickly provision pre-approved and standardized IT resources on AWS. The IT administrative team must define and manage version control of these services, specify which user roles can launch them, and enforce organizational compliance constraints. Which AWS service should the organization use to meet these requirements?

Show answer & explanation

Answer: AWS Service Catalog

Answer

AWS Service Catalog
AWS Service Catalog is designed exactly for this scenario. It allows administrators to create and manage portfolios of approved IT services (which can range from simple virtual machines to complex multi-tier applications) and make them available to users through a self-service portal. Administrators can enforce constraints, manage product versions, and assign access permissions to specific IAM users or groups.

Step-by-Step Solution

1
Analyze the business requirements
The requirements demand a central self-service portal, cataloging of pre-approved/standardized resources, version control, role-based access, and compliance enforcement.
Understanding the core operational needs helps filter out services that do not support curated catalogs.
2
Evaluate the capabilities of the correct service
AWS Service Catalog allows administrators to organize, govern, and provision IT services (products) in portfolios, applying constraints and role-based permissions.
This directly aligns with the need for standardizing resource deployment while giving users self-service access.
3
Differentiate from incorrect options
Identify that AWS CloudFormation is the underlying engine for templates but lacks the portal/portfolio governance wrapper; AWS Elastic Beanstalk is for application hosting; AWS Organizations is for multi-account governance.
Eliminating alternative services ensures that the selected service is the most accurate fit for a self-service product catalog.

Key Concept

AWS Service Catalog enables organizations to create, govern, and manage portfolios of approved IT services, providing self-service provisioning with administrative controls.
Question 1222Question

A logistics company is building a package tracking and analytics platform. The platform requires a transactional database to store real-time shipment status updates with relational schemas and SQL support. Additionally, the platform requires an analytical database to perform complex queries on years of historical delivery data for route optimization. Which TWO AWS services should the company select to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Amazon Relational Database Service (Amazon RDS); Amazon Redshift

Answer

Amazon Relational Database Service (Amazon RDS) and Amazon Redshift
Amazon Relational Database Service (Amazon RDS) is correct because it is a fully managed service that simplifies the setup, operation, and scaling of relational databases, which perfectly handles the SQL transactional requirements for tracking. Amazon Redshift is correct because it is a managed data warehouse optimized for complex analytics (OLAP) over historical records to support decision-making.

Step-by-Step Solution

1
Identify the transaction (OLTP) database requirement.
The tracking database requires relational schemas, SQL support, and ACID compliance, which points directly to Amazon Relational Database Service (Amazon RDS).
Relational databases are best suited for transactional systems requiring structured data integrity.
2
Identify the analytical (OLAP) database requirement.
The route optimization analytics require complex queries on years of historical delivery data, which points to Amazon Redshift.
Data warehouses are designed specifically to handle large-scale, complex analytical queries efficiently.

Key Concept

Purpose-built databases on AWS (OLTP relational vs. OLAP data warehousing)
Question 1223Question

A financial services company plans to host a 5-hour training workshop for its employees using Amazon EC2 instances. The instances must remain continuously online and cannot experience any interruptions during the workshop. Which Amazon EC2 pricing model is the most cost-effective choice for this scenario?

Show answer & explanation

Answer: On-Demand Instances

Answer

On-Demand Instances provide the most cost-effective solution because they allow the customer to pay for compute capacity by the hour or second with no long-term commitments, while guaranteeing that the instances will not be interrupted during the 5-hour training session.
On-Demand Instances allow users to pay for compute capacity by the hour or second with no long-term commitments or upfront payments. Since the training workshop only lasts 5 hours and cannot tolerate any interruptions, On-Demand Instances provide the necessary availability guarantee while minimizing costs.

Step-by-Step Solution

1
Analyze the workload requirements
The workload is short-term (5 hours) and requires uninterrupted availability (no interruptions allowed).
Identifying these key constraints helps eliminate pricing models that require long-term commitments or allow interruptions.
2
Evaluate the pricing options against the requirements
On-Demand Instances match the short-term and uninterrupted criteria perfectly. Spot Instances are ruled out due to potential interruptions. Reserved Instances and Savings Plans are ruled out due to the required 1- or 3-year commitments.
Comparing all available EC2 pricing models guarantees selecting the most cost-effective and functionally compliant option.

Key Concept

Amazon EC2 pricing models allow customers to optimize compute costs based on workload duration, predictability, and tolerance for interruption.
Question 1224Question

A municipal government office is deploying two new workloads on Amazon EC2:

1. A community information database that must run continuously 24/7 for the next three years.
2. A citizen survey application that will run for exactly five days to collect feedback and must not experience any interruptions.

Which of the following EC2 pricing options should the office select to minimize costs for these workloads? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Reserved Instances for the community information database; On-Demand Instances for the citizen survey application

Answer

To optimize costs and meet operational requirements, the municipal office should choose Reserved Instances for the three-year database workload and On-Demand Instances for the five-day survey application.
The community information database runs continuously for three years, making it ideal for the cost savings provided by Reserved Instances, which require a long-term commitment. The citizen survey application is a short-term workload that runs for only five days and must not be interrupted, making On-Demand Instances the most cost-effective and reliable choice because they require no commitment and guarantee instance availability.

Step-by-Step Solution

1
Evaluate the database workload requirements.
The database must run continuously 24/7 for three years, which represents a highly predictable, long-term steady-state workload.
Long-term predictable workloads are best optimized financially using commitment-based models such as Reserved Instances or Savings Plans.
2
Evaluate the citizen survey application requirements.
The application runs for exactly five days (short-term) and must not be interrupted.
Since the workload is short-term, a long-term commitment is wasteful. Because it cannot tolerate interruption, Spot Instances are ruled out, leaving On-Demand as the best fit.
3
Match the evaluations to the correct combination of options.
Reserved Instances are mapped to the database workload, and On-Demand Instances are mapped to the survey workload.
This combination ensures maximum discount for the long-running database while avoiding commitment waste and interruption risks for the short-term survey.

Key Concept

EC2 pricing models are designed for different workload characteristics: Reserved Instances offer discounts for long-term commitments, On-Demand provides flexibility and reliability for short-term workloads, and Spot offers steep discounts for flexible, interruptible workloads.
Question 1225Question

A company needs to run a daily data processing task that takes approximately 25 minutes to complete. The task requires a custom Linux environment with specific packages installed. The company wants to minimize operational overhead and only pay for the compute time used, without managing the underlying virtual servers. Which AWS compute service best meets these requirements?

Show answer & explanation

Answer: AWS Fargate

Answer

AWS Fargate is the most appropriate service because it provides serverless container execution for custom environments and supports tasks running longer than the 15-minute Lambda limit.
AWS Fargate is correct because it is a serverless compute engine for containers that allows packaged applications with specific custom dependencies to run without provisioning or managing virtual machines. Since it is serverless, there is no server management overhead, and billing is based on resource usage during the 25-minute execution. It is not subject to the 15-minute execution limit of other serverless options.

Step-by-Step Solution

1
Analyze the execution duration constraint.
The task runs for 25 minutes, which rules out AWS Lambda due to its 15-minute maximum execution timeout.
AWS Lambda cannot run functions for more than 15 minutes.
2
Evaluate administrative and management overhead.
Amazon EC2 and Amazon Lightsail require provisioning and managing operating systems (patching, scaling, etc.), which fails the requirement of minimizing operational overhead.
Serverless options are preferred to eliminate server management tasks.
3
Assess environment customization and serverless properties.
AWS Fargate runs containers (allowing custom Linux packaging) serverlessly, charging only for the running time of the container.
Fargate provides containerized serverless compute with no 15-minute execution limit.

Key Concept

Selecting appropriate AWS compute services based on runtime constraints, management overhead, and environment customization requirements.
Question 1226Question

A company wants to extend its on-premises file storage capacity to the AWS Cloud. The solution must allow local applications and users to access frequently used files with minimal latency by caching them locally, while automatically backing up all data to Amazon S3. Which AWS storage service best meets these requirements?

Show answer & explanation

Answer: AWS Storage Gateway

Answer

AWS Storage Gateway
AWS Storage Gateway is designed for hybrid cloud storage configurations. By deploying a local software appliance on-premises, it can cache frequently accessed data locally for low-latency access while durably storing all data in Amazon S3.

Step-by-Step Solution

1
Analyze the business requirements for storage location and performance.
The company requires a hybrid cloud solution that caches data on-premises for low-latency access while storing the primary copy in the cloud.
Identifying that the deployment is hybrid and needs local caching points to AWS Storage Gateway.
2
Evaluate the capabilities of the available AWS storage services against these requirements.
AWS Storage Gateway bridges on-premises environments with AWS cloud storage (S3) using local caching. EBS, EFS, and Snowball do not offer native on-premises caching.
Comparing service characteristics confirms that AWS Storage Gateway is the correct fit.

Key Concept

AWS Storage Gateway is a hybrid cloud storage service that gives you on-premises access to virtually unlimited cloud storage.
Estimated Time:1m 0s
Question 1227Question

An administrator wants to secure a web application hosted on Amazon EC2 instances. They need to implement a stateful firewall that controls traffic at the individual instance level, and a stateless firewall that controls traffic at the subnet boundary. Which two AWS features should the administrator configure to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Security groups; Network Access Control Lists (NACLs)

Answer

Security groups and Network Access Control Lists (NACLs)
Security groups act as a stateful firewall controlling traffic at the instance level, while Network Access Control Lists (NACLs) function as a stateless firewall operating at the boundary of the subnet. Together, they provide layered security for resources inside a VPC.

Step-by-Step Solution

1
Identify the requirement for instance-level traffic filtering.
Security groups operate at the instance level and act as a stateful firewall.
This satisfies the requirement for a stateful firewall at the individual instance level.
2
Identify the requirement for subnet-level traffic filtering.
Network Access Control Lists (NACLs) operate at the subnet level and act as a stateless firewall.
This satisfies the requirement for a stateless firewall at the subnet boundary.

Key Concept

AWS network security layers separating instance-level (Security Groups) and subnet-level (Network ACLs) controls.
Question 1228Question

An organization wants to host its database in a way that protects it from a localized disaster, such as a building-specific power outage, while maintaining low-latency replication between the primary database and the standby replica. According to AWS best practices, the primary and standby databases should be deployed in two different instances of which infrastructure component?

Show answer & explanation

Answer: Availability Zones

Answer

Availability Zones
Availability Zones are physically isolated collections of data centers within an AWS Region. They are designed to isolate failures (such as power outages or flooding) while remaining close enough to each other to be connected by low-latency fiber-optic networking, enabling synchronous data replication.

Step-by-Step Solution

1
Analyze the requirement for protection against localized disasters (such as building power outages) while maintaining low latency.
Identify that the solution requires physically isolated facilities located in close proximity.
Physical isolation ensures that a disaster affecting one facility does not affect the other, while close proximity maintains low network latency.
2
Evaluate the AWS Global Infrastructure components against these requirements.
Availability Zones consist of one or more discrete data centers with redundant power and networking, connected via low-latency links within a single region.
This matches the requirements for local disaster resilience and high performance.

Key Concept

AWS Availability Zones are designed for high availability and fault tolerance within a single geographic region by providing physically isolated data center locations connected with low-latency networking.
Estimated Time:45s
Question 1229Question

QuickBite, a food delivery startup, is planning to migrate its order processing and delivery tracking application from an on-premises data center to the AWS Cloud. The application experiences significant, predictable traffic surges during lunch and dinner hours, but remains mostly idle during the night. Which of the following are direct economic benefits that QuickBite will realize by transitioning to AWS? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: The transition from upfront capital expenses (CapEx) to variable operating expenses (OpEx) that align costs directly with demand.; Cost savings achieved by using elasticity to dynamically scale resources down during overnight low-traffic periods.

Answer

The transition from upfront capital expenses (CapEx) to variable operating expenses (OpEx) that align costs directly with demand, and cost savings achieved by using elasticity to dynamically scale resources down during overnight low-traffic periods.
The correct options are the transition from CapEx to OpEx and the cost savings from elasticity. Shifting to variable operating expenses allows the startup to pay only for active resources, avoiding large upfront capital expenses. Elasticity allows the application to scale down automatically during overnight low-traffic periods, minimizing cost when demand is low.

Step-by-Step Solution

1
Analyze the traffic pattern of the workload.
The application has highly variable but predictable demand, with spikes during meal hours and low usage at night.
Identifying demand variation helps apply the correct cost-optimization strategies.
2
Evaluate the cloud financial model.
AWS enables a shift from CapEx (upfront hardware costs) to OpEx (pay-as-you-go).
This shift is a primary economic benefit of the AWS Cloud.
3
Determine the impact of elasticity on cost.
Using elasticity to scale down compute resources when they are idle directly lowers the total cost of ownership (TCO).
Elasticity prevents the company from paying for unused idle capacity.

Key Concept

Cloud Economics: Shift from CapEx to OpEx and Cost Benefits of Elasticity
Estimated Time:1m 30s
Question 1230Question

An agricultural technology company is deploying two new workloads on Amazon EC2: a public website that must run continuously with predictable, steady-state traffic, and a batch data analysis task that can be paused and resumed at any time without impact. Which two AWS pricing models would provide the most cost-effective solution for these workloads? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Spot Instances for the data analysis task; Reserved Instances for the public website

Answer

The correct pricing models are Reserved Instances for the public website and Spot Instances for the data analysis task.
Reserved Instances are ideal for predictable, steady-state workloads because they offer a substantial discount compared to On-Demand pricing in exchange for a commitment. Spot Instances are ideal for flexible, interruptible workloads because they utilize spare AWS capacity at the lowest possible cost.

Step-by-Step Solution

1
Analyze the requirements for the public website workload.
The website requires continuous, predictable, and steady-state operation, pointing to Reserved Instances as the most cost-effective option.
Reserved Instances offer significant discounts for continuous workloads with a commitment.
2
Analyze the requirements for the batch data analysis task.
The batch task is flexible, can be paused/resumed, and does not require continuous uptime, pointing to Spot Instances as the most cost-effective option.
Spot Instances offer up to a 90% discount for interruptible, fault-tolerant workloads.

Key Concept

Selecting cost-effective Amazon EC2 pricing models based on workload requirements.
Question 1231Question

A financial services firm wants to deploy two distinct workloads to AWS. The first workload consists of short-lived, event-driven image rendering tasks that run for approximately 30 seconds after a user uploads a document. The second workload is a legacy SQL database that requires custom kernel patches and direct root access to configure specialized storage volumes. Which two of the following AWS compute services are the most appropriate to run these workloads? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: AWS Lambda for the image rendering tasks; Amazon Elastic Compute Cloud (Amazon EC2) for the legacy database

Answer

The correct compute choices are AWS Lambda for the short-lived image rendering tasks and Amazon Elastic Compute Cloud (Amazon EC2) for the legacy database workload.
AWS Lambda is ideal for event-driven, short-lived tasks like the image rendering workload because it is serverless and executes code only when triggered. Amazon EC2 is the correct choice for the legacy database because it provides full administrative control over the operating system, allowing the installation of custom kernel patches and specialized configurations.

Step-by-Step Solution

1
Analyze the requirements for the first workload.
The first workload requires short-lived (30 seconds), event-driven execution with zero server administration.
This aligns perfectly with serverless event-driven computing (AWS Lambda).
2
Analyze the requirements for the second workload.
The second workload requires direct root-level operating system access and custom kernel patching.
This requires infrastructure-as-a-service (IaaS), which gives full administrative control (Amazon EC2).

Key Concept

Matching specific workload requirements (event-driven vs. administrative control) to the appropriate AWS compute service.
Question 1232Question

A software company is building a collaborative development environment on AWS. The architecture requires:
1. A shared directory structure accessible by multiple Amazon EC2 developer instances concurrently across multiple Availability Zones with standard file system semantics.
2. High-performance, persistent block storage dedicated to a database instance running on a single EC2 instance, where data must survive instance stop and start cycles.

Which TWO AWS storage services should the company select to meet these requirements? (Select TWO).

Select all that apply

Show answer & explanation

Answer: Amazon Elastic File System (Amazon EFS); Amazon Elastic Block Store (Amazon EBS)

Answer

Amazon Elastic File System (Amazon EFS) and Amazon Elastic Block Store (Amazon EBS)
Amazon Elastic File System (Amazon EFS) is correct because it offers a fully managed, shared file system that can be accessed by multiple EC2 instances simultaneously across different Availability Zones. Amazon Elastic Block Store (Amazon EBS) is correct because it provides persistent, block-level storage volumes for a single EC2 instance that retains data even when the instance is stopped.

Step-by-Step Solution

1
Analyze the first requirement for shared file access across multiple AZs.
Amazon Elastic File System (Amazon EFS) is selected because it supports concurrent connections from multiple EC2 instances across multiple Availability Zones using the NFS protocol.
EFS is the primary native AWS service that matches multi-instance shared file system needs.
2
Analyze the second requirement for persistent, high-performance database block storage.
Amazon Elastic Block Store (Amazon EBS) is selected because it provides block-level storage volumes that persist data even when the associated EC2 instance is stopped or started.
EBS volumes provide the required low-latency block storage for database workloads and decouple data persistence from the EC2 instance lifespan.

Key Concept

Distinguishing access patterns, persistence, and performance characteristics between AWS storage options like Amazon EFS (shared file system), Amazon EBS (persistent block storage), Amazon EC2 Instance Store (ephemeral block storage), and Amazon S3 Glacier (archival object storage).
Question 1233Question

An online media company is launching a live voting application for a popular television show. The application must handle sudden, massive spikes of hundreds of thousands of concurrent users submitting simple vote data (user ID, option selected, and timestamp). The storage solution must offer low-latency, single-digit millisecond write operations and scale automatically without manual intervention or complex relational features. Which AWS database service should the company choose to store the votes?

Show answer & explanation

Answer: Amazon DynamoDB

Answer

Amazon DynamoDB
Amazon DynamoDB is the correct choice because it is a fully managed NoSQL database designed for fast, single-digit millisecond latency at any scale. It handles high-volume key-value write traffic and scales partition resources automatically in response to sudden workload spikes, making it ideal for live, high-concurrency voting applications.

Step-by-Step Solution

1
Analyze the workload requirements: high write throughput, low latency (single-digit milliseconds), automatic scalability, and a simple non-relational key-value data structure.
Identify that the workload matches NoSQL key-value storage requirements rather than relational or analytical structures.
Relational databases require schema definitions and scale less efficiently under sudden write spikes for simple flat data compared to key-value stores.
2
Evaluate AWS database services against the requirements.
Amazon DynamoDB is a serverless NoSQL database designed exactly for high-concurrency, low-latency, and auto-scaling key-value storage.
DynamoDB scales up and down automatically to handle traffic spikes, whereas RDS requires instance provisioning and Redshift is built for data warehousing.

Key Concept

Selecting the appropriate AWS database service based on workload requirements (NoSQL vs. Relational vs. Data Warehousing).
Estimated Time:1m 0s
Question 1234Question

An education technology startup is setting up its AWS environment for the upcoming school year. They have two specific requirements for their Amazon EC2 instances:

1. Running experimental, short-lived development sandboxes for a few hours at a time, where they want to pay only for what they use with no upfront commitment.
2. Running a daily data analysis job that processes non-critical student feedback logs. This job can be paused and restarted at any time without data loss if capacity is reclaimed.

Which of the following Amazon EC2 pricing models are the most cost-effective options for these workloads? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: On-Demand Instances; Spot Instances

Answer

On-Demand Instances and Spot Instances
The correct options are On-Demand Instances and Spot Instances. On-Demand Instances allow paying for compute capacity by the hour or second with no long-term commitment, making them ideal for short-lived development sandboxes. Spot Instances allow using spare EC2 capacity at steep discounts, which is highly cost-effective for non-critical, fault-tolerant batch analysis that can tolerate interruptions.

Step-by-Step Solution

1
Analyze the first requirement regarding experimental, short-lived development sandboxes running for a few hours with no upfront commitment.
Identify On-Demand Instances as the best match, as they offer pay-as-you-go pricing with no long-term contracts.
Development environments are typically irregular, and paying only when the instances are running saves money without locking the startup into a contract.
2
Analyze the second requirement for a daily data analysis job processing non-critical feedback logs that can be interrupted and resumed.
Identify Spot Instances as the best match because they offer the lowest price for workloads that are fault-tolerant.
Since the feedback log processing is non-critical and can be paused, using Spot Instances takes advantage of spare capacity at up to a 90% discount.

Key Concept

Selecting cost-effective EC2 pricing models based on workload stability, duration, and fault tolerance.
Estimated Time:1m 0s
Question 1235Question

A software development team is planning to implement DevOps best practices on AWS. They need to select two services: one to host secure, highly scalable private Git repositories, and another to automate and orchestrate their continuous integration and continuous delivery (CI/CD) pipelines. Which of the following AWS services should the team select to meet these requirements? (Select TWO)

Select all that apply

Show answer & explanation

Answer: AWS CodeCommit; AWS CodePipeline

Answer

AWS CodeCommit and AWS CodePipeline
AWS CodeCommit is a fully managed source control service that allows teams to host secure, highly scalable private Git repositories. AWS CodePipeline is a continuous delivery service that automates and orchestrates the release phases (such as building, testing, and deploying code changes). Together, they satisfy the requirements for private code repositories and CI/CD pipeline orchestration.

Step-by-Step Solution

1
Identify the requirement for hosting private Git repositories.
AWS CodeCommit is selected as it is the managed source control service on AWS that hosts Git-based repositories.
The scenario specifically requests a secure, private repository service using Git.
2
Identify the requirement for automating and orchestrating release pipelines (CI/CD).
AWS CodePipeline is selected as it is the service designed to automate release stages (build, test, deploy).
The scenario asks to model and automate continuous integration and continuous delivery workflows.
3
Evaluate and eliminate incorrect options based on their actual use cases.
AWS CloudFormation, AWS Elastic Beanstalk, and AWS CloudTrail are eliminated.
AWS CloudFormation and AWS Elastic Beanstalk are provisioning and deployment hosting platforms rather than source control or workflow orchestration tools. AWS CloudTrail is an auditing tool.

Key Concept

AWS Developer Tools for source control hosting and pipeline orchestration
Question 1236Question

A media company is planning the architecture for a new real-time video editing application. The application requires single-digit millisecond latency for users located in a metropolitan area that does not have an AWS Region. Additionally, static assets must be cached globally to reduce download times for viewers.

Which of the following AWS global infrastructure components should be used to support these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: AWS Local Zones; AWS Edge Locations

Answer

AWS Local Zones and AWS Edge Locations
AWS Local Zones allow developers to run latency-sensitive applications close to end-users in metropolitan areas that do not have an AWS Region. AWS Edge Locations are endpoints used by Amazon CloudFront to cache content globally, ensuring that static assets are delivered to viewers with low latency.

Step-by-Step Solution

1
Analyze the requirement for running latency-sensitive parts of the application close to users in a metropolitan area without an AWS Region.
Identify that AWS Local Zones place compute, storage, database, and other select AWS services closer to end-users, allowing single-digit millisecond latency workloads to run in metropolitan areas that do not have an AWS Region.
AWS Local Zones extend existing Regions close to metropolitan areas to serve low-latency needs.
2
Analyze the requirement for caching static media assets globally to reduce download times.
Identify that AWS Edge Locations are used by Amazon CloudFront (AWS's Content Delivery Network) to cache static media files closer to users globally.
Edge Locations act as global caching endpoints that deliver content with minimal latency.

Key Concept

AWS Global Infrastructure components, specifically the roles of Local Zones for low-latency compute and Edge Locations for global content caching.
Question 1237Question

NovaRetail, a regional supermarket chain, is evaluating the migration of its inventory database to AWS. The company's financial team is analyzing the cost differences between maintaining physical servers in their own facility and running virtual servers in the cloud. By moving to AWS, the company will eliminate costs associated with purchasing hardware, securing physical space, and maintaining data center power and cooling. Which of the following represents the primary economic shift that NovaRetail will experience?

Show answer & explanation

Answer: A shift from upfront capital expenses (CapEx) to variable operating expenses (OpEx), allowing the company to pay only for resources consumed.

Answer

The shift from upfront capital expenses (CapEx) to variable operating expenses (OpEx), allowing the company to pay only for resources consumed.
The correct answer is the shift from upfront capital expenses (CapEx) to variable operating expenses (OpEx). Moving to AWS eliminates the need to invest heavily in physical servers, data centers, cooling, and maintenance upfront (CapEx). Instead, the organization pays for resources as they are consumed, classifying them as ongoing operational expenses (OpEx).

Step-by-Step Solution

1
Analyze the current on-premises cost structure of the supermarket chain.
The current model requires significant upfront investments in physical servers, real estate, and utility maintenance, which are classified as Capital Expenses (CapEx).
Establishing the financial baseline of on-premises operations is necessary to determine the shift.
2
Determine the financial classification of the cloud consumption model.
AWS operates on a utility pricing model where resources are paid for as they are used, representing Operating Expenses (OpEx).
Understanding how cloud consumption is billed enables comparison with traditional capital investments.
3
Identify the primary economic transition resulting from the database migration.
NovaRetail shifts from paying upfront CapEx for hardware to paying ongoing, variable OpEx for the cloud services they consume.
Eliminating physical facility upkeep and hardware procurement shifts the organization's cost structure to a variable operational model.

Key Concept

The shift from Capital Expenditures (CapEx) to Operational Expenditures (OpEx) in cloud economics.
Question 1238Question

A company needs to host a legacy application that requires custom operating system configurations and administrative access to install proprietary kernel-level patches. The application must run continuously. Which AWS compute service is the most appropriate for this workload?

Show answer & explanation

Answer: Amazon Elastic Compute Cloud (Amazon EC2)

Answer

Amazon Elastic Compute Cloud (Amazon EC2) is the most appropriate service because it provides full administrative (root) access to the guest operating system, enabling the installation of custom kernel patches and configuration of legacy workloads that must run continuously.
Amazon Elastic Compute Cloud (Amazon EC2) is correct because it is an Infrastructure as a Service (IaaS) offering that gives customers complete administrative (root) control over the virtual machine's operating system, allowing custom kernel patching, specific OS configurations, and continuous runtime.

Step-by-Step Solution

1
Analyze the workload requirements
The application requires custom operating system configurations, administrative (root) access for kernel-level patching, and continuous execution.
This helps narrow down compute services based on the level of operational control and responsibility.
2
Evaluate the management models of AWS compute services
Serverless options (AWS Lambda and AWS Fargate) delegate operating system management to AWS, offering no OS access. Platform-as-a-Service (AWS Elastic Beanstalk) abstracts infrastructure management. Only Infrastructure-as-a-Service (Amazon EC2) provides complete OS-level control.
To match the administrative requirements with the correct AWS Shared Responsibility Model boundary for compute services.

Key Concept

AWS Compute Services - Levels of Control and Shared Responsibility
Question 1239Question

A company needs to host a production web application on Amazon EC2 that experiences sudden, unpredictable spikes in traffic. The application must remain continuously available, and the company wants to avoid any long-term contracts or upfront payments. Which Amazon EC2 pricing model should the company use for this workload?

Show answer & explanation

Answer: On-Demand Instances

Answer

On-Demand Instances
On-Demand Instances are the correct choice because they offer maximum flexibility without any long-term contract, upfront payment, or risk of interruption. This matches the requirements of a production web application with unpredictable spikes that must remain continuously online.

Step-by-Step Solution

1
Analyze the workload requirements: the application has unpredictable traffic spikes, must remain continuously available (no interruptions), and the customer wants to avoid long-term contracts or commitments.
Identified that Spot Instances are ruled out due to potential interruptions, and Reserved Instances or Savings Plans are ruled out due to the long-term commitment requirement.
We must match the specific workload characteristics to the appropriate AWS pricing model constraints.
2
Identify the EC2 pricing model that offers no commitment, continuous availability, and accommodates unpredictable traffic spikes.
On-Demand Instances fit these criteria perfectly, allowing the user to pay only for the compute capacity consumed with no upfront costs.
On-Demand pricing is designed for flexible, short-term, or unpredictable workloads that cannot be interrupted.

Key Concept

Selecting the appropriate Amazon EC2 pricing model based on workload characteristics (predictability, duration, and fault tolerance).
Estimated Time:45s
Question 1240Question

A retail company is launching a new e-commerce platform on AWS. The company has two key requirements:
1. It must cache popular product images and media files closer to users worldwide to reduce latency.
2. It must deploy its database instances across multiple isolated locations within a geographic area to protect against a single data center outage.

Which of the following AWS infrastructure components should the company use to meet these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: AWS Edge Locations; Availability Zones

Answer

AWS Edge Locations and Availability Zones
AWS Edge Locations cache media files and product images near users worldwide to lower latency. Availability Zones are isolated locations within a geographic Region, allowing databases to be deployed in a highly available configuration that survives the failure of a single data center facility.

Step-by-Step Solution

1
Analyze the first requirement for global low-latency content delivery.
Identify AWS Edge Locations as the correct global infrastructure component that caches static files closer to users worldwide.
AWS Edge Locations are the endpoints used by Amazon CloudFront to distribute content globally with low latency.
2
Analyze the second requirement for highly available databases within a geographic area to survive data center outages.
Identify Availability Zones as the correct global infrastructure component.
Availability Zones are physically separated and isolated locations within an AWS Region, connected via low-latency links, making them ideal for high availability.

Key Concept

AWS Global Infrastructure Components
PreviousPage 62 / 74Next
All practice questions — AWS Certified Cloud Practitioner | Examkin