All practice questions

1473 questions

Question 1001Question

A startup company is designing a new continuous integration and continuous delivery (CI/CD) pipeline to automate their software release process on AWS. The development team needs to select the appropriate AWS developer tools to accomplish two specific tasks: they must securely host their private Git-based repositories, and they must automatically compile their source code and run unit tests. Which two AWS services should the company select to fulfill these requirements? (Select TWO)

Select all that apply

Show answer & explanation

Answer: AWS CodeCommit; AWS CodeBuild

Answer

The correct services are AWS CodeCommit and AWS CodeBuild.
AWS CodeCommit is a fully-managed source control service that hosts secure Git-based repositories, making it the correct choice for hosting private code. AWS CodeBuild is a fully-managed build service that compiles source code, runs tests, and produces software packages ready to deploy, meeting the requirement for automatically compiling code.

Step-by-Step Solution

1
Identify the requirement to host private, Git-based source repositories.
AWS CodeCommit is identified as the managed Git repository hosting service.
AWS CodeCommit allows teams to securely store and manage Git repositories in the cloud.
2
Identify the requirement to automatically compile source code and run unit tests.
AWS CodeBuild is identified as the build service that compiles code and runs tests.
AWS CodeBuild eliminates the need to provision and manage build servers by compiling code on demand.

Key Concept

AWS Developer Tools for CI/CD
Question 1002Question

LuminaAero, an aerospace engineering company, runs high-performance simulation workloads for two weeks at the end of every quarter. On-premises, they must maintain a dedicated cluster of servers that remains idle for the rest of the quarter. Which concept of cloud economics represents the primary financial benefit if LuminaAero migrates this workload to AWS?

Show answer & explanation

Answer: Benefiting from cloud elasticity by provisioning resources only when simulations run, shifting fixed capital expenditures (CapEx) to variable operating expenditures (OpEx).

Answer

Benefiting from cloud elasticity by provisioning resources only when simulations run, shifting fixed capital expenditures (CapEx) to variable operating expenditures (OpEx).
Leveraging cloud elasticity to provision resources only during the active simulation weeks allows the company to pay for what they use, changing fixed capital expenses (CapEx) of maintaining on-premises hardware into variable operational expenses (OpEx).

Step-by-Step Solution

1
Analyze the workload pattern of LuminaAero.
The simulation workload is highly periodic and runs only for two weeks out of a twelve-week quarter, meaning resources are idle 85% of the time.
Identifying the workload demand profile is necessary to select the most cost-effective cloud economic strategy.
2
Evaluate how AWS pricing and resource provisioning map to this workload pattern.
AWS allows provisioning resources dynamically (elasticity) and paying only for active compute time (pay-as-you-go / OpEx), eliminating the need to buy and maintain idle hardware (CapEx).
This shows how cloud elasticity directly translates to cost savings by transforming capital expenses into variable operating expenses.

Key Concept

Shifting CapEx to OpEx and leveraging cloud elasticity for variable workloads.
Question 1003Question

A healthcare enterprise needs to store sensitive patient files on Amazon S3. To meet compliance regulations, they require encryption at rest using dedicated, single-tenant cryptographic hardware where they maintain full control over the administration of the hardware security modules (HSMs). Which AWS service or feature should the enterprise configure to manage their encryption keys?

Show answer & explanation

Answer: AWS CloudHSM

Answer

AWS CloudHSM
AWS CloudHSM is the correct choice because it provides dedicated, single-tenant hardware security module (HSM) instances within the customer's VPC. This gives the customer exclusive administrative control over the keys and cryptographic operations, satisfying the strict compliance constraint.

Step-by-Step Solution

1
Analyze the customer requirements for encryption at rest.
The customer needs dedicated, single-tenant cryptographic hardware (HSMs) and full administrative control over the keys.
This determines whether a multi-tenant managed service (like AWS KMS) or a dedicated single-tenant solution (like AWS CloudHSM) is required.
2
Compare AWS encryption and key management services against the requirements.
AWS CloudHSM satisfies the single-tenant dedicated hardware requirement, whereas AWS KMS uses shared multi-tenant HSMs. SSE-S3 is fully managed by AWS on shared storage, and AWS Artifact is only for compliance documents.
Selecting the service that matches the dedicated, single-tenant hardware and customer control criteria leads to the correct answer.

Key Concept

Dedicated single-tenant hardware security modules (CloudHSM) versus managed multi-tenant key management (KMS).
Estimated Time:1m 0s
Question 1004Question

An organization is designing a security and administration model for a hybrid server fleet consisting of both Amazon EC2 instances and on-premises physical servers. The security team has defined the following compliance requirements:

- All interactive administrative sessions must be logged, recorded, and audited.
- No inbound ports (such as SSH port 22 or RDP port 3389) can be opened in security groups or on-premises firewalls.
- Bastion hosts must be avoided to minimize operational overhead and attack surface.
- Administrative access must be controlled strictly via AWS Identity and Access Management (IAM).

Which AWS service and feature should the operations team use to meet these requirements?

Show answer & explanation

Answer: AWS Systems Manager Session Manager

Answer

AWS Systems Manager Session Manager
The correct option is AWS Systems Manager Session Manager because it is designed to manage instances and on-premises servers securely using the Systems Manager Agent. The agent communicates using outbound HTTPS connections, which eliminates the need to open inbound administrative ports (such as SSH or RDP) in security groups or local firewalls. Furthermore, Session Manager integrates with IAM for access control, logs all session details to Amazon S3 or Amazon CloudWatch Logs for auditability, and does not require bastion hosts.

Step-by-Step Solution

1
Analyze the requirements for interactive administrative session access.
Identify that the solution must provide an interactive command-line shell or terminal session for administrators.
This rules out non-interactive tools that only execute scripts or commands asynchronously.
2
Evaluate the firewall and port constraints.
Identify that the solution cannot require any open inbound ports (like SSH port 22 or RDP port 3389) on the servers.
This rules out standard SSH tools and Amazon EC2 Instance Connect, which require inbound SSH traffic to be permitted in security groups.
3
Evaluate the hybrid infrastructure requirement.
Identify that the solution must support both Amazon EC2 instances and on-premises physical servers.
This rules out EC2-specific features like Amazon EC2 Instance Connect.
4
Determine the service that supports hybrid deployments, IAM integration, session logging, and outbound-only communications.
Select AWS Systems Manager Session Manager, as the Systems Manager Agent initiates outbound connections to the Systems Manager service, bypassing the need for inbound open ports, and supports auditing and hybrid nodes.
It fulfills all security, network, auditing, and platform requirements.

Key Concept

AWS Systems Manager Session Manager secure shell and terminal access for hybrid environments without open inbound ports.
Question 1005Question

A startup is launching a new public website and needs to purchase a domain name and configure global Domain Name System (DNS) routing to direct users to their web application. Which AWS service provides both domain registration and DNS routing capabilities?

Show answer & explanation

Answer: Amazon Route 53

Answer

Amazon Route 53
Amazon Route 53 is a highly available and scalable cloud Domain Name System (DNS) web service. It translates user-friendly domain names into numeric IP addresses to route end users to internet applications, and it also acts as a domain registrar, allowing users to search for, purchase, and manage domain names in one place.

Step-by-Step Solution

1
Identify the core requirements: domain name registration (purchasing a domain) and global Domain Name System (DNS) routing (mapping domain names to IP addresses).
The target service must handle both DNS queries and domain registration.
This requirement rules out storage and compute services that do not provide networking name resolution.
2
Evaluate the AWS network services that fit the requirements.
Amazon Route 53 is identified as the correct service because it functions both as a registrar for buying domains and as a DNS service for routing users to web applications.
Other services like AWS Transit Gateway handle VPC transit routing rather than public DNS routing and registration.

Key Concept

Domain Name System (DNS) resolution and domain registration using Amazon Route 53.
Question 1006Question

A company wants to adopt a standardized approach for provisioning their cloud infrastructure using templates. Additionally, they need to monitor CPU utilization and memory metrics of their deployed Amazon EC2 instances to ensure optimal performance.

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

Select all that apply

Show answer & explanation

Answer: AWS CloudFormation; Amazon CloudWatch

Answer

AWS CloudFormation and Amazon CloudWatch
The two correct services are AWS CloudFormation and Amazon CloudWatch. AWS CloudFormation is an Infrastructure as Code (IaC) service that uses templates to deploy and manage a wide range of AWS resources in a repeatable manner. Amazon CloudWatch is a monitoring and management service that collects performance metrics (such as CPU utilization and memory) and logs from EC2 instances and other resources, enabling operational monitoring.

Step-by-Step Solution

1
Identify the service required for provisioning infrastructure using templates.
AWS CloudFormation allows users to define resources using JSON or YAML templates and automatically provisions them.
The company's goal is to standardize provisioning using templates, which matches Infrastructure as Code (IaC).
2
Identify the service required to monitor resource metrics such as CPU and memory utilization.
Amazon CloudWatch collects and tracks resource performance metrics.
The company needs a monitoring tool to track operational performance metrics.
3
Verify that the other choices do not meet the specified provisioning or monitoring criteria.
AWS CloudTrail is for auditing API activity, AWS Elastic Beanstalk is for web application hosting, and AWS Systems Manager is for fleet patching and operations.
This rules out the incorrect options to confirm the final selections.

Key Concept

AWS CloudFormation is used for template-based infrastructure provisioning, whereas Amazon CloudWatch is used for monitoring resource performance metrics.
Question 1007Question

A software engineering team is building a continuous integration and continuous delivery (CI/CD) process on AWS. They require a tool to define and automate their release stages—specifically, pulling source code, triggering test suites, and promoting successful builds to production. The tool must act as a central coordinator, integrating with external Git repositories, build environments, and deployment services without itself executing the compilation or deployment steps. Which AWS service should the team select to meet these orchestration requirements?

Show answer & explanation

Answer: AWS CodePipeline

Answer

AWS CodePipeline is the correct service because it functions as the central release workflow orchestrator to automate stages of a CI/CD pipeline, coordinating third-party and AWS native tools for source, build, and deployment.
AWS CodePipeline acts as a continuous delivery workflow orchestrator that coordinates the steps of a release process. It pulls code from source repositories, passes it to build tools for testing/compilation, and triggers deployment tools to update the environment, without directly executing the build or deployment actions itself.

Step-by-Step Solution

1
Analyze the operational requirements stated in the scenario.
The target tool must orchestrate CI/CD stages (source, test, deploy) and integrate with external resources, without executing compilation or deployments itself.
This establishes that the solution must be a workflow coordinator rather than a deployment engine or hosting environment.
2
Compare the function of each service option against the coordinator requirement.
AWS CodePipeline is the only service that manages the end-to-end delivery workflow and transitions between stages, whereas AWS CodeDeploy performs deployment execution, AWS Elastic Beanstalk manages application deployment hosting, and Amazon CloudWatch focuses on telemetry and monitoring.
Differentiating developer and management tools based on their specific operational boundaries is required to identify the orchestrator.

Key Concept

Workflow Orchestration in Developer Tools
Estimated Time:1m 30s
Question 1008Question

A company is reviewing the security posture of a database instance hosted within a private subnet of an Amazon Virtual Private Cloud (Amazon VPC). The database must only accept incoming queries from a specific application server located in a public subnet. To enforce defense-in-depth, the network security team wants to implement access controls at both the individual resource level and the boundary of the subnet. Which configuration of AWS network security features meets these requirements?

Show answer & explanation

Answer: A stateful Security Group associated with the database instance to allow inbound traffic from the application server, and a stateless Network ACL associated with the private subnet to control traffic entering and leaving the subnet boundary.

Answer

A stateful Security Group associated with the database instance to allow inbound traffic from the application server, and a stateless Network ACL associated with the private subnet to control traffic entering and leaving the subnet boundary.
The correct configuration applies a stateful Security Group to the database instance to control traffic at the resource level, and a stateless Network ACL to the private subnet to control traffic at the subnet boundary. Security Groups automatically allow return traffic for approved requests, whereas Network ACLs require explicit inbound and outbound rules.

Step-by-Step Solution

1
Identify the target resource-level security requirement.
Determine that Security Groups apply at the instance/elastic network interface level and are stateful.
Security Groups allow granular control over instance-level inbound and outbound traffic.
2
Identify the target subnet-level security requirement.
Determine that Network ACLs apply at the subnet boundary and are stateless.
Network ACLs act as a firewall for controlling traffic in and out of one or more subnets.
3
Combine the configurations to meet the security objectives.
Associate the stateful Security Group with the database instance and the stateless Network ACL with the private subnet.
This combination ensures defense-in-depth by filtering traffic at both the subnet boundary and the individual resource level.

Key Concept

VPC Network Security: Security Groups vs Network ACLs
Estimated Time:2m 0s
Question 1009Question

A cloud practitioner needs to pair different application deployment needs with their corresponding AWS compute services. Match each specific workload scenario to the most suitable AWS compute service.

Click a left item, then click its matching right item

Items

An application that runs code only in response to events and requires zero server management.
A containerized workload that runs without requiring the management of virtual machine infrastructure.
A monolithic application requiring complete administrative control over the operating system kernel.

Matches

Show answer & explanation

Answer

Event-driven serverless workloads match with AWS Lambda, serverless container workloads match with AWS Fargate, and workloads requiring complete operating system control match with Amazon EC2.
AWS Lambda is correct for event-driven serverless workloads. AWS Fargate is correct for containerized workloads without server management. Amazon EC2 is correct for workloads requiring OS access.

Step-by-Step Solution

1
Analyze the first requirement: running code only in response to events with zero server management.
This describes a fully serverless, event-driven model, which is the definition of AWS Lambda.
AWS Lambda automatically scales and runs code without provisioning servers in response to event triggers.
2
Analyze the second requirement: running containerized workloads without managing the underlying virtual machines.
This describes a serverless container execution environment, which is the definition of AWS Fargate.
AWS Fargate manages the underlying compute infrastructure so users only need to package their applications in containers.
3
Analyze the third requirement: a monolithic application requiring full administrative control over the operating system.
This describes an Infrastructure as a Service (IaaS) virtual machine, which is the definition of Amazon EC2.
Amazon EC2 gives users complete administrative (root) access to customize the operating system and software stack.

Key Concept

Selecting the appropriate AWS compute service based on management overhead, hosting type (serverless vs. virtual machine), and containerization requirements.
Estimated Time:1m 0s
Question 1010Question

A cloud architect at a media agency needs to manage AWS permissions for a team of 15 video editors and 5 system administrators. The video editors require read-only access to Amazon S3 buckets, while the administrators need full access to Amazon EC2 and Amazon RDS. Which of the following represents the most efficient way to manage and apply these permissions using AWS Identity and Access Management (IAM)?

Show answer & explanation

Answer: Create two separate IAM groups, attach the appropriate managed policies to each group, and add the individual user accounts to their respective groups.

Answer

Create two separate IAM groups, attach the appropriate managed policies to each group, and add the individual user accounts to their respective groups.
Creating separate IAM groups for the video editors and the system administrators is the most efficient and recommended practice. By attaching the relevant policies to the groups and adding the individual users to them, permissions can be centrally managed. When users are added or removed from the team, the administrator only needs to add or remove them from the group, preventing configuration drift.

Step-by-Step Solution

1
Analyze the operational requirements of the two user categories: 15 video editors requiring S3 read-only access, and 5 system administrators requiring EC2 and RDS full access.
Identified two distinct sets of permission requirements for the two user cohorts.
Understanding permission boundaries helps determine the best IAM structure.
2
Evaluate AWS IAM best practices for managing permissions for multiple users with identical job functions.
Recognized that IAM groups are designed to cluster users and attach policies collectively rather than individually.
Using IAM groups reduces administrative overhead and minimizes errors in permission management.
3
Map the correct policies to two groups and assign the respective individual users to these groups.
Created one group for video editors (with S3 read-only policy) and one group for system administrators (with EC2 and RDS full access policies).
This establishes a scalable, secure, and easily auditable access control structure.

Key Concept

AWS IAM Groups and Permission Management
Estimated Time:1m 30s
Question 1011Question

A company is building a health monitoring portal. The portal requires a relational database to store patient contact information and appointment schedules, and a fast, scalable, non-relational database to store real-time health metrics from wearable devices. Additionally, the company wants to minimize database administration by choosing fully managed services. Which of the following AWS services should the company select to meet these requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Amazon RDS; Amazon DynamoDB

Answer

Amazon RDS and Amazon DynamoDB
Amazon RDS is the correct choice for the relational database requirement as it is a fully managed service that handles transaction consistency. Amazon DynamoDB is the correct choice for the non-relational database requirement as it provides low-latency, fully managed key-value storage at scale.

Step-by-Step Solution

1
Analyze the requirements for the first workload.
The patient contact info and appointment schedules require structured, transactional integrity, which points to a relational (SQL) database.
Relational databases (SQL) are ideal for complex queries and ACID transactions.
2
Analyze the requirements for the second workload.
The real-time health metrics from wearable devices require high scalability and fast performance for non-relational (NoSQL) data.
NoSQL databases are designed for high-throughput, horizontally scalable, and low-latency key-value data.
3
Filter database options based on the management model.
The company requires fully managed services to minimize administration, which selects Amazon RDS and Amazon DynamoDB while eliminating self-managed options like running a database on Amazon EBS.
Fully managed services handle administrative tasks like patching, backups, and provisioning automatically.

Key Concept

AWS Database Services selection based on relational (RDS) vs. non-relational (DynamoDB) requirements and managed vs. self-managed services.
Question 1012Question

A company is preparing for an internal security audit of its AWS environment. The security team discovers that several developers are sharing a single set of access keys to perform administrative tasks, and an automated application is using the AWS account root user credentials to generate daily billing reports. Which of the following remediation steps should the security team take to align with AWS Identity and Access Management (IAM) best practices? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Create individual IAM users for each developer, place them in an IAM group with administrative policies, and require Multi-Factor Authentication (MFA).; Create an IAM role with the least privilege permissions required to view billing reports, and assign it to the automated application instead of using root credentials.

Answer

Create individual IAM users for each developer, place them in an IAM group with administrative policies, and require Multi-Factor Authentication (MFA). In addition, create an IAM role with the least privilege permissions required to view billing reports, and assign it to the automated application instead of using root credentials.
The correct remediation involves establishing individual identities for users (individual IAM users in a group with MFA enforced) and utilizing temporary credentials with minimum permissions for applications (an IAM role with least privilege permissions), thus avoiding shared access keys and the root user.

Step-by-Step Solution

1
Analyze the developer credential sharing issue.
Identify that sharing access keys violates accountability and security boundaries. The correct fix is to create unique IAM users for each person, manage them collectively using an IAM group, and enforce MFA for administrative tasks.
This establishes individual accountability and aligns with identity best practices.
2
Analyze the application using root credentials.
Identify that using the root user for programmatic reports is a severe security risk. The correct fix is to secure the root user and assign a least-privilege IAM role to the application.
This ensures the application only uses temporary, limited credentials and locks down the root account.

Key Concept

AWS IAM Best Practices for Users, Groups, Roles, and the Root User
Question 1013Question

A biotechnology firm stores large, multi-gigabyte genomic sequence files on AWS. During the initial 3030 days of a research project, these files are accessed continuously. After this period, the access pattern becomes highly unpredictable; some files are accessed daily by global research teams, while others are not accessed at all for several months. The firm requires a storage solution that automatically minimizes costs based on changing access patterns, guarantees millisecond retrieval times for all data, and requires no manual analysis or lifecycle rules to manage. Which Amazon S3 storage class meets these requirements?

Show answer & explanation

Answer: Amazon S3 Intelligent-Tiering

Answer

Amazon S3 Intelligent-Tiering
Amazon S3 Intelligent-Tiering is the correct choice because it automatically optimizes storage costs by moving data between two access tiers (frequent and infrequent) based on changing access patterns. It does not charge retrieval fees and guarantees the same millisecond retrieval times as S3 Standard, eliminating the operational overhead of managing complex lifecycle rules for unpredictable workloads.

Step-by-Step Solution

1
Analyze the workload access patterns described in the scenario.
The access patterns are initially frequent for the first 3030 days but become highly unpredictable thereafter, with fluctuating retrieval rates.
Understanding the retrieval patterns is necessary to choose the correct storage tier.
2
Evaluate the storage class requirements and constraints.
The solution must automate cost optimization, have no retrieval fees, maintain millisecond retrieval times, and require no operational overhead.
These constraints rule out manual lifecycle policies and archive classes with high retrieval charges.
3
Compare candidate S3 storage classes against constraints.
Amazon S3 Intelligent-Tiering automatically handles unpredictable access without retrieval fees or latency penalties, while S3 Standard-IA, Glacier Instant Retrieval, and S3 One Zone-IA fail one or more criteria.
To determine the optimal cost-effective and low-overhead storage class.

Key Concept

Automatic cost optimization for unpredictable S3 access patterns
Question 1014Question

A digital marketing firm is deploying a content management application on Amazon EC2 instances. The application has two specific storage requirements:

1. A shared file system that allows multiple EC2 instances to simultaneously read and write web assets.
2. A high-performance, temporary block storage volume for processing intermediate scratch data that does not need to persist beyond the lifecycle of the instance.

Which two AWS storage options should the developer select to meet these requirements?

Select all that apply

Show answer & explanation

Answer: Amazon Elastic File System (Amazon EFS); Amazon EC2 Instance Store

Answer

The correct options are Amazon Elastic File System (Amazon EFS) and Amazon EC2 Instance Store.
The system requires a shared file system for concurrent access, which is solved by Amazon Elastic File System (Amazon EFS). It also requires temporary, high-performance block storage, which is perfectly matched by Amazon EC2 Instance Store because the data is transient and tied to the instance's lifecycle.

Step-by-Step Solution

1
Identify the storage requirements from the scenario.
The scenario requires (1) a shared file system for concurrent read/write access by multiple EC2 instances, and (2) high-performance, temporary block storage that does not need to persist beyond the instance's lifecycle.
This breaks down the problem into two distinct AWS storage service decisions.
2
Evaluate the first requirement: a shared file system for multiple EC2 instances.
Amazon Elastic File System (Amazon EFS) is selected because it supports the Network File System (NFS) protocol and allows concurrent connections from multiple EC2 instances.
Amazon EBS is block storage meant for single instances (with rare exceptions), and S3 is object storage accessed via APIs, not a standard mountable file system.
3
Evaluate the second requirement: high-performance, temporary block storage that is bound to the instance lifecycle.
Amazon EC2 Instance Store is selected because it is physically attached to the host server, offering high performance for temporary data (scratch pad, cache) that is lost if the instance stops or terminates.
Amazon EBS provides persistent block storage, which would continue to exist (and incur costs) unless explicitly deleted, whereas Instance Store matches the 'temporary' requirement perfectly and offers lower latency.

Key Concept

Selecting appropriate AWS storage services (EFS for shared file systems, Instance Store for temporary high-performance block storage) based on application requirements.
Estimated Time:1m 30s
Question 1015Question

A company wants to manage a fleet of Amazon EC2 instances and on-premises servers from a single user interface, allowing them to automate software patching and run commands remotely. Which AWS service should the company use to meet this requirement?

Show answer & explanation

Answer: AWS Systems Manager

Answer

AWS Systems Manager
AWS Systems Manager provides a unified user interface that enables users to automate operational tasks, run shell scripts or commands remotely across a fleet of EC2 instances and on-premises servers, and manage system patches automatically.

Step-by-Step Solution

1
Analyze the requirements in the scenario.
The company needs a service that provides fleet management, remote command execution, and automated patching for both EC2 instances and on-premises servers.
This helps identify the operational and administrative capabilities required.
2
Evaluate the capabilities of the options against these requirements.
AWS Systems Manager directly provides operational tooling like Run Command and Patch Manager to patch and manage fleets of instances.
Matching service definitions ensures the correct choice is selected.

Key Concept

Centralized operations and fleet management using AWS Systems Manager
Estimated Time:45s
Question 1016Question

A healthcare provider needs to store patient records in a specific country to comply with local data sovereignty laws. Which AWS Global Infrastructure component should the provider select to satisfy this compliance requirement?

Show answer & explanation

Answer: An AWS Region

Answer

An AWS Region
Choosing a specific AWS Region allows organizations to select the geographic location where their data is stored, which is the primary mechanism for meeting data sovereignty and residency compliance requirements.

Step-by-Step Solution

1
Identify the primary requirement in the scenario.
The requirement is compliance with data sovereignty laws that dictate storing patient records within a specific country.
Data sovereignty relates to the physical geographic jurisdiction where data resides.
2
Evaluate which AWS Global Infrastructure component defines geographic boundaries.
AWS Regions are physical geographic locations containing clusters of data centers, allowing customers to specify exactly where their data is stored.
Other infrastructure elements like Availability Zones and Edge Locations operate within or across Regions but do not define the primary country-level geographic boundary.

Key Concept

AWS Regions are used to control data residency and comply with sovereignty laws by restricting data storage to a specific geographic location.
Question 1017Question

A cloud practitioner is explaining the difference between AWS Regions and Availability Zones to a new system administrator. Which of the following statements are correct regarding these infrastructure components? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: An Availability Zone consists of one or more discrete data centers with redundant power, networking, and connectivity.; An AWS Region is a physical location in the world where AWS has multiple Availability Zones.

Answer

An AWS Region is a physical location in the world where AWS has multiple Availability Zones, and an Availability Zone consists of one or more discrete data centers with redundant power, networking, and connectivity.
The correct statements define an Availability Zone as consisting of one or more discrete data centers with redundant power, networking, and connectivity, and an AWS Region as a physical location in the world where AWS has multiple Availability Zones. These statements represent the fundamental architecture of the AWS Global Infrastructure.

Step-by-Step Solution

1
Analyze the definition of an AWS Region.
An AWS Region is a geographic area that contains multiple, physically isolated and redundant Availability Zones.
This helps identify correct statements regarding the region's structure.
2
Analyze the definition of an Availability Zone.
An Availability Zone consists of one or more discrete data centers with redundant infrastructure, located within an AWS Region.
This helps identify correct statements regarding the zone's structure.

Key Concept

AWS Regions and Availability Zones structure
Estimated Time:1m 0s
Question 1018Question

A gaming studio deploys a multiplayer matchmaking backend on Amazon EC2 instances inside a public subnet. The studio wants to ensure that only traffic from a specific list of trusted IP addresses can access these instances, and they want to minimize administrative overhead by relying on a stateful resource. Which AWS resource should be configured directly at the instance level to allow inbound traffic from these IP addresses while automatically permitting the corresponding outbound response traffic?

Show answer & explanation

Answer: A security group

Answer

A security group
A security group acts as a virtual firewall that controls inbound and outbound traffic for Amazon EC2 instances. It operates at the instance level and is stateful, meaning that any allowed inbound traffic is automatically permitted to flow outbound, satisfying the requirement to minimize administrative overhead by avoiding separate outbound configuration.

Step-by-Step Solution

1
Identify the level of protection required (instance vs. subnet).
The requirement specifies configuring protection 'directly at the instance level', which points to security groups rather than network ACLs.
Security groups act as a firewall for associated Amazon EC2 instances, whereas network ACLs operate at the subnet boundary.
2
Determine the stateful or stateless nature of the required resource.
The resource must automatically permit outbound response traffic when inbound traffic is allowed (stateful behavior).
Security groups are stateful, meaning any allowed inbound traffic is automatically allowed outbound. Network ACLs are stateless and require explicit rules in both directions.
3
Evaluate the customer responsibility vs. AWS responsibility.
Configuring security controls on EC2 instances is the customer's responsibility under the Shared Responsibility Model.
AWS manages security of the cloud (infrastructure), while the customer manages security in the cloud (operating systems and network access controls).

Key Concept

Instance-level stateful firewalls in AWS (Security Groups)
Question 1019Question

A retail company planning to launch a new e-commerce application needs to estimate the monthly infrastructure cost before deploying any resources. Additionally, the finance department requires a mechanism to receive email notifications if their actual monthly spend exceeds a set limit. Which of the following AWS tools should the company select to address these needs? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: AWS Pricing Calculator; AWS Budgets

Answer

The correct tools are AWS Pricing Calculator and AWS Budgets.
The correct tools are AWS Pricing Calculator and AWS Budgets. AWS Pricing Calculator is used to estimate the costs of AWS services before deployment. AWS Budgets is used to set custom cost thresholds and receive proactive alerts if actual or forecasted costs exceed those thresholds.

Step-by-Step Solution

1
Identify the AWS tool designed to model and estimate service costs prior to launch.
AWS Pricing Calculator
AWS Pricing Calculator allows users to estimate costs for planned configurations before active deployment.
2
Identify the AWS tool that enables proactive alerts when actual costs exceed configured limits.
AWS Budgets
AWS Budgets allows users to define custom thresholds and trigger alert notifications when those thresholds are crossed.
3
Verify and eliminate incorrect options.
AWS Cost Explorer and AWS Billing Conductor are eliminated.
AWS Cost Explorer is used for analyzing historical/past costs. AWS Billing Conductor is used for managing custom billing parameters and showback rules for accounts, not for individual workload cost planning or threshold alerting.

Key Concept

AWS Billing and Cost Management Tools
Question 1020Question

A marketing agency needs to store millions of graphic design files that will be accessed directly by public users via HTTP and HTTPS web links. Which AWS storage service is best suited to host these static assets?

Show answer & explanation

Answer: Amazon Simple Storage Service (Amazon S3)

Answer

Amazon Simple Storage Service (Amazon S3)
Amazon Simple Storage Service (Amazon S3) is correct because it is an object storage service designed to store and serve files over the internet using native HTTP/HTTPS endpoints. This capability makes it the ideal choice for hosting public static assets.

Step-by-Step Solution

1
Analyze the core storage requirement: hosting static design files that must be directly accessible from the public internet via HTTP/HTTPS links.
Filter out block and file storage services that do not natively support public HTTP/HTTPS endpoints.
Amazon EBS and Amazon EFS are mountable file/block systems that require compute instances (like EC2) to serve traffic to the internet.
2
Compare object storage options based on latency and access speed.
Select Amazon S3 over Amazon S3 Glacier.
Amazon S3 Glacier has retrieval delays of minutes to hours, making it unsuitable for immediate public web access.

Key Concept

AWS Storage Services and their primary access methods
Estimated Time:45s
PreviousPage 51 / 74Next
All practice questions — AWS Certified Cloud Practitioner | Examkin