All practice questions

1473 questions

Question 561Question

A startup company with limited cloud expertise wants to deploy a simple WordPress website. They need a cost-effective, easy-to-use virtual private server (VPS) solution that bundles compute, storage, databases, and networking into a single monthly plan. Which AWS compute service is best suited for this requirement?

Show answer & explanation

Answer: Amazon Lightsail

Answer

Amazon Lightsail is the correct service because it offers an easy-to-use, all-in-one virtual private server package with predictable pricing, suitable for simple websites.
Amazon Lightsail is designed to make it simple and cost-effective to launch small-scale applications, blog sites, or developer environments by grouping compute instances, SSD storage, transfer allowances, DNS, and databases into pre-configured monthly subscription bundles.

Step-by-Step Solution

1
Analyze the customer requirements.
The customer needs to host a simple WordPress website, has limited cloud expertise, and wants a low-cost, all-in-one solution combining compute, storage, databases, and networking.
Breaking down requirements helps distinguish between highly customizable enterprise solutions and simplified starter solutions.
2
Evaluate the compute services against the simplicity requirement.
Amazon Lightsail offers exactly the pre-packaged resource bundles required, whereas Amazon Elastic Compute Cloud, AWS Lambda, and AWS Fargate require advanced cloud architecture setups and lack easy bundle pricing.
Comparing management complexity and resource packaging highlights the difference between virtual machines, container engines, serverless functions, and simple virtual private servers.

Key Concept

Identifying the appropriate AWS compute service based on management overhead and application architecture, specifically leveraging Amazon Lightsail for simple, bundled virtual private servers.
Estimated Time:45s
Question 562Question

An administrator needs to assign similar security permissions to ten new developers in an organization. Which of the following are AWS-recommended practices for managing these permissions? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Create individual IAM users for each developer to ensure activity can be audited.; Place the individual IAM users into an IAM group and attach the required permission policies to the group.

Answer

To follow AWS best practices, individual IAM users should be created for each developer, and these users should be placed in an IAM group with the necessary permission policies attached to the group.
Creating individual IAM users ensures that each developer has unique credentials, making it possible to audit actions and trace them to a specific person. Placing these users in an IAM group and attaching policies to that group is the AWS-recommended best practice to manage permissions efficiently and consistently.

Step-by-Step Solution

1
Analyze credential accountability requirements
Determine that sharing a single account (like the root user or a shared user) is insecure, meaning individual IAM users must be created for auditing purposes.
Individual IAM users ensure that all actions can be traced to a specific person.
2
Determine the most efficient method for managing group permissions
Determine that placing these individual IAM users in an IAM group and attaching policies to the group simplifies administrative overhead.
Instead of attaching policies to ten separate users, attaching them to a single group ensures consistent permissions and easy updates.

Key Concept

IAM Identity Management Best Practices (Users and Groups)
Question 563Question

A smart agriculture startup is launching a new IoT crop-monitoring application. The startup wants to avoid spending its limited capital on purchasing physical servers and building an on-premises data center. Instead, they want to pay for IT resources only as they are consumed.

Which benefit of the AWS Cloud is this startup leveraging?

Show answer & explanation

Answer: Trading capital expense for variable expense

Answer

Trading capital expense for variable expense
The correct option is trading capital expense for variable expense. One of the core business benefits of the AWS Cloud is the ability to pay only for the IT resources consumed, eliminating the need to invest heavily in physical servers and data centers before knowing how they will be used.

Step-by-Step Solution

1
Analyze the business scenario's financial goals.
The startup wants to avoid upfront capital expenditure (CapEx) on physical infrastructure and instead pay variable costs based on consumption.
This establishes the transition from fixed infrastructure costs to utility-based pricing.
2
Evaluate the options against official AWS Cloud benefits.
The concept of paying only for consumed resources matches the AWS Cloud benefit of trading capital expense for variable expense.
This identifies the correct cloud concept that aligns with pay-as-you-go financial models.

Key Concept

Define the benefits of the AWS Cloud
Estimated Time:45s
Question 564Question

A logistics company is migrating its supply chain database to AWS. The compliance team requires that all data stored at rest in Amazon S3 be encrypted. The compliance policy specifically mandates that the encryption keys must be generated and stored in a dedicated, single-tenant cryptographic hardware appliance that the company fully controls, while AWS remains responsible for the physical security and maintenance of the appliance hardware. Which service and management model should the company implement?

Show answer & explanation

Answer: AWS CloudHSM to manage the keys, where the customer retains exclusive administrative control of the cryptographic users and AWS manages the physical appliance.

Answer

AWS CloudHSM to manage the keys, where the customer retains exclusive administrative control of the cryptographic users and AWS manages the physical appliance.
The correct option meets the requirement of single-tenancy and correctly maps the shared responsibility model. AWS CloudHSM provides dedicated, single-tenant hardware security modules (HSMs). The customer has sole control over key generation and user administration on the partition, while AWS maintains physical security, power, cooling, and hardware replacement of the HSM appliance.

Step-by-Step Solution

1
Identify the multi-tenancy and single-tenancy requirements for key management.
The scenario requires a dedicated, single-tenant hardware appliance, which points to AWS CloudHSM rather than AWS Key Management Service (AWS KMS), which is a multi-tenant service.
AWS CloudHSM provides dedicated access to physical HSMs, whereas AWS KMS shares HSM infrastructure across multiple AWS accounts.
2
Apply the AWS Shared Responsibility Model to the chosen service.
AWS is responsible for physical security and hardware maintenance of the CloudHSM appliances, while the customer is responsible for administering HSM users and managing the keys.
Customers cannot physically access AWS data centers, so physical host security and appliance maintenance remain AWS's responsibility under the shared responsibility model.

Key Concept

AWS CloudHSM vs AWS KMS and the Shared Responsibility Model for Data Protection
Question 565Question

A company's security team is designing a multi-layered auditing and threat detection strategy for their application servers running on Amazon EC2. The team must satisfy three distinct operational security requirements:
1. Audit and record a history of all API calls, including the specific IAM identities, source IP addresses, and timestamps, to determine who modified resources.
2. Monitor active network traffic patterns to detect potential security threats, such as instances communicating with known command-and-control servers.
3. Track performance metrics of the EC2 instances, such as CPU utilization, and trigger automated alerts if resource usage exceeds defined limits.

Which combination of AWS services will successfully address these three requirements?

Show answer & explanation

Answer: AWS CloudTrail to audit API calls, Amazon GuardDuty to detect threat patterns and malicious communications, and Amazon CloudWatch to monitor metrics and trigger threshold alarms.

Answer

AWS CloudTrail to audit API calls, Amazon GuardDuty to detect threat patterns and malicious communications, and Amazon CloudWatch to monitor metrics and trigger threshold alarms.
AWS CloudTrail is designed to audit and record API activity, user identities, and source IP addresses across the AWS account. Amazon GuardDuty uses threat intelligence and machine learning to actively monitor logs (like VPC Flow Logs and DNS logs) for security threats such as command-and-control communications. Amazon CloudWatch monitors performance metrics (like CPU utilization) and can trigger alarms and notifications when specific thresholds are breached.

Step-by-Step Solution

1
Identify the service responsible for auditing API activity, user identities, and timestamps across the AWS infrastructure.
AWS CloudTrail is determined to be the correct service for recording all account-level API activity.
CloudTrail provides continuous logging of management and data events for compliance and security auditing.
2
Determine the service needed for intelligent threat detection and identifying malicious network traffic like command-and-control communication.
Amazon GuardDuty is selected as the service that monitors network events and uses threat intelligence to detect malicious hosts.
GuardDuty analyzes VPC Flow Logs, DNS logs, and CloudTrail logs to identify active threats, whereas Amazon Inspector is only for static vulnerability scanning.
3
Find the service responsible for collecting resource metrics and triggering notifications based on performance thresholds.
Amazon CloudWatch is selected to monitor CPU utilization and send notifications through alarms.
CloudWatch tracks performance metrics and manages metric-based alerts, which is a customer-managed responsibility under the Shared Responsibility Model.

Key Concept

Selecting and distinguishing AWS security logging, threat monitoring, and operational alerting services.
Estimated Time:2m 0s
Question 566Question

A biotechnology company runs high-throughput genomic sequencing pipelines that require massive computational power for a few weeks every quarter. During the off-peak months, their compute usage is negligible. Furthermore, they need to deploy their data-analysis portal across multiple geographic regions to ensure low-latency access for global research collaborators.

Which of the following AWS Cloud benefits directly address these operational requirements? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Go global in minutes; Stop guessing capacity

Answer

The correct answers are the options stating 'Go global in minutes' and 'Stop guessing capacity'.
The correct options are 'Go global in minutes' and 'Stop guessing capacity'. 'Go global in minutes' enables the company to deploy their application globally across multiple AWS Regions for lower latency. 'Stop guessing capacity' allows them to scale resources up and down to match their variable genomic sequencing workload rather than maintaining idle infrastructure.

Step-by-Step Solution

1
Analyze the business requirements from the scenario.
The company has a highly variable workload (running for a few weeks quarterly) and needs low-latency access for global collaborators in North America, Europe, and Asia.
Identifying the specific operational needs maps them to the corresponding AWS Cloud benefits.
2
Map the variable compute workload needs to AWS Cloud benefits.
Instead of guessing capacity or purchasing fixed servers, they should scale dynamically. This maps to the benefit of 'Stop guessing capacity'.
AWS allows dynamic scaling of infrastructure to handle peaks and scale down when not in use.
3
Map the global low-latency requirements to AWS Cloud benefits.
They can deploy resources to multiple AWS Regions globally in minutes. This maps to the benefit of 'Go global in minutes'.
Global deployment allows workloads and data-analysis portals to be located closer to collaborators.

Key Concept

Identify and define the 6 core benefits of the AWS Cloud, specifically focusing on global reach and capacity management.
Estimated Time:1m 30s
Question 567Question

A company is configuring a database for their web application on AWS. To prevent downtime in the event of a hardware failure, they set up a secondary database instance in a different Availability Zone that automatically takes over if the primary database fails. Which AWS Cloud design principle is directly demonstrated by this setup?

Show answer & explanation

Answer: Design for failure

Answer

Design for failure
The correct answer is the principle of designing for failure. Configuring a secondary database in a different Availability Zone to automatically take over in the event of a primary database failure is a classic application of this principle. It focuses on building redundancy and automatic failover mechanisms to ensure high availability and prevent single points of failure.

Step-by-Step Solution

1
Identify the goal of the configuration in the scenario.
The scenario describes setting up a standby database in a different Availability Zone that automatically takes over if the primary database fails to ensure the application remains running.
Understanding the key goal (high availability and redundancy during a failure) helps narrow down the relevant AWS design principle.
2
Evaluate the options against AWS Cloud design principles.
The mechanism of setting up automatic failover and redundancy directly maps to the principle of designing for failure.
This step ensures that the chosen design principle matches the specific architectural action described in the scenario.

Key Concept

Design for failure
Question 568Question

Zenith Commerce is planning to migrate its on-premises application portfolio to the AWS Cloud. The IT team has defined two specific goals for this migration phase:
1. Migrate their self-managed relational database to Amazon RDS for PostgreSQL to minimize database administration overhead, without changing the application's core logic.
2. Replace their legacy, self-managed customer relationship management (CRM) software with a cloud-native Software-as-a-Service (SaaS) solution.

Which of the following migration strategies should the company use to achieve these goals? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Replatforming to migrate the relational database to Amazon RDS; Repurchasing to transition the CRM software to a cloud-native SaaS solution

Answer

Replatforming should be used to migrate the database to Amazon RDS, and Repurchasing should be used to transition the CRM software to a SaaS solution.
The correct options are Replatforming and Repurchasing. Replatforming is correct for the database migration because it shifts the workload to a managed database service (Amazon RDS) to optimize operations without redesigning the application logic. Repurchasing is correct for the CRM system because the company is retiring its legacy, self-managed CRM software in favor of adopting a new cloud-native SaaS model.

Step-by-Step Solution

1
Analyze the first migration requirement: moving a self-managed relational database to a managed database service (Amazon RDS) to reduce administrative overhead without altering core logic.
Identify that this matches the Replatforming strategy. In a replatforming migration, core application code is not changed, but minor optimizations or component updates (like shifting to a managed service) are executed.
This strategy allows the organization to achieve cloud benefits like reduced administration without the risk and effort of a full code redesign.
2
Analyze the second migration requirement: replacing a legacy, self-managed CRM application with a cloud-native Software-as-a-Service (SaaS) solution.
Identify that this matches the Repurchasing strategy. Repurchasing involves abandoning the existing application and buying a new product, typically a SaaS version.
Replacing custom or legacy code with a SaaS platform represents a licensing model change and software replacement, which defines the repurchasing strategy.

Key Concept

Identifying AWS Migration Strategies (6 Rs)
Question 569Question

A university is hosting its student registration portal on AWS. The university's compliance department requires a complete history of all API calls and administrative actions taken within the AWS account to audit user activity. Which AWS service should the university use to meet this audit requirement?

Show answer & explanation

Answer: AWS CloudTrail

Answer

AWS CloudTrail
AWS CloudTrail is specifically designed to enable governance, compliance, operational auditing, and risk auditing of an AWS account. It records API calls and user actions, allowing the university to track changes, investigate security incidents, and ensure compliance requirements are met.

Step-by-Step Solution

1
Identify the primary requirement in the scenario, which is auditing and tracking a complete history of API calls and user administrative actions in the AWS account.
Recognized that API auditing is required.
This helps determine which service is designed for recording API activity.
2
Evaluate the available AWS services to find the one that logs and records account activity and API requests.
AWS CloudTrail is identified as the service dedicated to logging API calls, while Amazon CloudWatch is for performance metrics and Amazon GuardDuty is for threat detection.
Matching the requirements with the core purpose of each AWS service.

Key Concept

AWS CloudTrail is the primary service used for auditing API actions and logging user activity across an AWS account.
Estimated Time:45s
Question 570Question

A digital marketing agency needs to retrieve the AWS Service Organization Control (SOC) reports to satisfy a client's security questionnaire about the underlying cloud infrastructure. Which AWS tool or service should the agency use to obtain these official documents?

Show answer & explanation

Answer: AWS Artifact

Answer

AWS Artifact
AWS Artifact is the central repository that provides customers with free, on-demand access to AWS security and compliance reports (such as SOC and PCI reports) as well as select online agreements. This allows the agency to retrieve and share official documentation about the compliance of the underlying AWS infrastructure.

Step-by-Step Solution

1
Identify the request for third-party compliance documentation, specifically SOC reports, regarding the underlying AWS infrastructure.
The requirement is to obtain official, pre-audited compliance reports for the cloud platform.
External clients need proof of cloud infrastructure compliance to meet their security requirements.
2
Determine which AWS service acts as a self-service repository for retrieving compliance reports and agreements.
AWS Artifact is identified as the portal providing on-demand access to compliance reports.
AWS Artifact allows customers to download SOC, PCI, and ISO reports directly.

Key Concept

AWS Artifact provides on-demand, self-service access to AWS compliance reports and security documents.
Question 571Question

A global organization wants to implement a robust security logging and auditing architecture. They need to meet three distinct security and operational monitoring objectives:

1. They must track and log all management events and API calls across their entire AWS Organization for compliance auditing.
2. They need to monitor CPU utilization and disk read/write metrics of their Amazon EC2 instances to dynamically scale resources and trigger operational alerts.
3. They require intelligent threat detection that uses machine learning to continuously analyze metadata logs (such as VPC Flow Logs and DNS logs) to identify potential malicious activity.

Which combination of AWS services should the organization implement to satisfy these requirements?

Show answer & explanation

Answer: AWS CloudTrail for tracking organizational API calls, Amazon CloudWatch for EC2 performance metrics and triggering operational alerts, and Amazon GuardDuty for intelligent threat detection

Answer

AWS CloudTrail for tracking organizational API calls, Amazon CloudWatch for EC2 performance metrics and triggering operational alerts, and Amazon GuardDuty for intelligent threat detection
The correct service mapping matches each requirement: AWS CloudTrail logs management events and API actions centrally; Amazon CloudWatch monitors resource performance metrics (like CPU and disk read/write) and handles alarms; Amazon GuardDuty provides intelligent, machine learning-driven threat detection by analyzing VPC Flow Logs, DNS logs, and CloudTrail events.

Step-by-Step Solution

1
Analyze the first requirement: tracking and logging all management events and API calls across the AWS Organization for compliance.
Identify AWS CloudTrail as the service designed to record API calls, console actions, and management events.
AWS CloudTrail provides governance, compliance, operational auditing, and risk auditing of your AWS account actions.
2
Analyze the second requirement: monitoring CPU utilization and disk metrics of Amazon EC2 instances to scale resources and trigger alerts.
Identify Amazon CloudWatch as the monitoring and observability service that collects performance metrics and sets alarms.
Amazon CloudWatch tracks raw metrics from AWS resources and allows the creation of alarms and scaling actions based on those metrics.
3
Analyze the third requirement: intelligent threat detection using machine learning to analyze VPC Flow Logs, DNS logs, and CloudTrail events.
Identify Amazon GuardDuty as the intelligent threat detection service.
Amazon GuardDuty continuously monitors AWS accounts and workloads for malicious activity and unauthorized behavior using log sources.

Key Concept

Selecting appropriate logging, monitoring, and threat detection services in AWS based on functional and security requirements.
Question 572Question

A media streaming platform is implementing a security policy to protect user payment information and video assets on AWS. The security team needs to configure encryption for data at rest in Amazon S3 and data in transit between users and the streaming application. Which of the following statements represent the customer's responsibility under the AWS Shared Responsibility Model for this data protection scenario? (Select TWO.)

Select all that apply

Show answer & explanation

Answer: Configuring key policies in AWS Key Management Service (AWS KMS) to restrict access to encryption keys; Enabling HTTPS on the application's load balancers by installing SSL/TLS certificates

Answer

Configuring key policies in AWS Key Management Service (AWS KMS) to restrict access to encryption keys, and enabling HTTPS on the application's load balancers by installing SSL/TLS certificates.
Under the AWS Shared Responsibility Model, the customer is responsible for security 'in the cloud.' In this scenario, this includes managing access controls to their cryptographic resources (such as configuring key policies in AWS KMS) and securing data in transit (such as enabling HTTPS and installing SSL/TLS certificates on the load balancers they deploy). AWS is responsible for security 'of the cloud,' which covers physical infrastructure security, physical host maintenance, and operating system/firmware patching of managed services.

Step-by-Step Solution

1
Determine the scope of the customer's control over encryption at rest within S3.
The customer is responsible for configuring S3 bucket settings and defining who can use the encryption keys by creating and managing KMS key policies.
Security 'in the cloud' dictates that the customer manages their data configurations and access controls.
2
Determine the scope of the customer's control over encryption in transit.
The customer must secure transport layer traffic by obtaining SSL/TLS certificates and configuring endpoints, such as load balancers, to require HTTPS.
AWS does not automatically enforce transit encryption on customer-managed endpoints; this configuration is the customer's responsibility.
3
Identify and eliminate AWS infrastructure responsibilities.
Tasks involving physical hardware replacement, physical data center operations, and managed service firmware upgrades are classified as security 'of the cloud' and belong to AWS.
AWS handles all operational, physical, and foundational maintenance of cloud infrastructure.

Key Concept

Shared Responsibility Model for Data Protection and Encryption
Question 573Question

A cloud administrator is configuring security settings for an Amazon S3 bucket that will store proprietary company documents. To protect data at rest, which security action is the cloud administrator responsible for executing?

Show answer & explanation

Answer: Enabling server-side encryption on the Amazon S3 bucket

Answer

Enabling server-side encryption on the Amazon S3 bucket
Enabling server-side encryption is the correct action because under the AWS Shared Responsibility Model, the customer is responsible for data encryption configuration, identity management, and guest operating system security (security 'in' the cloud).

Step-by-Step Solution

1
Identify the data protection control needed in the scenario.
The goal is to protect data at rest within an S3 bucket.
This determines whether the control applies to user-configured settings or underlying cloud infrastructure.
2
Apply the AWS Shared Responsibility Model to the candidate tasks.
Configuring S3 bucket settings (like enabling server-side encryption) is classified as security 'in' the cloud, which is the customer's responsibility. Tasks like firmware updates, OS patching of hypervisors, and physical disk decommissioning are security 'of' the cloud, which is AWS's responsibility.
This distinguishes between customer-managed tasks and AWS-managed infrastructure tasks.

Key Concept

Under the AWS Shared Responsibility Model, customers are responsible for security 'in' the cloud (such as configuring data encryption at rest and in transit), while AWS is responsible for security 'of' the cloud (including the physical infrastructure, virtualization layer, and hardware maintenance).
Question 574Question

A gaming company is migrating its leaderboard database to AWS. The company needs to encrypt the database backups stored in Amazon S3 at rest and ensure that all data sent to the database is encrypted in transit. Under the AWS Shared Responsibility Model, which two of the following tasks are the responsibility of the customer?

Select all that apply

Show answer & explanation

Answer: Enabling server-side encryption on the Amazon S3 buckets.; Configuring SSL/TLS on client applications to encrypt data in transit.

Answer

Enabling server-side encryption on the Amazon S3 buckets and configuring SSL/TLS on client applications to encrypt data in transit.
Under the AWS Shared Responsibility Model, the customer is responsible for 'security in the cloud'. This includes configuring data protection settings such as enabling server-side encryption on Amazon S3 buckets to protect data at rest, and implementing SSL/TLS on client applications to protect data in transit. AWS is responsible for 'security of the cloud', which includes physical security of the infrastructure.

Step-by-Step Solution

1
Determine which tasks relate to customer-managed configurations in the cloud versus the underlying infrastructure managed by AWS.
Configuring S3 encryption settings and application network protocols are customer tasks, while physical data center security and hardware replacement are managed by AWS.
The AWS Shared Responsibility Model divides tasks into security 'in' the cloud (customer responsibility) and security 'of' the cloud (AWS responsibility).
2
Analyze key management options to identify the correct usage of encryption services.
Standard S3-managed encryption (SSE-S3) does not require provisioning a dedicated single-tenant hardware security module (AWS CloudHSM).
AWS CloudHSM is a dedicated hardware module, whereas default S3 encryption is managed automatically by AWS without infrastructure provisioning.

Key Concept

Under the AWS Shared Responsibility Model, customers are responsible for encrypting their data in transit (using protocols like SSL/TLS) and configuring encryption at rest (such as enabling server-side encryption on S3 buckets).
Question 575Question

A tourism agency is deploying a customer-facing mobile booking application and decides to use Amazon Cognito for user authentication and directory management. Under the AWS Shared Responsibility Model, which of the following is a responsibility of the customer?

Show answer & explanation

Answer: Configuring password complexity policies and enabling Multi-Factor Authentication (MFA) for the Cognito user pools

Answer

Configuring password complexity policies and enabling Multi-Factor Authentication (MFA) for the Cognito user pools
Under the AWS Shared Responsibility Model, configuring identity settings (such as password policies and MFA requirements) represents security 'in' the cloud, which is the customer's responsibility.

Step-by-Step Solution

1
Determine the type of AWS service described in the scenario.
Amazon Cognito is classified as a fully managed service.
Knowing that Amazon Cognito is a managed service helps establish that AWS manages the infrastructure, server patching, and physical security.
2
Identify which security tasks are customer-controlled configurations for the identity provider.
Defining user password complexity and enabling Multi-Factor Authentication (MFA) are configuration settings within the Cognito user pool.
Under the Shared Responsibility Model, the customer is responsible for access policies, identity settings, and data protection inside the managed service.

Key Concept

Under the AWS Shared Responsibility Model, for managed services like Amazon Cognito, AWS is responsible for physical security and server/infrastructure maintenance, while the customer is responsible for service configuration, data classification, and access policies.
Estimated Time:1m 0s
Question 576Question

A developer needs to run a short Python script for 10 seconds every night to clean up temporary database records. The developer does not want to provision or manage any virtual servers. Which AWS compute service should be used to run this script?

Show answer & explanation

Answer: AWS Lambda

Answer

AWS Lambda
The correct option is AWS Lambda because it is a serverless compute service that runs code only when triggered (such as by a cron schedule) and automatically handles the underlying compute infrastructure, freeing the developer from server management.

Step-by-Step Solution

1
Identify the primary workload requirement and management constraints.
The script runs briefly (10 seconds) once per day, and the developer wants to avoid server management.
This establishes that a serverless, event-driven compute option is the most suitable and cost-effective choice.
2
Evaluate the available compute options against these constraints.
AWS Lambda allows running code without provisioning or managing servers, and charges only for the compute time used, fulfilling all constraints.
Other options like Amazon EC2 or Amazon Lightsail require configuring and running virtual machines, which violates the requirement to avoid managing servers.

Key Concept

AWS Lambda allows users to run code as serverless functions, eliminating the need to provision or manage servers while automatically scaling and only charging for active compute time.
Question 577Question

An application developer is configuring security rules for an Amazon EC2 instance. They notice that when they allow inbound traffic on a specific port, the return outbound traffic is automatically allowed without requiring an explicit outbound rule. Which AWS network security component exhibits this stateful behavior?

Show answer & explanation

Answer: Security Groups

Answer

Security Groups
Security Groups are stateful firewalls operating at the instance level. Any permitted inbound connection automatically allows the corresponding outbound return traffic, regardless of the outbound rules.

Step-by-Step Solution

1
Analyze the network traffic behavior described in the scenario.
The firewall automatically permits outbound responses to approved inbound requests, showing stateful tracking.
Understanding whether a firewall is stateful or stateless is key to identifying how it manages return traffic.
2
Select the AWS security feature that matches this stateful behavior at the instance level.
Security Groups are the stateful firewalls that operate at the instance level.
This matches the behavior in the scenario, distinguishing it from Network ACLs, which are stateless.

Key Concept

Stateful and stateless network filtering in AWS (Security Groups vs. Network ACLs)
Estimated Time:45s
Question 578Question

A newly formed cloud engineering team needs to perform daily administrative duties, such as configuring network settings and launching Amazon EC2 instances. Which approach represents the AWS-recommended best practice for securing the AWS account root user while enabling these tasks?

Show answer & explanation

Answer: Enable multi-factor authentication (MFA) on the root user, lock away its credentials, and create an IAM user with administrative permissions for daily tasks.

Answer

Enable multi-factor authentication (MFA) on the root user, lock away its credentials, and create an IAM user with administrative permissions for daily tasks.
The correct answer is to enable multi-factor authentication (MFA) on the root user, lock its credentials, and create an IAM user with administrator access for daily tasks. This aligns with the AWS Security best practice of minimizing the use of the root account and ensuring that daily tasks are performed using standard identities with restricted or monitored access.

Step-by-Step Solution

1
Secure the AWS account root user by enabling Multi-Factor Authentication (MFA) and locking its credentials.
The root account is protected against unauthorized access, even if the primary password is leaked.
The root user has unrestricted access to all resources and billing, making its protection the highest priority.
2
Create individual IAM users for administrative tasks and assign administrative permissions.
Daily operations are performed using identities with auditable actions and permissions that can be restricted if necessary.
AWS recommends limiting root account usage to only a small subset of specific tasks, performing all other administrative operations via IAM.

Key Concept

AWS Root Account Security and IAM Best Practices
Question 579Question

A cloud engineer has successfully created a new AWS account for a startup. To secure the account immediately, what is the AWS-recommended best practice for performing daily administrative operations?

Show answer & explanation

Answer: Create an IAM user with administrative permissions and use it for daily tasks, while restricting the root user.

Answer

Create an IAM user with administrative permissions and use it for daily tasks, while restricting the root user.
The AWS-recommended best practice is to secure the root user credentials and avoid using them for daily tasks. Instead, an IAM user with administrative permissions should be created and used for day-to-day administrative operations.

Step-by-Step Solution

1
Identify the AWS security best practices regarding the root user account.
The root user has unrestricted access to all resources and billing information and should not be used for daily tasks.
Restricting root user usage minimizes the risk of accidental configuration changes or credential compromise.
2
Determine the correct entity for daily administrative tasks.
An IAM user with administrative privileges should be created to manage resources day-to-day.
This allows for proper logging, control, and alignment with the principle of least privilege where appropriate.

Key Concept

AWS Root Account Security and IAM Administration Best Practices
Question 580Question

A financial technology firm wants to enhance its security posture on AWS. The firm needs to meet two specific requirements: first, they want to continuously monitor their AWS accounts, workloads, and data for malicious activity, such as unauthorized API calls or potential data exfiltration. Second, they need an automated way to scan container images stored in Amazon Elastic Container Registry (Amazon ECR) for software vulnerabilities before they are deployed to production.

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

Select all that apply

Show answer & explanation

Answer: Amazon GuardDuty; Amazon Inspector

Answer

The firm should use Amazon GuardDuty for continuous threat monitoring and Amazon Inspector to scan container images for vulnerabilities.
The correct options are the services designed for threat detection and vulnerability scanning. Continuous threat detection is provided by Amazon GuardDuty, which monitors accounts and workloads for malicious activity. Automated vulnerability scanning of container images in Amazon ECR is provided by Amazon Inspector.

Step-by-Step Solution

1
Identify the service needed for continuous monitoring of accounts, workloads, and data to detect malicious activity or unauthorized behavior.
Amazon GuardDuty uses machine learning and threat intelligence to detect malicious activity (such as resource hijacking, unauthorized access, or unusual API activity) across log sources like VPC Flow Logs, DNS logs, and CloudTrail events.
This directly fulfills the first requirement of threat detection.
2
Identify the service needed to scan container images stored in Amazon ECR for known software vulnerabilities before deployment.
Amazon Inspector automatically scans container images in ECR (as well as EC2 instances and Lambda functions) against vulnerability databases to identify security weaknesses.
This directly fulfills the second requirement of vulnerability management.

Key Concept

Continuous threat detection and automated software vulnerability scanning on AWS
PreviousPage 29 / 74Next
All practice questions — AWS Certified Cloud Practitioner | Examkin