All practice questions

1473 questions

Question 661Question

A digital media agency runs containerized video rendering workloads on AWS. The workloads are highly unpredictable, with sudden bursts of activity when client campaigns launch. To optimize costs and efficiency, the agency utilizes Amazon Elastic Container Service (Amazon ECS) on AWS Fargate to automatically run containers only when rendering tasks are in the queue, shut them down immediately after completion, and avoid managing any underlying virtual machines.

Which AWS Cloud design principles are demonstrated by this architecture? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Services, not servers; Disposable resources

Answer

The architecture demonstrates the principles of 'Services, not servers' and 'Disposable resources'. By utilizing AWS Fargate, the company does not manage the underlying virtual servers, and by spinning containers up and down on demand, they treat compute resources as disposable assets rather than static systems.
The correct principles are using services, not servers, and treating resources as disposable. By deploying AWS Fargate, a serverless container execution engine, the agency does not have to manage underlying servers, directly applying the services, not servers principle. Additionally, running containers dynamically on demand and terminating them immediately when the job is done demonstrates the principle of disposable resources, where resources are treated as temporary rather than permanent.

Step-by-Step Solution

1
Analyze the technical requirements of the scenario.
The agency runs containerized rendering tasks on AWS Fargate on demand and shuts them down when finished, without managing virtual servers.
Understanding the actions taken helps identify which cloud design practices are in use.
2
Map the elimination of server management to AWS design principles.
Avoiding the management of underlying virtual machines by utilizing AWS Fargate maps to the 'Services, not servers' principle.
AWS Fargate is a serverless container engine that removes the operational burden of server maintenance.
3
Map the dynamic creation and termination of containers to AWS design principles.
Automatically running containers only when tasks exist and shutting them down immediately after completion maps to the 'Disposable resources' principle.
In the cloud, resources are treated as temporary assets (disposable) rather than fixed physical infrastructure.

Key Concept

AWS Cloud design principles recommend using managed and serverless services to reduce operational overhead (services, not servers) and treating compute resources as temporary, dynamic assets (disposable resources).
Estimated Time:1m 30s
Question 662Question

A travel booking platform is deploying a new application on AWS. To secure customer reservation records, the platform needs to encrypt data at rest within its storage services. The security team wants to use a fully managed service that creates and controls the cryptographic keys, rather than renting dedicated, single-tenant cryptographic hardware. Which AWS service is designed to meet this requirement?

Show answer & explanation

Answer: AWS Key Management Service (AWS KMS)

Answer

AWS Key Management Service (AWS KMS)
AWS Key Management Service (AWS KMS) is a fully managed, multi-tenant service that allows customers to easily create, manage, and control cryptographic keys. Because it is a multi-tenant service, the underlying hardware security modules are shared, making it the correct match for the scenario's requirements.

Step-by-Step Solution

1
Identify the key requirements in the scenario: encrypting data at rest using a fully managed, multi-tenant service without dedicated hardware.
The target service must handle key generation and administration under a shared multi-tenant model.
This helps differentiate between shared multi-tenant key management and dedicated single-tenant hardware security modules.
2
Select the service that manages cryptographic keys in a multi-tenant configuration.
AWS Key Management Service (AWS KMS) fits this description, whereas AWS CloudHSM provides dedicated single-tenant HSMs.
This aligns the service architecture with the company's preferences.

Key Concept

AWS Key Management Service (AWS KMS) provides fully managed, multi-tenant cryptographic key management for encrypting data at rest.
Question 663Question

An enterprise is planning to migrate several diverse applications to AWS and needs to select the most appropriate compute option for each workload based on administrative control, management overhead, and pricing structures. Match each operational requirement or compute profile to the corresponding AWS compute service.

Click a left item, then click its matching right item

Items

Requires full administrative access (root/administrator) to the underlying operating system to install proprietary kernel modules and perform low-level OS customizations.
Requires running containerized microservices in a serverless model where resources are configured at the task level without provisioning or managing virtual machine instances.
Requires rapid deployment of web applications where the developer only uploads code, and the platform automatically handles provisioning, load balancing, and auto-scaling while retaining access to the underlying resources.
Requires hosting a basic workload with a predictable monthly cost using a simplified, pre-configured bundle of compute, SSD storage, data transfer, and static IP addresses.

Matches

Show answer & explanation

Answer

The operational requirement requiring full administrative access to the operating system matches Amazon Elastic Compute Cloud (Amazon EC2). The requirement to run containerized microservices in a serverless model matches AWS Fargate. The requirement to deploy web applications by uploading code with automatic provisioning and scaling matches AWS Elastic Beanstalk. The requirement to host basic workloads with a predictable monthly cost using pre-configured bundles matches Amazon Lightsail.
The correct matches align each compute service with its management responsibility and pricing characteristics: Amazon EC2 is matched with the need for full administrative OS access; AWS Fargate is matched with serverless container hosting; AWS Elastic Beanstalk is matched with rapid web application deployment from code; and Amazon Lightsail is matched with simplified, predictable, flat-rate hosting.

Step-by-Step Solution

1
Analyze the operational requirements for the first profile, which demands full administrative (root) access and OS kernel-level modifications.
Identify Amazon Elastic Compute Cloud (Amazon EC2) as the correct match, since it provides complete administrative control over the virtual server's operating system, unlike serverless or fully managed options.
To install custom kernel modules, the user must have root/admin operating system access, which is a core capability of Amazon EC2.
2
Evaluate the second profile, which requires running containerized applications without provisioning or managing underlying virtual machine infrastructure.
Identify AWS Fargate as the correct match, as it is a serverless compute engine for containers that removes the need to manage EC2 instances.
AWS Fargate allows containerized workloads to run in a serverless fashion, billing based on requested CPU and memory resources at the container level.
3
Analyze the third profile, which seeks a service that deploys code directly with automatic scaling and load balancing, while retaining access to the underlying infrastructure.
Identify AWS Elastic Beanstalk as the correct match, since it automates infrastructure provisioning for code deployments while keeping the resources visible and configurable.
AWS Elastic Beanstalk is a Platform-as-a-Service (PaaS) that handles deployment details automatically while allowing users to inspect and manage the underlying resources.
4
Analyze the fourth profile, which requires hosting basic applications with flat-rate, predictable pricing in an all-in-one bundle.
Identify Amazon Lightsail as the correct match, as it is designed for simple workloads requiring predictable monthly costs and bundled resources.
Amazon Lightsail bundles compute, storage, database, and networking capabilities into single, fixed-price plans, making it ideal for simple applications like blogs.

Key Concept

AWS Compute Services Management Models
Question 664Question

A regional retail bakery chain is migrating its point-of-sale inventory system to AWS. By moving to the cloud, the bakery avoids purchasing expensive on-premises hardware upfront and instead pays a monthly bill based on actual resource consumption. Which economic transition does this scenario demonstrate?

Show answer & explanation

Answer: Replacing upfront capital expenditures with variable operational expenses

Answer

Replacing upfront capital expenditures with variable operational expenses
Moving to the cloud allows the business to replace capital expenditures (CapEx) for physical servers with variable operational expenses (OpEx) paid monthly.

Step-by-Step Solution

1
Identify the financial model of the on-premises setup described in the scenario.
Purchasing physical hardware upfront is classified as a capital expenditure (CapEx).
Capital expenditures are upfront investments in physical assets.
2
Identify the financial model of the AWS Cloud setup described in the scenario.
Paying a monthly bill based on actual consumption is classified as a variable operational expense (OpEx).
Operational expenses are day-to-day costs of running a business.
3
Combine these definitions to identify the correct transition.
The transition is from CapEx (upfront hardware cost) to OpEx (monthly pay-as-you-go cost).
This represents replacing upfront capital expenditures with variable operational expenses.

Key Concept

Understanding CapEx versus OpEx in cloud economics
Question 665Question

An administrator needs to configure a network access control list (network ACL) to allow inbound traffic on a specific port to a subnet. Which of the following actions is also required to allow response traffic back to the client?

Show answer & explanation

Answer: Add a corresponding outbound rule in the network ACL to allow the return traffic.

Answer

Add a corresponding outbound rule in the network ACL to allow the return traffic.
Network ACLs operate at the subnet level and are stateless. This means they do not keep track of session states. If you define a rule to allow inbound traffic, you must also define a corresponding rule to allow the outbound response traffic back to the client.

Step-by-Step Solution

1
Identify the security control being configured.
The control is a Network Access Control List (network ACL) operating at the subnet boundary.
Determining the security control type helps identify whether the rule evaluation is stateful or stateless.
2
Apply the stateless rule logic of Network ACLs.
Since Network ACLs are stateless, allowing inbound traffic on a port does not automatically allow outbound responses on that port.
Stateless firewalls evaluate traffic in each direction independently.
3
Define the missing configuration required for communication.
An outbound rule allowing response traffic back to the client must be added to the network ACL.
Both inbound and outbound rules are necessary to enable complete two-way network communications.

Key Concept

Network ACLs are stateless security controls that evaluate inbound and outbound traffic independently, requiring manual rule configuration in both directions.
Question 666Question

Horizon Media Group plans to migrate its legacy on-premises content management system (CMS). To reduce operational overhead, the company decides to decommission the self-managed system and transition to a commercial third-party CMS subscription delivered as a Software-as-a-Service (SaaS) application. Which migration strategy is Horizon Media Group using for this transition?

Show answer & explanation

Answer: Repurchasing

Answer

Repurchasing
The correct strategy is Repurchasing. This strategy (also known as 'drop and shop') involves abandoning the existing legacy application and purchasing a license or subscription for a new product, commonly a Software-as-a-Service (SaaS) solution, to replace the old application.

Step-by-Step Solution

1
Analyze the migration scenario details.
The company is decommissioning its legacy on-premises CMS and transitioning to a commercial third-party CMS subscription delivered as Software-as-a-Service (SaaS).
To identify which of the 6 Rs migration strategies is being applied.
2
Compare the scenario against the definition of the 6 Rs migration strategies.
Decommissioning an application and replacing it with a SaaS subscription is the definition of Repurchasing.
To select the correct strategy and rule out other strategies like Rehosting, Replatforming, and Refactoring.

Key Concept

Repurchasing (Drop and Shop) Migration Strategy
Estimated Time:1m 0s
Question 667Question

A financial services firm is designing a high-frequency trading platform on AWS. The system must meet two major requirements: it must provide single-digit millisecond latency to an on-premises trading environment in a metropolitan area where no AWS Region exists, and it must replicate transaction logs to a geographically isolated recovery site located more than 250 miles away to satisfy disaster recovery regulations.

Which TWO of the following AWS infrastructure components or deployment models should the firm choose to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Deploying latency-sensitive application components in an AWS Local Zone located in the metropolitan area.; Replicating transaction logs to an AWS Region located at least 250 miles away from the primary site.

Answer

The firm should deploy the latency-sensitive components in an AWS Local Zone in the metropolitan area and replicate transaction logs to a different AWS Region located at least 250 miles away.
AWS Local Zones extend AWS infrastructure into metropolitan areas, providing the necessary single-digit millisecond latency to on-premises systems without requiring a full Region. To meet the disaster recovery requirement of 250+ miles of separation, replication must cross between distinct AWS Regions, as Availability Zones within a single Region are located in the same geographic area for low-latency clustering.

Step-by-Step Solution

1
Analyze the latency constraint of single-digit milliseconds in a metropolitan area lacking an AWS Region.
Identify that AWS Local Zones are specifically designed to bring select AWS services (like compute and storage) closer to metropolitan centers, providing single-digit millisecond latencies to local systems.
This establishes the best deployment model for the high-frequency trading workloads.
2
Analyze the disaster recovery constraint requiring geographic separation of more than 250 miles.
Determine that replication across separate AWS Regions is required, since multiple Availability Zones within the same Region are clustered in the same general geographic area.
This ensures the regulatory requirement for remote geographic isolation is met.
3
Evaluate the remaining options to ensure they do not meet the criteria.
Confirm that Edge Locations do not run high-performance compute workloads and do not host AWS Outposts, and that single-region Availability Zones do not satisfy the 250-mile distance requirement.
This eliminates incorrect options and verifies the final answer.

Key Concept

AWS Regions vs. Availability Zones vs. Local Zones and Edge Locations
Estimated Time:3m 0s
Question 668Question

A business analyst needs to perform a one-time task of creating an Amazon Simple Storage Service (Amazon S3) bucket and uploading a few report files. The analyst does not have programming experience and wants to use a graphical, browser-based interface to complete this task. Which of the following tools should the analyst use?

Show answer & explanation

Answer: AWS Management Console

Answer

AWS Management Console
The AWS Management Console provides a web-based graphical user interface that allows users to manage and access their AWS resources visually. This is ideal for non-technical users or simple one-time tasks such as manually creating an S3 bucket and uploading files, as it requires no command-line tools or programming experience.

Step-by-Step Solution

1
Identify the user requirements in the scenario.
The user wants a graphical, browser-based interface to perform a one-time manual task without writing code.
This filters out command-line, code-based, and template-based tools.
2
Evaluate the available AWS operating methods against these requirements.
The AWS Management Console matches the requirement for a web-based, graphical interface, whereas AWS CLI uses command lines, AWS SDK uses programming code, and AWS CloudFormation uses templates.
Choosing the correct tool based on usability and coding requirements.

Key Concept

Methods of interacting with AWS services (Console, CLI, SDK, and CloudFormation)
Estimated Time:45s
Question 669Question

A biotechnology firm is preparing for an audit to verify compliance with international security standards. The compliance team needs to obtain AWS security reports and establish which security controls are the direct responsibility of the cloud provider. Which TWO actions should the company take to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Retrieve the AWS ISO 27001 certification report directly from AWS Artifact to submit to external auditors.; Confirm that AWS maintains the physical security of the data centers hosting the services under the AWS Shared Responsibility Model.

Answer

Retrieve the AWS ISO 27001 certification report directly from AWS Artifact and confirm that AWS maintains the physical security of the data centers hosting the services under the AWS Shared Responsibility Model.
AWS Artifact provides on-demand access to AWS's security and compliance reports (such as the ISO 27001 certification) to share with auditors. Under the AWS Shared Responsibility Model, AWS is responsible for security 'of' the cloud, which includes the physical security of data centers and the underlying infrastructure.

Step-by-Step Solution

1
Determine the source for AWS compliance documentation.
Identify AWS Artifact as the self-service portal where customers can download AWS compliance documents, including SOC and ISO reports.
Auditors require official documentation of AWS's infrastructure compliance.
2
Apply the AWS Shared Responsibility Model to identify boundary responsibilities.
Verify that security 'of' the cloud, such as physical data center security and host virtualization software security, is AWS's responsibility.
This establishes which controls the customer does not need to implement or manage themselves.

Key Concept

Compliance and Governance in AWS
Question 670Question

A cloud practitioner is designing a database subnet within an Amazon VPC and needs to apply a firewall rule set at the subnet boundary. The configuration must be stateless, requiring both inbound and outbound traffic rules to be explicitly defined. Which AWS service or feature should be implemented to meet this requirement?

Show answer & explanation

Answer: Network Access Control Lists (Network ACLs)

Answer

Network Access Control Lists (Network ACLs)
Network Access Control Lists (Network ACLs) act as a stateless firewall at the subnet boundary. Because they are stateless, any allowed inbound traffic must also have a corresponding outbound rule to allow return traffic (and vice versa).

Step-by-Step Solution

1
Analyze the security boundary requirement.
The requirement specifies applying traffic filtering rules at the subnet boundary, which points to a subnet-level control.
This narrows the choices down to subnet-level features rather than instance-level features.
2
Evaluate the statefulness requirement.
The requirement specifies that the firewall must be stateless, meaning that both inbound and outbound rules must be explicitly allowed.
Network Access Control Lists (Network ACLs) are stateless subnet-level firewalls, whereas Security Groups are stateful instance-level firewalls.

Key Concept

Understanding the stateless and subnet-level characteristics of Network Access Control Lists (Network ACLs)
Estimated Time:45s
Question 671Question

A developer wants to run a background script that automatically resizes photos whenever they are uploaded to an Amazon S3 bucket. The script executes in less than ten seconds and does not run continuously. The developer wants to avoid provisioning or managing any virtual machines. Which AWS compute service should be used to meet these requirements?

Show answer & explanation

Answer: AWS Lambda

Answer

AWS Lambda
AWS Lambda is a serverless compute service that runs code in response to events, such as an object upload to an Amazon S3 bucket. It automatically runs and scales the code, billing only for the exact compute time consumed (milliseconds), and requires no virtual machine provisioning or operating system maintenance.

Step-by-Step Solution

1
Analyze the requirements from the scenario.
The solution must support short-lived (under 10 seconds), event-driven execution (triggered by S3 uploads) without the need to manage or provision virtual machines.
This establishes the constraints and filters out services that require manual virtual machine provisioning or management.
2
Match the requirements to the correct AWS compute service model.
AWS Lambda allows uploading code that runs only when triggered by events, scaling automatically without server management. Other services like Amazon EC2 and Amazon Lightsail require running virtual servers, and AWS Fargate is meant for running entire containerized applications rather than single scripts.
Evaluating all options identifies the most cost-effective and operationally simple compute service.

Key Concept

AWS Lambda is a serverless compute service designed to run code in response to triggers and events without provisioning or managing servers.
Question 672Question

A company wants to allow its on-premises employees to access the AWS Management Console using their existing corporate directory credentials instead of creating individual IAM users. Which of the following are required to configure this federated access? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Create an IAM Identity Provider (IdP) in the AWS account to establish trust with the corporate directory.; Create an IAM role that defines the permissions for the federated users.

Answer

To configure federated access, you must create an IAM Identity Provider to establish trust with the corporate directory and create an IAM role that defines the permissions the federated users will assume.
Configuring federated access requires establishing trust between AWS and the corporate directory, which is accomplished by creating an Identity Provider (IdP) in IAM. Additionally, an IAM role must be created to define the exact permissions for these federated users when they log in to the console.

Step-by-Step Solution

1
Identify the authentication and access mechanism for external users.
Avoid creating individual IAM users by relying on identity federation.
This allows centralized credential management and single sign-on (SSO) capabilities.
2
Establish trust and permissions within IAM.
Configure an Identity Provider (IdP) in IAM to trust the corporate directory and map external users to a designated IAM role.
This enables federated users to receive temporary, permission-controlled credentials upon authentication.

Key Concept

Identity federation in AWS IAM allows external identities to obtain temporary security credentials to access AWS resources without needing permanent IAM users.
Question 673Question

A media company is migrating its video-on-demand platform to AWS. The security team needs to implement a logging and security monitoring solution that meets two requirements:

1. It must record, continuously monitor, and retain a history of all API calls and user actions within the AWS account for compliance auditing.
2. It must provide continuous, intelligent threat detection and anomaly monitoring to identify potential malicious activity, such as brute-force attacks or compromised credentials.

Which AWS services should the company implement to satisfy these security requirements? (Select two.)

Select all that apply

Show answer & explanation

Answer: AWS CloudTrail; Amazon GuardDuty

Answer

The correct services are AWS CloudTrail and Amazon GuardDuty.
AWS CloudTrail is correct because it monitors and logs account activity, including actions taken through the AWS Management Console, SDKs, and command line tools, which satisfies the compliance auditing requirement. Amazon GuardDuty is correct because it is a threat detection service that continuously monitors for malicious activity and unauthorized behavior using machine learning and anomaly detection.

Step-by-Step Solution

1
Identify the service required to record and audit API calls and user activity.
AWS CloudTrail is identified as the service designed to track and log all API activity and user actions across the AWS account.
AWS CloudTrail records API history, enabling operational auditing, security analysis, and compliance tracking.
2
Identify the service required for continuous, intelligent threat detection and anomaly monitoring.
Amazon GuardDuty is identified as the intelligent threat detection service that analyzes logs to detect malicious activity.
Amazon GuardDuty uses machine learning and threat intelligence to detect threats like compromised credentials or malicious communications.

Key Concept

Differentiating between AWS security monitoring services (Amazon GuardDuty and AWS CloudTrail) and other operational or security services (Amazon Inspector, Amazon CloudWatch, and AWS KMS).
Question 674Question

A startup is launching a proof-of-concept marketing website. The startup has a strict monthly budget of $10 and wants to avoid unexpected charges from traffic spikes. The website requires a simple virtual server, SSD storage, and basic networking components like a static IP and DNS management. The team has minimal AWS expertise and wants to avoid the complexity of manually configuring Virtual Private Clouds (VPCs), security groups, and storage volume attachments. Which AWS compute service should the startup select?

Show answer & explanation

Answer: Amazon Lightsail

Answer

Amazon Lightsail
Amazon Lightsail is designed specifically for simple workloads, providing virtual private servers (instances), SSD-based storage, data transfer, static IPs, and DNS management bundled together for a low, predictable monthly price. This eliminates the overhead of managing VPCs, security groups, and volume attachments, making it the most cost-effective and operationally simple choice for a team with minimal AWS expertise.

Step-by-Step Solution

1
Identify the key business requirements and constraints.
The requirements are a virtual server, local SSD storage, basic networking (static IP and DNS), minimal configuration complexity (avoiding manual VPC setup), and a predictable flat monthly rate under $10.
This establishes the criteria needed to evaluate and filter the AWS compute services.
2
Evaluate the AWS compute services against the configuration complexity and cost predictability constraints.
Amazon Lightsail provides pre-configured VPS packages with predictable monthly pricing. Amazon EC2 and AWS Elastic Beanstalk introduce manual networking configurations and variable usage billing. AWS Lambda is not suitable for a traditional persistent web hosting architecture.
Selecting the service that encapsulates these specific virtual server needs with minimal administration and fixed pricing leads directly to the correct solution.

Key Concept

AWS Compute Services
Question 675Question

An organization is planning to migrate its workloads to AWS. They have two specific requirements: first, they need to run containerized applications without provisioning or managing any underlying servers; second, they need to execute event-driven code snippets only when new data is uploaded, paying only for the compute time used. Which two AWS compute services should the company choose to fulfill these requirements?

Select all that apply

Show answer & explanation

Answer: AWS Lambda; AWS Fargate

Answer

The organization should choose AWS Fargate to run their containerized applications without managing server infrastructure, and AWS Lambda to run their event-driven, short-lived code snippets.
AWS Fargate provides a serverless environment to run containers (such as Docker containers) without having to manage the underlying EC2 instances. AWS Lambda allows running short-lived code in response to events (such as S3 uploads) without provisioning or managing any servers, charging only for the runtime used.

Step-by-Step Solution

1
Identify the service required for containerized applications that removes the need to manage virtual machine infrastructure.
AWS Fargate is the serverless compute engine for containers that manages the underlying instances.
This satisfies the first business requirement of running containerized applications without infrastructure management.
2
Identify the service required to execute event-driven code snippets that run only in response to events and charge based on execution time.
AWS Lambda is the serverless event-driven service designed for short-lived code execution.
This satisfies the second business requirement of executing code in response to data uploads with a pay-per-use billing model.

Key Concept

AWS Serverless Compute Services
Question 676Question

An enterprise is building a custom employee onboarding web application written in Node.js that runs on-premises. As part of the onboarding process, the application must programmatically create a unique IAM user, assign specific group memberships, and generate temporary access keys for the new hire without manual intervention. Which AWS interaction method is the most appropriate and secure way to implement this integration?

Show answer & explanation

Answer: AWS SDK for JavaScript integrated directly into the application code

Answer

AWS SDK for JavaScript integrated directly into the application code
The AWS SDK for JavaScript allows developers to make programmatic API calls directly from Node.js code. It is designed specifically for application integration, handling request signing, serialization, and connection retries natively and securely.

Step-by-Step Solution

1
Analyze the requirement for programmatic, automated resource creation from within an on-premises application codebase.
Identify that the solution must interact with the AWS API directly using a programming language (Node.js).
This narrows down the choices to programmatic interfaces rather than manual tools like the AWS Management Console.
2
Compare the use of AWS CLI, AWS SDK, and AWS CloudFormation for application-level integration.
Determine that the AWS SDK is specifically built to provide language-native APIs (such as the AWS SDK for JavaScript), making it the most secure and efficient choice for application integration.
While the CLI is meant for command-line scripting and CloudFormation is meant for infrastructure provisioning, only the SDK is designed for direct integration inside application code.
3
Verify that the selected option aligns with AWS security best practices.
The AWS SDK for JavaScript allows using IAM roles or temporary credentials, avoiding hardcoded root user credentials.
Securing identity management actions requires adhering to the principle of least privilege and using temporary security credentials.

Key Concept

Programmatic interaction with AWS using the AWS Software Development Kit (SDK) for application integration.
Question 677Question

A company needs to host a simple marketing website with predictable traffic patterns. The development team has minimal cloud management experience and wants a solution that provides a virtual private server, SSD-based storage, data transfer, and a static IP address in a single, low-cost monthly plan. Which AWS compute service should the company select to meet these requirements?

Show answer & explanation

Answer: Amazon Lightsail

Answer

Amazon Lightsail
The correct option is Amazon Lightsail because it provides an easy-to-use virtual private server (VPS) environment that bundles compute instances, storage, databases, and networking features (such as static IPs and DNS) into a single, predictable monthly pricing plan. This makes it ideal for simpler workloads, blogs, or small websites where the customer wants to avoid the complexity of managing individual AWS infrastructure components.

Step-by-Step Solution

1
Analyze the business requirements to identify key constraints: simple website hosting, minimal cloud management experience, packaged storage/networking features, and a predictable monthly pricing plan.
Determine that the customer requires a bundled Virtual Private Server (VPS) solution with fixed monthly billing rather than a highly customizable, dynamically billed infrastructure.
AWS compute services vary significantly in their management overhead, architecture patterns, and cost structures, requiring alignment with organizational capabilities.
2
Compare candidate compute services against the identified requirements.
Identify that the option offering a packaged VPS with flat monthly rates is the correct choice, while other services either rely on variable resource billing or use serverless architectures unsuitable for persistent site hosting.
Evaluating individual service characteristics ensures the selection matches the technical workload demands as well as operational and cost management constraints.

Key Concept

Selecting the appropriate AWS compute service based on business needs, specifically leveraging Amazon Lightsail for simplified virtual private servers with predictable monthly pricing.
Question 678Question

A local bookstore chain is migrating its inventory database and customer-facing web application from on-premises physical servers to the AWS Cloud. Which two of the following choices represent core cloud economics benefits of this migration?

Select all that apply

Show answer & explanation

Answer: Replacing upfront capital expenses for hardware with variable operating expenses.; Eliminating the need to estimate capacity needs by automatically scaling resources with customer demand.

Answer

Replacing upfront capital expenses for hardware with variable operating expenses, and eliminating the need to estimate capacity needs by automatically scaling resources with customer demand.
Replacing upfront capital expenses with variable operating expenses enables a pay-as-you-go financial model. Eliminating guess capacity requirements via elasticity optimizes cost by scaling down resources when they are not needed.

Step-by-Step Solution

1
Analyze the financial implications of shifting from on-premises infrastructure to the cloud.
Identify that the shift reduces upfront physical hardware investments (CapEx) in favor of pay-as-you-go services (OpEx).
This is a fundamental concept of cloud economics where businesses pay only for what they use.
2
Analyze how elasticity affects infrastructure sizing and cost optimization.
Identify that dynamic scaling removes the risk of under-provisioning or over-provisioning (guessing capacity).
Elasticity allows resource supply to match demand closely, maximizing cost efficiency.

Key Concept

Cloud Economics: CapEx to OpEx shift and Elasticity
Question 679Question

A financial company needs to implement a security and monitoring solution for its AWS environment. The security team must be able to audit all API actions taken by users and services across the account. Additionally, the operations team needs to collect and track performance metrics for their Amazon EC2 instances to configure automated alerts for high CPU utilization. Which of the following AWS services should be used to meet these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: AWS CloudTrail; Amazon CloudWatch

Answer

AWS CloudTrail and Amazon CloudWatch
AWS CloudTrail and Amazon CloudWatch are the correct services. CloudTrail logs all API activity and user changes, satisfying the requirement to audit actions. CloudWatch collects resource metrics and supports alarm creation, satisfying the requirement to monitor EC2 CPU utilization and trigger alarms.

Step-by-Step Solution

1
Identify the service required to log and audit user and service API actions within the AWS account.
AWS CloudTrail is selected.
CloudTrail maintains an event history of actions, which is essential for security auditing, governance, and operational analysis.
2
Identify the service required to collect performance metrics and set up alarms for EC2 CPU utilization.
Amazon CloudWatch is selected.
CloudWatch is the primary monitoring service for tracking resource utilization and triggering notifications or automated responses based on metrics.

Key Concept

AWS CloudTrail tracks API activity and user actions for auditing, while Amazon CloudWatch monitors resource performance metrics and configures alerts.
Question 680Question

A developer is troubleshooting connectivity to an Amazon EC2 instance and needs to analyze the firewall settings. The developer must evaluate the differences in behavior between security groups and network access control lists (network ACLs). Which two statements correctly describe how traffic is processed by these security features? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Security groups are stateful firewalls that automatically allow return traffic for allowed inbound requests.; Network Access Control Lists (network ACLs) are stateless firewalls that require explicit rules for both inbound and outbound traffic.

Answer

Security groups are stateful firewalls that automatically allow return traffic, and Network Access Control Lists (network ACLs) are stateless firewalls that require explicit rules for both inbound and outbound traffic.
Security groups are stateful, meaning they track connection states and automatically allow return traffic for any established connection. Network ACLs are stateless, meaning they evaluate traffic in both directions independently and require explicit rules for both inbound and outbound traffic flow.

Step-by-Step Solution

1
Analyze how statefulness affects traffic evaluation in Security Groups and Network ACLs.
Security groups automatically allow return traffic (stateful), while Network ACLs evaluate return traffic against rules (stateless).
This determines whether a separate rule is needed for return communication.
2
Identify the boundary levels where each firewall applies.
Security groups operate at the instance level (network interface), while Network ACLs operate at the subnet level.
This establishes where the traffic filtering takes place.
3
Determine customer security responsibilities under the Shared Responsibility Model.
The customer must define and manage all security rules inside their VPC.
AWS does not manage customer firewall rules; this is a customer responsibility.

Key Concept

Stateful vs. Stateless VPC Firewalls
Estimated Time:1m 0s
PreviousPage 34 / 74Next
All practice questions — AWS Certified Cloud Practitioner | Examkin