AWS Certified Solutions Architect Professional (SAP-C02) Practice Test – 258 Free Exam Questions with Answers

AWS Certified Solutions Architect Professional (SAP-C02)

258 questions · instant answer feedback · concise explanations · free

  1. Question 1 of 258A company is developing an online voting application for a photo competition. The infrastructure is deployed in AWS using CloudFormation. The application accepts high-quality images of each contestant and stores them in S3 then records the information about the image as well as the contestant's profile in RDS. After the competition, the CloudFormation stack is not used anymore, and to save costs, the stack can be terminated. The manager instructed the solutions architect to back up the RDS database and the S3 bucket so the data can still be used even after the CloudFormation template is deleted. Which of the following options is the MOST suitable solution to fulfill this requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Set the DeletionPolicy on the RDS resource to snapshot and set the S3 bucket to retain.

    Setting the DeletionPolicy to Snapshot for RDS creates a final backup, while Retain on the S3 bucket preserves the objects during stack deletion. Remember that S3 does not support the Snapshot DeletionPolicy, only Retain or Delete.

  2. Question 2 of 258A company develops new android and iOS mobile apps. The company is considering storing user customization data in AWS. This would provide a more uniform cross-platform experience to their users using multiple mobile devices to access their apps. The preference data for each user is estimated to be 4 KB in size. Additionally, 3 million customers are expected to use the application on a regular basis, using their social login accounts for easier user authentication. How should the Solutions Architect design a highly available, cost-effective, scalable, and secure solution to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Provision a table in DynamoDB containing an item for each user having the necessary attributes to hold the user preferences. The mobile app will query the user preferences directly from the table. Use STS, Web Identity Federation, and DynamoDB's Fine-Grained Access Control for authentication and authorization.

    Using DynamoDB with web identity federation and fine-grained access control provides a highly scalable, secure, and cost-effective solution for small user preference data. RDS is not as cost-effective for simple key-value profile lookups across millions of users.

  3. Question 3 of 258An IT consultancy company has multiple offices located in San Francisco, Frankfurt, Tokyo, and Manila. The company is using AWS Organizations to easily manage its several AWS accounts which are being used by its regional offices and subsidiaries. A new AWS account was recently added to a specific organizational unit (OU) which is responsible for the overall systems administration. The solutions architect noticed that the account is using a root-created Amazon ECS Cluster with an attached service-linked role. For regulatory purposes, the solutions architect created a custom SCP that would deny the new account from performing certain actions in relation to using ECS. However, after applying the policy, the new account could still perform the actions that it was supposed to be restricted from doing. Which of the following is the most likely reason for this problem?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. SCPs do not affect any service-linked role. Service-linked roles enable other AWS services to integrate with AWS Organizations and can't be restricted by SCPs.

    Service Control Policies explicitly do not affect service-linked roles because these roles are integral to AWS service functionality. If you need to restrict an action performed directly by an AWS service, you must block the user or role invoking the service instead.

  4. Question 4 of 258A company recently adopted a hybrid cloud architecture, requiring the migration of databases from an on-premises data center to AWS. One of the applications requires a heterogeneous database migration, specifically transforming an on-premises Oracle database to PostgreSQL. To accomplish this, a schema and code transformation must be completed prior to migrating the data. Which of the following options is the most suitable approach to migrate the database in AWS?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use the AWS Schema Conversion Tool (SCT) to convert the source schema to match that of the target database. Migrate the data using the AWS Database Migration Service (DMS) from the source database to an Amazon RDS for PostgreSQL database.

    For heterogeneous migrations, the AWS Schema Conversion Tool automatically converts the source database schema and code to match the target PostgreSQL database. AWS Database Migration Service then securely migrates the actual data. Other tools do not handle schema transformations natively.

  5. Question 5 of 258A company plans to decommission its legacy web application that is hosted in AWS. It is composed of an Auto Scaling group of Amazon EC2 instances and an Application Load Balancer (ALB). The new application is built on a new framework. The solutions architect has been tasked with setting up a new serverless architecture that comprises AWS Lambda, Amazon API Gateway, and Amazon DynamoDB. In addition, it is required to build a CI/CD pipeline to automate the build process and to support gradual deployments. The team initially tried an all-at-once deployment strategy, but it could not deliver the gradual rollout the business requires. Which is the most suitable way to build, test, and deploy the new architecture in AWS?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use AWS Serverless Application Model (AWS SAM) and set up AWS CodeBuild, AWS CodeDeploy, and AWS CodePipeline to build a CI/CD pipeline.

    The AWS Serverless Application Model seamlessly integrates with AWS CodePipeline, CodeBuild, and CodeDeploy to build, test, and deploy serverless applications. It natively supports gradual deployment strategies like canary and linear deployments for Lambda functions. Elastic Beanstalk is intended for EC2 workloads, not serverless architectures.

  6. Question 6 of 258A company is planning to build its new customer relationship management (CRM) portal in AWS. The application architecture will be using a containerized microservices hosted on an Amazon ECS cluster. A Solutions Architect has been tasked to set up the architecture and comply with the AWS security best practice of granting the least privilege. The architecture should also support the use of security groups and standard network monitoring tools at the container level to comply with the company's strict IT security policies. Which of the following provides the MOST secure configuration for the CRM portal?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use the awsvpc network mode in the task definition in your Amazon ECS Cluster. Attach security groups to the ECS tasks then use IAM roles for tasks to access other resources.

    Using the awsvpc network mode assigns each task its own elastic network interface, allowing granular security group attachments directly to containers. IAM roles for tasks grant temporary database credentials without hardcoding sensitive information. The bridge network mode restricts this container-level security visibility.

  7. Question 7 of 258A company has created multiple accounts in AWS to support the rapid growth of its cloud services. The multiple accounts are used to separate its various departments such as finance, human resources, engineering, and many others. Each account is managed by a Systems Administrator who has root access for that specific account only. There is a requirement to centrally manage policies across multiple AWS accounts by allowing or denying particular AWS services for individual accounts, or for groups of accounts. The team evaluated AWS Proton for centralized governance but found it introduced more complexity than needed for simple service restrictions. Which is the most suitable solution that should be implemented with the LEAST amount of complexity?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use AWS Organizations and Service Control Policies to control the list of AWS services that can be used by each member account.

    AWS Organizations combined with Service Control Policies provides centralized governance to restrict available AWS services across multiple accounts. SCPs act as guardrails affecting all accounts within an Organizational Unit, while IAM policies manage granular resource access within those accounts.

  8. Question 8 of 258A graphics design startup is using multiple Amazon S3 buckets to store high-resolution media files for their various digital artworks. After securing a partnership deal with a leading media company, the two parties shall be sharing digital resources with one another as part of the contract. The media company frequently performs multiple object retrievals from the S3 buckets every day, which increased the startup's data transfer costs. As the Solutions Architect, what should you do to help the startup lower their operational costs?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Enable the Requester Pays feature in all of the startup's S3 buckets to make the media company pay the cost of the data transfer from the buckets.

    Enabling Requester Pays on the S3 buckets shifts the data transfer and request costs to the media company accessing the data. Standard cross-account access alone still charges the bucket owner for all data transfer out of the bucket.

  9. Question 9 of 258A clinic runs its medical record system using a fleet of Windows-based Amazon EC2 instances with several EBS volumes attached to it. Since the records that they are storing are confidential health files of their patients, it is a requirement that the latest security patches are installed on the EC2 instances. In addition, there should be a system in the cloud architecture that checks all of the EC2 instances if they are using an approved Amazon Machine Image (AMI). The system that will be implemented should not impede developers from launching instances using an unapproved AMI, but you still have to be notified if there are non-compliant EC2 instances in your VPC. Which of the following should the solutions architect implement to protect and monitor all of your instances as required above? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Set up a patch baseline that defines which patches are approved for installation on your instances using AWS Systems Manager Patch Manager. · D. Use the AWS Config Managed Rule which automatically checks whether your running EC2 instances are using approved AMIs. Set up CloudWatch Alarms to notify you if there are any non-compliant instances running in your VPC.

    Systems Manager Patch Manager handles the automated security patching, while AWS Config rules monitor for unapproved AMIs. GuardDuty is a threat detection service and does not evaluate patch levels or approved AMIs.

  10. Question 10 of 258A company provides big data services to enterprise clients around the globe. One of the clients has 60 TB of raw data from their on-premises Oracle data warehouse. The data is to be migrated to Amazon Redshift. However, the database receives minor updates on a daily basis while major updates are scheduled every end of the month. The migration process must be completed within approximately 30 days before the next major update on the Redshift database. The company can only allocate 50 Mbps of Internet connection for this activity to avoid impacting business operations. Which of the following actions will satisfy the migration requirements of the company while keeping the costs low?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create an AWS Snowball import job to request for a Snowball Edge device. Use the AWS Schema Conversion Tool (SCT) to process the on-premises data warehouse and load it to the Snowball Edge device. Install the extraction agent on a separate on-premises server and register it with AWS SCT. Once the Snowball Edge imports data to the S3 bucket, use AWS SCT to migrate the data to Amazon Redshift. Configure a local task and AWS DMS task to replicate the ongoing updates to the data warehouse. Monitor and verify that the data migration is complete.

    Using AWS Snowball Edge with the AWS Schema Conversion Tool extracts the massive dataset offline, bypassing the slow connection. AWS DMS then replicates the ongoing daily changes to Amazon Redshift to complete the migration within the window.

  11. Question 11 of 258A company is hosting a multi-tier web application in AWS. It is composed of an Application Load Balancer and Amazon EC2 instances across three Availability Zones. During peak load, its stateless web servers operate at 95% utilization. The current configuration relies on a fixed capacity model rather than a dynamic scaling policy, which limits its ability to respond quickly to sudden traffic surges and AZ failures. The system is set up to use Reserved Instances to handle the steady-state load and On-Demand Instances to handle the peak load. The manager instructed the team to review the current architecture and make the necessary changes to improve the system. Which of the following provides the most cost-effective architecture to allow the application to recover quickly in the event that an Availability Zone is unavailable during peak load?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Launch a Spot Fleet using a diversified allocation strategy, with Auto Scaling enabled on each AZ to handle the peak load instead of On-Demand instances. Retain the current setup for handling the steady state load.

    A Spot Fleet with a diversified allocation strategy provides the most cost-effective scaling for unpredictable peak loads across multiple Availability Zones. Reserved Instances are ideal for steady-state traffic but lack the cost savings of Spot for peaks.

  12. Question 12 of 258A company has several IoT-enabled devices and sells it to customers around the globe. Every 5 minutes, each IoT device sends back a data file that includes the device status and other information to an Amazon S3 bucket. The company already uses AWS IoT SiteWise to monitor device health in real time, but the data files are still processed in a nightly batch. Every midnight, a Python cron job runs from an Amazon EC2 instance to read and process each data file in the S3 bucket and load the values into a designated Amazon RDS database. The cron job takes about 10 minutes to process a day's worth of data. After each data file is processed, it is eventually deleted from the S3 bucket. The company wants to expedite the process and access the processed data on the RDS as soon as possible. Which of the following actions should be implemented to achieve this requirement with the LEAST amount of effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Convert the Python script cron job to an AWS Lambda function. Configure the S3 bucket event notifications to trigger the Lambda function whenever an object is uploaded to the bucket.

    Configuring S3 event notifications to trigger an AWS Lambda function processes each file immediately upon upload with minimal operational overhead. Using EventBridge or CloudTrail for S3 upload events adds unnecessary complexity for this specific use case.

  13. Question 13 of 258An enterprise runs its CMS application on an Auto Scaling group of Amazon EC2 instances behind an Application Load Balancer. The instances are placed in private subnets while the ALB is placed in public subnets. As part of best practices, the AWS Systems Manager Agent is installed on the instances and AWS Systems Manager Session Manager is used to log into the instances. The EC2 instances send application logs to Amazon CloudWatch Logs. Upon the deployment of the new application version, the new instances are being marked as unhealthy by the ALB and are being replaced by the Auto Scaling group. For troubleshooting, the solutions architect tries to log into the unhealthy instances but the instances are getting terminated. The collected logs on CloudWatch Logs do not show definitive errors in the application. Which of the following options is the quickest way for the solutions architect to troubleshoot the problem?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Go to the Auto Scaling Groups section in the AWS console and suspend the "Terminate" process for the ASG. Log in to one of the unhealthy instances using AWS Systems Manager Session Manager.

    Suspending the Terminate process for the Auto Scaling group stops the replacement cycle, keeping the failing instance alive so you can log in via Systems Manager. Relying on termination protection fails because the Auto Scaling group can override it to maintain capacity.

  14. Question 14 of 258A Business Process Outsourcing (BPO) startup is planning to launch a scalable and cost-effective call center system using AWS. The system should be able to receive inbound calls from thousands of customers and generate user contact flows. Callers must have the capability to perform basic tasks such as changing their password or checking their balance without them having to speak to a call center agent. It should also have advanced deep learning functionalities such as automatic speech recognition (ASR) to achieve highly engaging user experiences and lifelike conversational interactions. A feature that allows the solution to query other business applications and send relevant data back to callers must also be implemented. Which of the following is the MOST suitable solution that the Solutions Architect should implement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Set up a cloud-based contact center using the Amazon Connect service. Create a conversational chatbot using Amazon Lex with automatic speech recognition and natural language understanding to recognize the intent of the caller then integrate it with Amazon Connect. Connect the solution to various business applications and other internal systems using AWS Lambda functions.

    Amazon Connect provides a cloud-based contact center, while Amazon Lex integrates conversational AI to handle automatic speech recognition and intent understanding. Lambda then executes the backend business logic to fulfill user requests. Comprehend lacks ASR and Polly only provides text-to-speech.

  15. Question 15 of 258An IT consulting company has multiple AWS accounts for its teams and departments that have been grouped into several organizational units (OUs) using AWS Organizations. The lead solutions architect received a report from the security team that there was a suspected breach in one of the environments wherein a third-party AWS account was suddenly added to the AWS Organization without any prior approval. The external account has high-level access privileges to the accounts that the company owns. Fortunately, no detrimental action was performed yet. Which of the following actions should the solutions architect take to properly set up a monitoring system that notifies the company for any changes to the organization? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Use AWS Config to monitor the compliance of your AWS Organizations. Set up an SNS Topic or Amazon EventBridge that will send alerts to you for any changes. · D. Create a trail in Amazon CloudTrail to capture all API calls to your AWS Organizations, including calls from the AWS Organizations console and from code calls to the AWS Organizations APIs. Use Amazon EventBridge and SNS to raise events when administrator-specified actions occur in an organization and send a notification to you.

    CloudTrail captures AWS Organizations API calls, which Amazon EventBridge can monitor to trigger SNS notifications for unauthorized actions. AWS Config records resource configurations, ensuring continuous compliance monitoring across the organization. Systems Manager does not track these events.

  16. Question 16 of 258A company runs a Flight Deals web application which is currently hosted in their on-premises data center. The website hosts high-resolution photos of top tourist destinations in the world and uses a third-party payment platform to accept payments. Recently, the company heavily invested in their global marketing campaign and there is a high probability that the incoming traffic to their Flight Deals website will increase in the coming days. Due to a tight deadline, the company does not have the time to fully migrate the website to the AWS cloud. A set of security rules that block common attack patterns, such as SQL injection and cross-site scripting should also be implemented to improve website security. Which of the following options will maintain the website's functionality despite the massive amount of incoming traffic?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use CloudFront to cache and distribute the high resolution images and other static assets of the website. Deploy AWS WAF on the Amazon CloudFront distribution to protect the website from common web attacks.

    Using Amazon CloudFront offloads traffic by caching heavy static assets directly at the edge, significantly reducing the load on the on-premises origin. Deploying AWS WAF on the CloudFront distribution blocks malicious requests before they ever reach the origin network.

  17. Question 17 of 258A logistics company plans to host its web application on AWS to allow customers to track their shipping worldwide. The web application will have a multi-tier setup: Amazon EC2 instances for running the web and application layer, Amazon S3 bucket for hosting the static content, and a NoSQL database. The company plans to provision the resources in the us-east-1 Region. The company also wants to have a second site hosted in the us-west-1 Region for disaster recovery. The second site must have the same copy of data from the primary site and the failover should be as quick as possible when the primary region becomes unavailable. Failing back to the primary region should be done automatically once it becomes available again. Which of the following solutions should the Solutions Architect implement to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create the same resources of Auto Scaling group of EC2 instances for web and application tiers on both regions using AWS CloudFormation StackSets. Enable Amazon S3 cross-Region on the S3 bucket to asynchronously replicate the contents to the secondary region. Create Amazon Route 53 DNS zone entries with a failover routing policy and set the us-west-1 region as the secondary site. For the database tier, create a DynamoDB global table spanning both regions.

    DynamoDB global tables provide multi-active, multi-region replication ensuring quick failover and failback for NoSQL workloads. CloudFormation StackSets deploy infrastructure consistently, while Route 53 failover routing and S3 cross-region replication handle traffic and static assets. Avoid RDS MySQL since the scenario specifies NoSQL.

  18. Question 18 of 258A global financial company is launching its new trading platform in AWS which allows people to buy and sell their bitcoin, ethereum, ripple, and other cryptocurrencies, as well as access various financial reports. To meet the anti-money laundering and counter-terrorist financing (AML/CFT) measures compliance, all report files of the trading platform must not be accessible in certain countries which are listed in the Financial Action Task Force (FATF) list of non-cooperative countries or territories. You were given a task to ensure that the company complies with this requirement to avoid hefty monetary penalties. In this scenario, what is the best way to satisfy this security requirement in AWS while still delivering content to users around the globe with lower latency?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a CloudFront distribution with Geo-Restriction enabled to block all of the blacklisted countries from accessing the trading platform.

    CloudFront geo restriction blocks access from specific countries directly at the edge, fulfilling compliance while maintaining low latency. Route 53 geolocation cannot actively block traffic or provide edge caching, and managing network ACLs across dynamic IP ranges is unmanageable.

  19. Question 19 of 258A media company has a suite of internet-facing web applications hosted in the US West (N. California) Region in AWS. The architecture is composed of several On-Demand Amazon EC2 instances behind an Application Load Balancer, which is configured to use public SSL/TLS certificates. The Application Load Balancer also enables incoming HTTPS traffic through the fully qualified domain names (FQDNs) of the applications for SSL termination. A Solutions Architect has been instructed to upgrade the corporate web applications to a multi-region architecture that uses various AWS Regions such as ap-southeast-2, ca-central-1, eu-west-3, and so forth. Which of the following approaches should the Architect implement to ensure that all HTTPS services will continue to work without interruption?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. In each new AWS Region, request for SSL/TLS certificates using the AWS Certificate Manager for each FQDN. Associate the new certificates to the corresponding Application Load Balancer of the same AWS Region.

    ACM certificates used by Application Load Balancers are regional resources, meaning you must request a new certificate in every region where you deploy. Global CloudFront distributions can use a single certificate from US East, but regional load balancing requires regional certificates. KMS does not issue certificates.

  20. Question 20 of 258The department of education just recently decided to leverage the AWS cloud infrastructure to supplement its current on-premises network. They are building a new learning portal that teaches kids basic computer science concepts and provides innovative gamified courses for teenagers where they can gain higher rankings, power-ups, and badges. A Solutions Architect is instructed to build a highly available cloud infrastructure in AWS with multiple Availability Zones. The department wants to increase the application's reliability and gain actionable insights using application logs. A Solutions Architect needs to aggregate logs, automate log analysis for errors, and immediately notify the IT Operations team when errors breach a certain threshold. Which of the following is the MOST suitable solution that the Architect should implement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Download and install the Amazon CloudWatch agent in the on-premises servers and send the logs to Amazon CloudWatch Logs. Create a metric filter in CloudWatch to turn log data into numerical metrics to identify and measure application errors. Create a CloudWatch Alarm that monitors the metric filter and immediately notify the IT Operations team for any issues.

    The CloudWatch agent securely pushes on-premises logs to CloudWatch Logs, where metric filters extract errors into actionable data. CloudWatch alarms then monitor these metrics to trigger immediate notifications. QuickSight is an analytics tool, not a real-time alerting system.

  21. Question 21 of 258A company wants to host its internal web application in AWS. The front-end uses Docker containers, and it connects to a MySQL instance as the backend database. The company plans to use AWS-managed container services to reduce the overhead of managing the servers. The application should allow employees to access company documents, which are accessed frequently for the first 3 months and then rarely after that. As part of the company policy, these documents must be retained for at least five years. Because this is an internal web application, the company wants to have the lowest possible cost. Which of the following implementations is the most cost-effective solution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Deploy the Docker containers using Amazon Elastic Container Service (Amazon ECS) with Amazon EC2 Spot Instances. Ensure that Spot Instance draining is enabled on the ECS agent config. Use Reserved instance for the Amazon RDS database and its read replicas. Create an encrypted Amazon S3 bucket to store the company documents. Create a bucket lifecycle policy that will move the documents to S3 Glacier after three months and will delete objects older than five years.

    Using ECS on Spot Instances provides low-cost compute for containers, while Spot Instance draining ensures graceful task migration during interruptions. RDS Reserved Instances optimize database pricing, and an S3 lifecycle policy transitions older documents to Glacier, minimizing storage costs. EFS and On-Demand options are more expensive.

  22. Question 22 of 258A company runs hundreds of Windows-based Amazon EC2 instances on AWS. The Solutions Architect has been assigned to develop a workflow to ensure that the required patches of all Windows EC2 instances are properly identified and applied automatically. To maintain their system uptime requirements, it is of utmost importance to ensure that the EC2 instance reboots do not occur at the same time on all of their Windows instances. This is to avoid any loss of revenue that could be caused by any unavailability issues of their systems. Which of the following will meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create two Patch Groups with unique tags that you will assign to all of your EC2 Windows Instances. Associate the predefined AWS-DefaultPatchBaseline baseline on both patch groups. Set up two non-overlapping maintenance windows and associate each with a different patch group. Using Patch Group tags, register targets with specific maintenance windows and lastly, assign the AWS-RunPatchBaseline document as a task within each maintenance window which has a different processing start time.

    Creating two patch groups and associating them with non-overlapping maintenance windows ensures instances are patched and rebooted in staggered shifts. Assigning the AWS-RunPatchBaseline document within these windows fulfills the automated patching requirement. Using State Manager or Run Command lacks built-in reboot scheduling control.

  23. Question 23 of 258A multi-national tech company has multiple VPCs assigned for each of its IT departments. VPC peering has been set up whenever intercommunication is needed between the VPCs. The solutions architect has been instructed to launch a new central database server that can be accessed by the other VPCs of the company using the database.tutorialsdojo.com domain name. This server should only be resolvable and accessible within the associated VPCs since only internal applications will be using the database. Which of the following options should the solutions architect implement to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up a private hosted zone with a domain name of tutorialsdojo.com and specify the VPCs that you want to associate with the hosted zone. Create an A record with a value of database.tutorialsdojo.com which maps to the IP address of the EC2 instance of your database server. Modify the enableDnsHostNames attribute of your VPC to true and the enableDnsSupport attribute to true

    A Route 53 private hosted zone resolves internal domain names exclusively within your associated VPCs. By creating an A record mapped to the private IP address of the database, you ensure it remains internally accessible. Avoid public hosted zones or Elastic IPs for internal resources.

  24. Question 24 of 258A company has several AWS accounts that are managed using AWS Organizations. The company created only one organizational unit (OU), so all child accounts are members of the Production OU. The Solutions Architects control access to certain AWS services using SCPs that define the restricted services. The SCPs are attached at the root of the organization, which means the restrictions apply to all AWS accounts within the organization. The company recently acquired a small business firm, and its existing AWS account was invited to join the organization using the InviteAccountToOrganization operation in the Organizations API. Upon onboarding, the administrators of the small business firm cannot apply the required AWS Config rules to meet the parent company's security policies. Which of the following options will allow the administrators to update the Config rules on the AWS account without introducing long-term management overhead?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Remove the SCPs on the organization's root and apply them to the Production OU instead. Create a temporary Onboarding OU that has an attached SCP allowing changes to Config. Add the new account to this temporary OU and make the required changes before moving it to the Production OU.

    Moving service control policies from the root to the Production organizational unit prevents them from applying to a temporary Onboarding unit. This allows the new account to configure AWS Config rules before moving into production. Root-level explicit denies cannot be overridden by child-level allows.

  25. Question 25 of 258A stocks brokerage firm hosts its legacy application on Amazon EC2 in a private subnet of its Amazon VPC. The application is accessed by the employees from their corporate laptops through a proprietary desktop program. The company network is peered with the AWS Direct Connect (DX) connection to provide a fast and reliable connection to the private EC2 instances inside the VPC. To comply with the strict security requirements of financial institutions, the firm is required to encrypt its network traffic that flows from the employees' laptops to the resources inside the VPC. Which of the following solution will comply with this requirement while maintaining the consistent network performance of Direct Connect?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Using the current Direct Connect connection, create a new public virtual interface and input the network prefixes that you want to advertise. Create a new site-to-site VPN connection to the VPC with the BGP protocol using the DX connection. Configure the company network to route employee traffic to this VPN.

    Establishing a site-to-site VPN over a public virtual interface on your Direct Connect connection encrypts the traffic while maintaining consistent network performance. A private virtual interface does not support VPN attachments for AWS public endpoints. Remember this public VIF requirement for encrypted Direct Connect.

  26. Question 26 of 258A company is hosting its flagship product page on a three-tier web application in its on-premises data center. The popularity of the last product launch attracted a sudden surge of traffic to its site, which caused some downtime that resulted in a significant impact on the product's sales volume. The management decided to move the application to AWS. The application uses a MySQL database and is written in the .NET Framework. The team used the AWS Application Discovery Service Agentless Collector to inventory the existing application and its database dependencies. The Solutions Architect must design a highly available and scalable infrastructure to handle the demand of 300,000 peak users. Which of the following design options would satisfy the above requirements while being cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Launch an AWS CloudFormation stack that contains an Auto Scaling Group of Amazon EC2 instances spanning multiple Availability Zones that are behind an Application Load Balancer. Use the stack to launch an Amazon Aurora MySQL database cluster in a Multi-AZ configuration with a "retain" deletion policy. Create an Amazon Route 53 zone entry for the company's domain name with an Alias record pointed to the ALB.

    Using CloudFormation to deploy a multi-AZ Auto Scaling group behind an Application Load Balancer provides the required scalability and availability for the web tier. Pairing this with an Amazon Aurora MySQL cluster offers high database availability. Multi-region deployments add unnecessary costs for this single global product launch.

  27. Question 27 of 258A fintech startup has developed a cloud-based payment processing system that accepts credit card payments as well as cryptocurrencies such as Bitcoin, Ripple, and the likes. The system is deployed in AWS which uses EC2, DynamoDB, S3, and CloudFront to process the payments. Since they are accepting credit card information from the users, they are required to be compliant with the Payment Card Industry Data Security Standard (PCI DSS). On the recent 3rd-party audit, it was found that the credit card numbers are not properly encrypted and hence, their system failed the PCI DSS compliance test. You were hired by the fintech startup to solve this issue so they can release the product in the market as soon as possible. In addition, you also have to improve performance by increasing the proportion of your viewer requests that are served from CloudFront edge caches instead of going to your origin servers for content.In this scenario, what is the best option to protect and encrypt the sensitive credit card information of the users and to improve the cache hit ratio of your CloudFront distribution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure the CloudFront distribution to enforce secure end-to-end connections to origin servers by using HTTPS and field-level encryption. Configure your origin to add a Cache-Control max-age directive to your objects, and specify the longest practical value for max-age to increase your cache hit ratio.

    CloudFront field-level encryption securely encrypts specific sensitive data fields like credit card numbers at the edge before reaching your origin servers. Setting a long Cache-Control max-age directive keeps objects at edge locations longer, directly improving the cache hit ratio.

  28. Question 28 of 258A company wants to implement a multi-account strategy across several research facilities. Approximately 50 teams will each require a dedicated AWS account. The organization has a centralized Cloud Center of Excellence team that manages all domains and subdomains, so the company needs a streamlined DNS architecture that simplifies private DNS management across accounts. The solution must allow private DNS to be shared among virtual private clouds (VPCs) in different AWS accounts. Which of the following solutions has the LEAST complex DNS architecture and allows all VPCs to resolve the needed domain names?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. On AWS Resource Access Manager (RAM), set up a shared services VPC on your central account. Set up VPC peering from this VPC to each VPC on the other accounts. On Amazon Route 53, create a private hosted zone associated with the shared services VPC. Manage all domains and subdomains on this zone. Programmatically associate the VPCs from other accounts with this hosted zone.

    Using Route 53 private hosted zones with cross-account VPC associations allows you to share private DNS resolution seamlessly across different AWS accounts. This centralized approach keeps DNS architecture simple and easily queried by participating VPCs. Manually updating name server records across accounts is an anti-pattern that breaks private zone resolution.

  29. Question 29 of 258A company runs several clusters of Amazon EC2 instances in AWS. An unusual API activity and port scanning in the VPC have been identified by the security team. They noticed that there are multiple port scans being triggered to the EC2 instances from a specific IP address. To fix the issue immediately, the solutions architect has decided to simply block the offending IP address. The solutions architect is also instructed to fortify their existing cloud infrastructure security from the most frequently occurring network and transport layer DDoS attacks. Which of the following is the most suitable method to satisfy the above requirement in AWS?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Deny access from the IP Address block in the Network ACL. Use AWS Shield Advanced to protect your cloud resources.

    Network ACLs provide an immediate stateless block for the offending IP address, and AWS Shield Advanced protects against network and transport layer DDoS attacks. Security groups cannot explicitly deny traffic, making Network ACLs the necessary choice.

  30. Question 30 of 258A leading financial company is planning to launch its Node.js application with an Amazon RDS MariaDB database to serve its clients worldwide. The application will run on both on-premises servers as well as Reserved EC2 instances. To comply with the company's strict security policy, the database credentials must be encrypted both at rest and in transit. These credentials will be used by the application servers to connect to the database. The Solutions Architect is tasked to manage all of the aspects of the application architecture and production deployment. How should the Architect automate the deployment process of the application in the MOST secure manner?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Upload the database credentials with a Secure String data type in AWS Systems Manager Parameter Store. Install the AWS SSM agent on all servers. Set up a new IAM role that enables access and decryption of the database credentials from SSM Parameter Store. Associate this role to the EC2 instances. Create an IAM Service Role that will be associated with the on-premises servers. Deploy the application packages to the EC2 instances and on-premises servers using AWS CodeDeploy.

    Storing credentials as a Secure String in Systems Manager Parameter Store ensures encryption, while specific IAM roles grant instances least-privilege decryption access. Using AWS CodeDeploy automates the rollout across both EC2 instances and on-premises servers. Elastic Beanstalk cannot deploy to on-premises infrastructure.

  31. Question 31 of 258A small company has several AWS accounts that are used by multiple teams. To centralize DNS record keeping, the company has created a private hosted zone in Amazon Route 53 in the main Account A. The new application and database servers are hosted on a VPC in Account B. The CNAME record set db.tutorialsdojo.com has been created for the Amazon RDS endpoint on the private hosted zone in Amazon Route 53. Upon deployment, the application on the Amazon EC2 instances failed to start. The application logs indicate that the database endpoint db.tutorialsdojo.com is not resolvable. However, the solutions architect can confirm that the Route 53 entry is configured correctly. Which of the following options is the recommended solution for this issue? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. On Account A, create an authorization to associate its private hosted zone to the new VPC in Account B. · E. On Account B, associate the VPC to the private hosted zone in Account A. Delete the association authorization after the association is created.

    Associating a cross-account VPC with a private hosted zone requires explicit authorization from the hosted zone owner. Account A must authorize Account B, then Account B associates its VPC. Deleting the authorization afterward prevents unauthorized re-associations while maintaining the active link.

  32. Question 32 of 258A multinational consumer goods corporation structured their AWS accounts to use AWS Organizations, which consolidates payment of their multiple AWS accounts for their various Business Units (BUs) namely Beauty products, Baby products, Health products, and Home Care products. One of their Solutions Architects for the Baby products business unit has purchased 10 Reserved Instances for their new Supply Chain application which will go live 3 months from now. However, they do not want their Reserved Instance (RI) discounts to be shared by the other business units. Which of the following options is the most suitable solution for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Turn off the Reserved Instance (RI) sharing on the master account for all of the member accounts in the Baby products business unit.

    The payer account can disable Reserved Instance discount sharing for specific member accounts within AWS Organizations. This prevents the Baby products unit's reservations from applying to other business units. Member accounts cannot configure this directly, and removing them breaks consolidated billing.

  33. Question 33 of 258A multinational investment bank has a hybrid cloud architecture that uses a single 1 Gbps AWS Direct Connect connection to integrate its on-premises network to AWS Cloud. The bank has a total of 10 VPCs, which are all connected to its on-premises data center via the same Direct Connect connection that the engineer manages. Based on the recent IT audit, the existing network setup has a single point of failure, which needs to be addressed immediately. The engineer is also evaluating AWS VPN as a potential backup connectivity option for the hybrid network. Which of the following is the MOST cost-effective solution that should be implemented in order to improve the connection redundancy of the hybrid network?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Establish VPN tunnels from your on-premises data center to each of the 10 VPCs. Terminate each VPN tunnel connection at the virtual private gateway (VGW) of the respective VPC. Configure BGP for route management.

    Establishing Site-to-Site VPN tunnels from your data center to the virtual private gateways provides a highly available, lower-cost backup. BGP manages routing, automatically failing over if the Direct Connect link drops. Provisioning a second Direct Connect is expensive and often unnecessary for simple failover.

  34. Question 34 of 258A company wants to launch its online shopping website to give customers an easy way to purchase the products they need. The proposed setup is to host the application on an AWS Fargate cluster, utilize a Load Balancer to distribute traffic between the Fargate tasks, and use Amazon CloudFront for caching and content delivery. The company wants to ensure that the website complies with industry best practices and should be able to protect customers from common "man-in-the-middle" attacks for e-commerce websites such as DNS spoofing, HTTPS spoofing, or SSL hijacking. Which of the following configurations will provide the MOST secure access to the website?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Register the domain name on Route 53 and enable DNSSEC validation for all public hosted zones to ensure that all DNS requests have not been tampered with during transit. Use AWS Certificate Manager (ACM) to generate a valid TLS/SSL certificate for the domain name. Configure the Application Load Balancer with an HTTPS listener to use the ACM TLS/SSL certificate. Use Server Name Identification and HTTP to HTTPS redirection on CloudFront.

    Enabling Route 53 DNSSEC signing and validation protects against DNS spoofing by ensuring responses have not been tampered with in transit. Using an AWS Certificate Manager certificate on the Application Load Balancer prevents SSL hijacking by encrypting the connection. Avoid third-party DNS providers since Route 53 natively supports DNSSEC.

  35. Question 35 of 258A company uses computer simulations for modeling weather patterns in a certain country. The simulations generate terabytes of data, which is stored in a MySQL 8.0 database that runs in an Amazon EC2 instance. A Ruby on Rails application is hosted on a separate EC2 instance to process the data. The current database size is 16 TiB and is expected to grow as more complex simulations are created continuously. The facility wants to re-architect its infrastructure to be highly scalable and highly available as they need to run the application reliably 24×7. Which of the following is the MOST cost-effective solution that can satisfy the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Configure your application tier to run on an Auto Scaling group of smaller sized EC2 instances behind an Application Load Balancer. Purchase Reserved EC2 instances for fixed capacity and let the Auto Scaling instances run on demand. Migrate the MySQL database to Amazon Aurora. Create a read-replica on another Availability Zone of the Aurora instance for high availability.

    Migrating to Amazon Aurora provides automatic storage scaling up to 128 tebibytes, easily accommodating the database growth. Combining reserved instances for baseline capacity with on-demand instances in an Auto Scaling group optimizes compute costs while maintaining high availability. Managing databases on EC2 requires excessive manual overhead.

  36. Question 36 of 258A multinational financial company has a suite of web applications hosted in multiple VPCs in various AWS regions. As part of their security compliance, the company's Solutions Architect has been tasked to set up a logging solution to track all of the changes made to their AWS resources in all regions, which host their enterprise accounting systems. The company is using different AWS services such as Amazon EC2 instances, Amazon S3 buckets, CloudFront web distributions, and AWS IAM. The logging solution must ensure the security, integrity, and durability of the log data in order to pass the compliance requirements. In addition, it should provide an event history of the AWS account activity, including actions taken through the AWS Management Console, AWS SDKs, command-line tools, and API calls. In this scenario, which of the following options is the best solution to use?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create a new AWS CloudTrail trail in a new S3 bucket using the AWS CLI and also pass both the –is-multi-region-trail and –include-global-service-events parameters then encrypt log files using KMS encryption. Enable Multi-Factor Authentication (MFA) Delete on the S3 bucket and ensure that only authorized users can access the logs by configuring the bucket policies.

    Creating a multi-region AWS CloudTrail trail captures regional service events across all specified regions for accounting systems. Including global service events ensures that actions from global services like IAM and CloudFront are logged. Encrypting the S3 bucket with KMS and enabling MFA Delete secures the log data.

  37. Question 37 of 258A company is hosting its production environment on its on-premises servers. Most of the applications are packed as Docker containers that are manually run on self-managed virtual machines. The web servers are using the latest commercial Oracle Java SE suite which costs the company thousands of dollars in licensing costs. The MySQL databases are installed on separate servers configured on a source-replica setup for high availability. The company wants to migrate the whole environment to AWS Cloud to take advantage of its flexibility and agility, as well as use OpenJDK to save licensing costs without major changes in its applications. Which of the following application migration strategies meet the above requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Re-platform the environment on the AWS Cloud platform by running the Docker containers on Amazon ECS. Test the new OpenJDK Docker containers and upload them on Amazon Elastic Container Registry. Migrate the MySQL database to Amazon RDS using AWS Database Migration Service.

    Replatforming shifts existing Docker containers to Amazon ECS and the database to Amazon RDS, achieving cloud agility without fundamentally altering the architecture. Refactoring to Lambda or DynamoDB is incorrect because it violates the requirement to avoid major application changes.

  38. Question 38 of 258A company has production, development, and test environments in its software development department, and each environment contains tens to hundreds of EC2 instances, along with other AWS services. Recently, Ubuntu released a series of security patches for a critical flaw that was detected in their OS. Although this is an urgent matter, there is no guarantee yet that these patches will be bug-free and production-ready hence, the company must immediately patch all of its affected Amazon EC2 instances in all the environments, except for the production environment. The EC2 instances in the production environment will only be patched after it has been verified that the patches work effectively. Each environment also has different baseline patch requirements that needed to be satisfied. Using the AWS Systems Manager service, how should you perform this task with the least amount of effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Tag each instance based on its environment and OS. Create a patch baseline in AWS Systems Manager Patch Manager for each environment. Categorize EC2 instances based on their tags using Patch Groups and apply the patches specified in the corresponding patch baseline to each Patch Group.

    AWS Systems Manager Patch Manager uses patch groups based on resource tags to selectively apply different patch baselines across environments. This natively isolates production instances from development and test servers without writing custom Run Command scripts.

  39. Question 39 of 258A company has just launched a new central employee registry application that contains all of the public employee registration information of each staff of the company. The application has a microservices architecture running in Docker in a single AWS Region. The management teams from other departments who have their servers located in different VPCs need to connect to the central repository application to continue their work. The Solutions Architect must ensure that the traffic to the application does not traverse the public Internet. The IT Security team must also be notified of any denied requests and be able to view the corresponding source IP. How will the Architect implement the architecture of the new application given these circumstances?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Link each of the teams' VPCs to the central VPC using VPC Peering. Create VPC Flow Logs on each VPC to capture rejected traffic requests, including the source IPs, that will be delivered to an Amazon CloudWatch Logs group. Set up a CloudWatch Logs subscription that streams the log data to the IT Security account.

    VPC peering provides a private, fully isolated route directly between the departmental VPCs and the central application. VPC Flow Logs then records rejected traffic and source IPs for CloudWatch to alert the security team without using a VPN.

  40. Question 40 of 258A telecommunications company is planning to host a WordPress website on an Amazon ECS Cluster which uses the Fargate launch type. For security purposes, the database credentials should be provided to the WordPress image by using environment variables. Your manager instructed you to ensure that the credentials are secure when passed to the image and that they cannot be viewed on the cluster itself. The credentials must be kept in a dedicated storage with lifecycle management and key rotation. Which of the following is the most suitable solution in this scenario that you can implement with the least effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Store the database credentials using the AWS Secrets Manager and then encrypt them using AWS KMS. Create an IAM Role for your Amazon ECS task execution role and reference it with your task definition which allows access to both KMS and AWS Secrets Manager. Within your container definition, specify secrets with the name of the environment variable to set in the container and the full ARN of the Secrets Manager secret which contains the sensitive data, to present to the container.

    AWS Secrets Manager directly integrates with ECS task definitions to securely inject credentials as environment variables during task startup. It also natively provides the requested lifecycle management and automated rotation, unlike Systems Manager Parameter Store.

  41. Question 41 of 258A government agency has multiple VPCs in various AWS regions across the United States that need to be linked up to an on-premises central office network in Washington, D.C. The central office requires inter-region VPC access over a private network that is dedicated to each region for enhanced security and more predictable data transfer performance. Your team is tasked to quickly build this network mesh and to minimize the management overhead to maintain these connections. Which of the following options is the most secure, highly available, and durable solution that you should use to set up this kind of interconnectivity?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Utilize AWS Direct Connect Gateway for inter-region VPC access. Create a virtual private gateway in each VPC, then create a private virtual interface for each AWS Direct Connect connection to the Direct Connect gateway.

    An AWS Direct Connect gateway easily links a dedicated on-premises connection to multiple regional VPCs via private virtual interfaces. This setup guarantees traffic avoids the public internet while minimizing BGP management overhead across regions.

  42. Question 42 of 258A startup is building a web app that lets users post photos of good deeds in their neighborhood with a 143-character caption/article. The developers decided to write the application in ReactJS, a popular javascript framework so that it would run on the broadest range of browsers, mobile phones, and tablets. The app should provide access to Amazon DynamoDB to store the caption. The initial prototype shows that there aren't large spikes in usage. Which option provides the most cost-effective and scalable architecture for this application?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Register the web application with a Web Identity Provider such as Google, Facebook, Amazon, or from any other popular social sites and use the AssumeRoleWithWebIdentity API of STS to generate temporary credentials. Create an IAM role for that web provider and set up permissions for the IAM role to allow GET and PUT operations in Amazon S3 and DynamoDB. Serve your web app out of an S3 bucket enabled as a website.

    Hosting a React application in Amazon S3 provides a highly scalable and cost-effective static frontend. Using web identity federation to assume an IAM role grants the browser temporary credentials to securely write directly to DynamoDB.

  43. Question 43 of 258A print media company has a popular web application hosted on an on-premises network that allows anyone around the globe to search its back catalog and retrieve individual newspaper pages. The company scanned the old newspapers into PNG image format and used Optical Character Recognition (OCR) software to automatically convert images to a text file. The license of the OCR software will expire soon, and the news organization decided to move to AWS and produce a scalable, durable, and highly available architecture. Which is the best option to achieve this requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create a new Amazon S3 bucket to store and serve the scanned image files using an Amazon CloudFront web distribution. Launch a new AWS Elastic Beanstalk environment to host the website across multiple Availability Zones and set up an Amazon OpenSearch Service for query processing, which the website can use. Use Amazon Textract to detect and recognize text from scanned old newspapers.

    Using Amazon S3 with CloudFront and Elastic Beanstalk provides a scalable, highly available web tier. Amazon Textract replaces the expiring optical character recognition software, and OpenSearch handles the full-text search queries. Avoid options that rely on unsupported image searches or migrating the expiring software.

  44. Question 44 of 258A multinational financial firm plans to do a multi-regional deployment of its cryptocurrency trading application that is heavily used in the US and in Europe. The containerized application uses Kubernetes and has Amazon DynamoDB Global Tables as a centralized database to store and sync the data from two regions. The architecture has distributed computing resources with several public-facing Application Load Balancers (ALBs). The Network team of the firm manages the public DNS internally and wishes to make the application available through an apex domain for easier access. S3 Multi-Region Access Points are also used for object storage workloads and hosting static assets. Which is the MOST operationally efficient solution that the Solutions Architect should implement to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. Set up an AWS Global Accelerator, which has several endpoint groups that target specific endpoints and ALBs on the required AWS Regions. Create a public alias record in Amazon Route 53 that points your custom domain name to the DNS name assigned to your accelerator.

    AWS Global Accelerator routes traffic to the regional Application Load Balancers over the AWS global network, providing static IPs and high availability. You then create an Amazon Route 53 alias record pointing your apex domain to the accelerator DNS. Remember that Transit Gateway does not route public internet traffic to ALBs.

  45. Question 45 of 258A company processes several petabytes of images submitted by users on their photo hosting site every month. Each month, the images are processed in its on-premises data center by a High-Performance Computing (HPC) cluster with a capacity of 5,000 cores and 10 petabytes of data. Processing a month's worth of images by thousands of jobs running in parallel takes about a week and the processed images are stored on a network file server, which also backs up the data to a disaster recovery site. The current data center is nearing its capacity so the users are forced to spread the jobs within the course of the month. This is not ideal for the requirement of the jobs, so the Solutions Architect was tasked to design a scalable solution that can exceed the current capacity with the least amount of management overhead while maintaining the current level of durability. Which of the following solutions will meet the company's requirements while being cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Utilize AWS Batch with Managed Compute Environments to create a fleet using Spot Instances. Store the raw data on an Amazon S3 bucket. Create jobs on AWS Batch Job Queues that will pull objects from the Amazon S3 bucket and temporarily store them to the EC2 EBS volumes for processing. Send the processed images back to another Amazon S3 bucket.

    AWS Batch with managed compute environments automatically provisions Spot Instances, dynamically scaling to process thousands of parallel jobs efficiently. Storing raw and processed images in Amazon S3 provides the necessary durability with minimal management overhead. Avoid custom autoscaling setups that require extensive infrastructure maintenance.

  46. Question 46 of 258A company needs a deployment solution for its application that is hosted on the AWS cloud. The company has the following requirements for the application: – The instances must have 500GB worth of static dataset that is accessible for the application upon boot up. – The instances must be able to scale-out or scale-in depending on the traffic load of the application. – The Development team must have a quick and automated way to deploy their code updates several times during the day. – Security patches for the vulnerabilities on the operating system (OS) must be installed within 48 hours of release.Which of the following solutions should the Solutions Architect implement to meet the company requirements while being cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: H. Install OS patches and create a new AMI using AWS Systems Manager. Use this new AMI for the Auto Scaling group of EC2 instances and replace the existing instances. Deploy the new version of the application to the instances using AWS CodeDeploy. Mount an Amazon EFS volume containing the static dataset on the instances upon boot up.

    Using AWS Systems Manager to patch instances and create a fresh Amazon Machine Image ensures rapid, compliant deployments within the Auto Scaling group. Mounting an Amazon EFS volume provides shared, immediate access to the large static dataset. Downloading massive datasets from S3 during boot increases startup times and costs.

  47. Question 47 of 258An accounting firm hosts a mix of Windows and Linux Amazon EC2 instances in its AWS account. The solutions architect has been tasked with conducting a monthly performance check on all production instances. There are more than 200 On-Demand EC2 instances running in its production environment, and it is required to ensure that each instance has a logging feature that collects various system details such as memory usage, disk space, and other metrics. The system logs will be analyzed using AWS Analytics tools, and the results will be stored in an Amazon S3 bucket. The team currently uses an AWS Systems Manager Automation runbook for routine instance patching and maintenance.Which of the following is the most efficient way to collect and analyze logs from the instances with minimal effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up and configure a unified Amazon CloudWatch Logs agent in each On-Demand EC2 instance that will automatically collect and push data to CloudWatch Logs. Analyze the log data with CloudWatch Logs Insights.

    The unified CloudWatch agent collects both system metrics and logs from Windows and Linux servers for centralized analysis. CloudWatch Logs Insights then interactively queries this log data to troubleshoot issues effectively. Avoid custom scripts when Systems Manager can deploy the managed agent natively.

  48. Question 48 of 258A company has launched a company-wide bug bounty program to find and patch security vulnerabilities in its web applications as well as the underlying cloud resources. As the solutions architect, you are focused on checking system vulnerabilities on AWS resources for DDoS attacks. Due to budget constraints, the company cannot afford to enable AWS Shield Advanced to prevent higher-level attacks. Which of the following are the best techniques to help mitigate Distributed Denial of Service (DDoS) attacks for cloud infrastructure hosted in AWS? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Use an Application Load Balancer (ALB) to reduce the risk of overloading your application by distributing traffic across many backend instances. Integrate AWS WAF and the ALB to protect your web applications from common web exploits that could affect application availability. · D. Use an Amazon CloudFront distribution for both static and dynamic content of your web applications. Add CloudWatch alerts to automatically look and notify the Operations team for high CPUUtilization and NetworkIn metrics, as well as to trigger Auto Scaling of your EC2 instances.

    Using Amazon CloudFront and an Application Load Balancer distributes and absorbs malicious traffic, protecting backend instances from being overwhelmed. Adding AWS WAF further inspects and filters web requests, ensuring application availability without needing Shield Advanced.

  49. Question 49 of 258A company is using AWS Organizations to manage their multi-account and multi-region AWS infrastructure. They are currently doing large-scale automation for their key daily processes to save costs. One of these key processes is sharing specified AWS resources, which an organizational account owns, with other AWS accounts of the company using AWS RAM. There is already an existing service which was previously managed by a separate organization account moderator, who also maintained the specific configuration details. In this scenario, what could be a simple and effective solution that would allow the service to perform its tasks on the organization accounts on the moderator's behalf?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use trusted access by running the enable-sharing-with-aws-organization command in the AWS RAM CLI. Mirror the configuration changes that was performed by the account that previously managed this service.

    Enabling trusted access with AWS Organizations allows AWS RAM to perform tasks on your behalf by automatically creating the necessary service-linked role. This is the simplest and most native way to integrate the services. Manually configuring roles or using Systems Manager introduces unnecessary operational overhead.

  50. Question 50 of 258A company currently hosts its online immigration system on one large Amazon EC2 instance with attached EBS volumes to store all of the applicants' data. The registration system accepts the information from the user including documents and photos and then performs automated verification and processing to check if the applicant is eligible for immigration. The immigration system becomes unavailable at times when there is a surge of applicants using the system. The existing architecture needs improvement as it takes a long time for the system to complete the processing and the attached EBS volumes are not enough to store the ever-growing data being uploaded by the users. Which of the following options is the recommended option to achieve high availability and more scalable data storage?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Upgrade your architecture to use an S3 bucket with cross-region replication (CRR) enabled, as the storage service. Set up an SQS queue to distribute the tasks to a group of EC2 instances with Auto Scaling to dynamically increase or decrease the group of EC2 instances depending on the length of the SQS queue. Use CloudFormation to replicate your architecture to another region.

    Using Amazon S3 for object storage easily handles the ever-growing data uploads while an SQS queue decouples the processing tasks. EC2 Auto Scaling then uses the queue length to dynamically adjust compute capacity, resolving the surge issues. EBS volumes are block storage and are difficult to synchronize across scaled instances.

  51. Question 51 of 258A tech company plans to host a website using an Amazon S3 bucket. The solutions architect created a new S3 bucket called "www.tutorialsdojo.com" in us-west-2 AWS region, enabled static website hosting, and uploaded the static web content files including the index.html file. The custom domain www.tutorialsdojo.com has been registered using Amazon Route 53 to be associated with the S3 bucket. The next day, a new Route 53 Alias record set was created which points to the S3 website endpoint: http://www.tutorialsdojo.com.s3-website-us-west-2.amazonaws.com. Upon testing, users cannot see any content on the bucket. Both the domains tutorialsdojo.com and www.tutorialsdojo.com do not work properly. Which of the following is the MOST likely cause of this issue that the Architect should fix?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. The S3 bucket does not have public read access which blocks the website visitors from seeing the content.

    Amazon S3 buckets must explicitly grant public read access to successfully serve static website content to visitors. Without this permission, the bucket blocks all anonymous HTTP requests, resulting in access denied errors. Route 53 alias records route traffic correctly, but the bucket policies dictate actual visibility.

  52. Question 52 of 258A tech company will soon launch a new smartwatch that will collect statistics and usage information from its users. The solutions architect was tasked to design a data storage and retrieval solution for the receiving application. The application is expected to ingest millions of records per minute from its worldwide user base. For the storage requirements: – Each record is less than 4KB in size. – Data must be stored durably. – Data must be stored for 120 days only, then it can be deleted. – Data must have low latency retrieval time. – For running the application for a year, the estimated storage requirement is around 10-15 TB.Which of the following options is the recommended storage solution while being the most cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: G. Configure the application to receive the records and set the storage to a DynamoDB table. Configure proper scaling on the DynamoDB table and enable the DynamoDB table Time to Live (TTL) setting to delete records after 120 days.

    DynamoDB easily handles massive ingest rates while providing single-digit millisecond latency, and its Time to Live feature automatically deletes expired items at no extra cost. Amazon S3 lacks the low-latency retrieval needed here, and Kafka is not optimized for direct low-latency item lookups.

  53. Question 53 of 258A company is modernizing its on-premises system by migrating it to AWS. The system will be hosted on Amazon EC2 instances managed by Amazon Elastic Kubernetes Service (Amazon EKS) and use Amazon RDS for MySQL as the database. The system has predictable schedules of high usage, especially during sales events and holiday seasons. A recent cost-optimization review using the AWS Well-Architected Tool highlighted the strict need to minimize compute costs during peak-demand surges. What pricing options should the company consider when selecting the MOST cost-optimized solution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Purchase Compute Savings Plans for the EC2 nodes of the EKS cluster to be used for regular traffic. Scale the node cluster with Spot instances during peak demands. Handle the predicted database load with a 1-year All Upfront Reserved Instance and vertically scale up the DB instance on scheduled high usage.

    Compute Savings Plans handle the predictable baseline, while Spot Instances cheaply absorb the flexible peak loads for containerized workloads. For the database, an All Upfront Reserved Instance yields the maximum discount, and scheduled vertical scaling accommodates the temporary surges.

  54. Question 54 of 258A private bank is hosting a secure web application that allows its agents to view highly sensitive information about the clients. The amount of traffic that the web app will receive is known and not expected to fluctuate. An SSL will be used as part of the application's data security. The chief information security officer (CISO) is concerned about the security of the SSL private key. The CISO wants to ensure that the key cannot be accidentally or intentionally moved outside the corporate environment. The solutions architect is also concerned that the application logs might contain some sensitive information. The EBS volumes used to store the data are already encrypted. In this scenario, the application logs must be stored securely and durably so that they can only be decrypted by authorized employees. Which of the following is the most suitable and highly available architecture that can meet all of the requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Distribute traffic to a set of web servers using an Elastic Load Balancer that performs TCP load balancing. Use CloudHSM deployed to two Availability Zones to perform the SSL transactions and deliver your application logs to a private Amazon S3 bucket using server-side encryption.

    Deploying CloudHSM across two Availability Zones ensures the highly available termination of SSL transactions entirely within dedicated hardware. Uploading logs to S3 with server-side encryption meets the durability requirement while restricting access to authorized staff.

  55. Question 55 of 258A company has several virtual machines on its on-premises data center hosting its three-tier web application. The company wants to migrate the application to AWS to take advantage of the benefits of cloud computing. The following are the company requirements for the migration process:– The virtual machine images from the on-premises data center must be imported to AWS. – The changes on the on-premises servers must be synchronized to the AWS servers until the production cutover is completed. – Have minimal downtime during the production cutover. – The root volumes and data volumes (containing Terabytes of data) of the VMs must be migrated to AWS. – The migration solution must have minimal operational overhead.Which of the following options is the recommended solution to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: G. Use AWS Transform MGN to migrate the virtual machines to AWS. Install the AWS Replication Agent on each server in the application tiers to continuously replicate the root volumes and data volumes to AWS. Launch test instances from the replicated servers, validate the application, and then perform a cutover to launch updated Amazon EC2 instances.

    AWS Application Migration Service continuously replicates root and data volumes using an agent, ensuring minimal downtime during the cutover. VM Import/Export lacks continuous synchronization capabilities, resulting in heavy operational overhead for incremental updates.

  56. Question 56 of 258A media company hosts its entire infrastructure on the AWS cloud. There is a requirement to copy information to or from the shared resources from another AWS account. The solutions architect has to provide the other account access to several AWS resources, such as Amazon S3, AWS KMS, and Amazon OpenSearch Service, in the form of a list of AWS account ID numbers. In addition, the user in the other account should still work in the trusted account, and there is no need to give up the user permissions in place of the role permissions. The solutions architect must also set up a solution that continuously assesses, audits, and monitors the policy configurations.Which of the following is the MOST suitable type of policy that should be used in this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up cross-account access with a resource-based Policy. Use AWS Config rules to periodically audit changes to the IAM policy and monitor the compliance of the configuration.

    Resource-based policies attached directly to services like S3 or KMS allow cross-account access without assuming a role, preserving the user's original permissions. AWS Config continuously audits these policy changes to maintain compliance. Remember that roles require surrendering original session permissions.

  57. Question 57 of 258A retail company hosts its web application on an Auto Scaling group of Amazon EC2 instances deployed across multiple Availability Zones. The Auto Scaling group is configured to maintain a minimum EC2 cluster size and automatically replace unhealthy instances. The EC2 instances are behind an Application Load Balancer so that the load can be spread evenly on all instances. The application target group health check is configured with a fixed HTTP page that queries a dummy item on the database. The web application connects to a Multi-AZ Amazon RDS MySQL instance. A recent outage caused a major loss to the company's revenue. Upon investigation, it was found that the web server metrics are within the normal range but the database CPU usage is very high, causing the EC2 health checks to timeout. Failing the health checks, the Auto Scaling group continuously replaced the unhealthy instances thus causing the downtime. Which of the following options should the Solution Architect implement to prevent this from happening again and allow the application to handle more traffic in the future? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Reduce the load on the database tier by creating an Amazon ElastiCache cluster to cache frequently requested database queries. Configure the application to use this cache when querying the RDS MySQL instance. · D. Change the target group health check to a simple HTML page instead of a page that queries the database. Create an Amazon Route 53 health check for the database dummy item web page to ensure that the application works as expected. Set up an Amazon CloudWatch alarm to send a notification to Admins when the health check fails.

    Using Amazon ElastiCache offloads read-heavy database queries, directly relieving CPU bottlenecks on the RDS instance. Target group health checks should query a simple HTML page instead of a database, preventing unnecessary scaling churn during outages. Route 53 health checks monitor the critical application endpoints externally.

  58. Question 58 of 258A top university has launched its serverless online portal using Lambda and API Gateway in AWS that enables its students to enroll, manage their class schedules, and see their grades online. After a few weeks, the portal abruptly stopped working and lost all of its data. The university hired an external cybersecurity consultant and based on the investigation, the outage was due to an SQL injection vulnerability on the portal's login page in which the attacker simply injected the malicious SQL code. You also need to track historical changes to the rules and metrics associated with your firewall.Which of the following is the most suitable and cost-effective solution to avoid another SQL Injection attack against their infrastructure in AWS?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use AWS WAF to add a web access control list (web ACL) in front of the API Gateway to block requests that contain malicious SQL code. Use AWS Config to track changes to your web access control lists (web ACLs) such as the creation and deletion of rules including the updates to the WAF rule configurations.

    AWS WAF attaches directly to API Gateway to inspect incoming requests and block malicious SQL injection patterns at the edge. AWS Config records the configuration changes to web ACLs, allowing you to track historical rule modifications. Firewall Manager manages rules globally across accounts, while Config tracks individual resource configurations.

  59. Question 59 of 258A company has a fitness tracking app that accompanies its smartwatch. The primary customers are North American and Asian users. The application is read-heavy as it pings the servers at regular intervals for user-authorization. The company wants the infrastructure to have the following capabilities: – The application must be fault-tolerant to problems in any Region. – The database writes must be highly-available in a single Region. – The application tier must be able to read the database on multiple Regions. – The application tier must be resilient in each Region. – Relational database semantics must be reflected in the application.Which of the following options must the Solutions Architect implement to meet the company requirements? (Select TWO.)

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: H. Create a geolocation routing policy on Amazon Route 53 to point the global users to their designated regions. Combine this with a failover answer routing policy with health checks to direct users to a healthy region at any given time.

    Amazon Aurora Global Database provides multi-region read scalability and disaster recovery without sacrificing relational semantics or single-region write availability. Route 53 geolocation routing ensures users hit their local healthy endpoints while safely failing over regionally.

  60. Question 60 of 258An online media streaming startup has deployed hundreds of containerized microservices using Amazon Elastic Container Service (Amazon ECS) with AWS Fargate. As new features roll out, the number of running ECS tasks steadily increases. The engineering team wants to proactively prevent service disruptions due to hitting resource limits. Specifically, the team needs to be alerted when the number of concurrently running Fargate vCPUs exceeds 75% of the service quota's maximum limit. A solutions architect must design a solution that sends a notification when the threshold is reached. The company also has plans to use ECS Anywhere to run and manage container-based applications in its on-premises data center to optimize its cloud workloads.Which of the following is the MOST operationally efficient solution that meets these requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use Amazon CloudWatch to monitor service quotas published in the AWS/Usage metric namespace. Set up an alarm when the math expression metricId/SERVICE_QUOTA(metricId)*100 is greater than 75. Configure Amazon SNS to send notifications to the operations team.

    CloudWatch tracks usage in the AWS/Usage namespace, enabling a math expression using the SERVICE_QUOTA function to calculate quota consumption directly. Avoid creating custom metrics when native Service Quotas integration can trigger alerts natively.

  61. Question 61 of 258A company develops Docker containers to host web applications on its on-premises data center. The company wants to migrate its workload to the cloud and use AWS Fargate. The solutions architect has created the necessary task definition and service for the Fargate cluster. For security requirements, the cluster is placed on a private subnet in the VPC that has no direct connection outside of the VPC. The following error is received when trying to launch the Fargate task:CannotPullContainerError: API error (500): Get https://111122223333.dkr.ecr.us-east-1.amazonaws.com/v2/: net/http: request canceled while waiting for connectionWhich of the following options should be able to fix this issue?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: F. Update the AWS Fargate task definition and set the auto-assign public IP option to DISABLED. Launch a NAT gateway on the public subnet of the VPC and update the route table of the private subnet to route requests to the Internet.

    Fargate tasks in private subnets need a route to the internet to pull container images from Amazon ECR. Deploying a NAT Gateway in a public subnet and updating the private subnet route table provides this outbound access securely. A NAT Gateway must reside in a public subnet to reach the internet gateway.

  62. Question 62 of 258A media company uses the AWS Cloud to process and convert its video collection. An Auto Scaling group of Amazon EC2 instances processes the videos and scales based on the number of messages in an Amazon Simple Queue Service (SQS) queue. These SQS messages contain links to the videos, each taking about 20-40 minutes to process. The management has set a redrive policy on the SQS queue to send failed messages to a dead-letter queue. The visibility timeout has been set to 1 hour, and the maxReceiveCount has been set to 1. When there are messages on the dead-letter queue, an Amazon CloudWatch alarm has been set up to notify the development team. Within a few days of operation, the dead-letter queue received several videos that failed to process. The developers did not find any operational errors in the application logs and confirmed that no videos exceeded the expected processing time. Upon examining the CloudTrail logs, the team noted that the application was making repeated ReceiveMessage API calls in quick succession for specific videos, indicating retry attempts. Which of the following options should the solutions architect implement to help solve the above problem?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: F. Reconfigure the SQS redrive policy and set maxReceiveCount to 10. This will allow the consumers to retry the messages before sending them to the dead-letter queue.

    Setting maxReceiveCount to a low value like one triggers immediate dead-letter routing for transient hiccups. Raising the count to ten allows consumers multiple attempts before discarding messages. The current one-hour visibility timeout correctly covers processing, proving the issue is overly strict retries, not timeouts.

  63. Question 63 of 258A company has recently released a new mobile game. With the boost in marketing, the mobile game suddenly became viral. The registration webpage is bombarded with user registrations from around the world. The registration website is hosted on a fleet of Amazon EC2 instances created as an Auto Scaling group. This cluster is behind an Application Load Balancer to balance the user traffic. The website contains static content that is loaded differently depending on the user's device type. With the sudden increase in user traffic, the fleet of Amazon EC2 instances experienced high CPU usage and users are reporting sluggishness on the website. Which of the following options should the Solutions Architect implement to improve the website response time?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create an Amazon S3 bucket to host the static contents. Set this bucket as the origin for an Amazon CloudFront distribution. Write a Lambda@Edge function to parse the User-Agent HTTP header and serve the appropriate contents based on the user's device type.

    Using an S3 bucket with CloudFront and Lambda@Edge offloads static content delivery and dynamically routes traffic based on device headers. Caching based on the raw User-Agent header is an anti-pattern due to cache fragmentation, and Network Load Balancers cannot inspect Layer 7 headers.

  64. Question 64 of 258A company is using AWS Managed Microsoft AD to host the company AD in the AWS Cloud with a custom AD domain name private.tutorialsdojo.com. A pair of domain controllers are launched with the default configuration inside the VPC. A VPC interface endpoint was also created for Amazon Kinesis using AWS PrivateLink to allow instances to connect to Kinesis service endpoints from inside the VPC. The solutions architect launched several EC2 instances in the VPC, however, the instances were not able to resolve the company's custom AD domain name. Which of the following steps should the Solutions Architect implement to allow the instances to resolve both AWS VPC endpoints and the AWS Managed Microsoft AD domain's FQDN? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Create a forwarding rule inside the endpoint to forward any queries for private.tutorialsdojo.com to the IP addresses of the two domain controllers. · E. Create an outbound endpoint on the Amazon Route 53 console. Set the AmazonProvidedDNS as the DNS resolver for the VPC.

    A Route 53 Outbound Resolver endpoint forwards DNS queries from your VPC to your Managed Microsoft AD domain controllers. Associate it with a forwarding rule so instances using AmazonProvidedDNS can seamlessly resolve both custom domains and VPC interface endpoints.

  65. Question 65 of 258A company is running thousands of virtualized Linux and Microsoft Windows servers on its on-premises data center. The virtual servers host a range of Java and PHP applications that use MySQL and Oracle databases. There are also several department services hosted on an external data center. The company uses SAN storage to provide iSCSI disks to its physical servers. The company wants to migrate its data center to the AWS Cloud, but the technical documentation of the systems is incomplete and outdated. The Solutions Architect was tasked to analyze the current environment and estimate the cost of migrating the resources to the cloud. Which of the following should the Solutions Architect do to effectively plan the cloud migration? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: B. Generate a migration readiness assessment report with the AWS Cloud Adoption Readiness Tool (CART) to highlight gaps in organizational skills and processes. · E. Use the AWS Transform discovery tool to gather information about the running virtual machines and running applications inside the servers. · F. Use AWS Transform migration assessment jobs and workspaces to estimate migration costs, generate right-sizing recommendations, produce reports, and support migration planning.

    AWS Transform automates discovery and calculates migration cost estimates, while CART highlights organizational readiness gaps. On the exam, avoid confusing planning tools like these with execution services like Migration Hub or monitoring tools like X-Ray.

  66. Question 66 of 258A company has several resources in its production environment that is shared among various business units of the company. A single business unit may have one or more AWS accounts that have resources in the production environment. There were a lot of incidents in which the developers from a specific business unit accidentally terminated the Amazon EC2 instances, Amazon EKS clusters, and Amazon Aurora Serverless databases which are owned by another business unit. The solutions architect has been tasked to come up with a solution to only allow a specific business unit that owns the EC2 instances, and other AWS resources, to terminate their own resources. Which of the following is the most suitable multi-account strategy implementation to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use AWS Organizations to centrally manage all of your accounts. Group your accounts, which belong to a specific business unit, to individual Organization Units (OU). Create an IAM Role in the production account which has a policy that allows access to the EC2 instances including resource-level permission to terminate the instances owned by a particular business unit. Provide the cross-account access and the IAM policy to every member accounts of the OU.

    Service Control Policies only set the maximum allowable permissions guardrails but never grant access. To actually allow specific business units to terminate their own resources, you must use IAM roles with resource-level permissions. This grants precise cross-account access.

  67. Question 67 of 258A company is planning to launch a mobile app for the Department of Transportation that allows government staff to upload the latest photos of ongoing construction works such as bridges, roads culverts, and dams all over the country. The mobile app should send the photos to a web server hosted on an EC2 instance which then adds a watermark to each photo that contains the project details and the date it was taken. The solutions architect must design a solution in which the photos generated by the server will be uploaded to an S3 bucket for durable storage. Which of the following solutions is a secure architecture and allows the EC2 instance to upload photos to S3?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Set up an IAM role with permissions to list and write objects to the S3 bucket. Attach the IAM role to the EC2 instance which will enable it to retrieve temporary security credentials from the instance metadata and use that access to upload the photos to the S3 bucket.

    Attaching an IAM role to an EC2 instance allows applications to retrieve temporary credentials securely from instance metadata. This avoids embedding static credentials. User data is merely a launch script and cannot provide rotating credentials.

  68. Question 68 of 258A company is planning to migrate its workload to the AWS cloud. The solutions architect is looking to reduce the amount of time spent managing database instances from the on-premises data center by migrating to a managed relational database service in AWS such as Amazon Relational Database Service (RDS). In addition, the solutions architect plans to move the application hosted in the on-premises data center to a fully managed platform such as AWS Elastic Beanstalk. Which of the following is the most cost-effective migration strategy that should be implemented to meet the above requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Replatform

    The replatform strategy involves making a few cloud optimizations to achieve benefits without changing the core architecture. Moving to managed services like RDS perfectly fits this lift, tinker, and shift approach. Rehosting requires no architectural changes.

  69. Question 69 of 258There was a major incident that occurred in your company wherein the web application that you are supporting unexpectedly went down in the production environment. Upon investigation, it was found that a junior DevOps engineer terminated the EC2 instance in production which caused the disruption of service. Only the Solutions Architects should be allowed to stop or terminate instances in the production environment. You also found out that there are a lot of developers who have full access to your production AWS account. Which of the following options will fix this security vulnerability in your cloud architecture and prevent this kind of failure from happening again? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Modify the associated IAM Role assigned to the developers by removing the policy that allows them to terminate EC2 instances in production. · E. Add tags to the EC2 instances in the production environment and assign the developers a role with a policy that denies terminating the instance based on the tag.

    Removing EC2 termination permissions directly enforces least privilege, while applying resource tags combined with an explicit deny IAM policy scales securely across environments. Remember that security groups manage network traffic, MFA only gates authentication, and PowerUserAccess still grants broad destructive permissions.

  70. Question 70 of 258A multinational healthcare company plans to launch a new MedTech information website. The solutions architect decided to use Amazon CloudFormation to deploy a three-tier web application that consists of a web tier, an application tier, and a database tier that will utilize Amazon DynamoDB for storage. The solutions architect must secure any credentials that are used to access the database tier. The company already uses AWS CloudTrail Lake data store to audit API activity and track credential usage across its AWS accounts. Which of the following options will allow the application instances access to the DynamoDB tables without exposing API credentials?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create an IAM Role and assign the required permissions to read and write from the DynamoDB table. Have the instance profile property of the application instance reference the role.

    Assigning an IAM role to an instance profile securely grants temporary credentials to applications running on EC2 instances. Never embed long-term IAM user access keys in user data or attempt to pass role ARNs through Systems Manager for authentication.

  71. Question 71 of 258As part of the Corporate Social Responsibility of the tech company, the development team created an online learning system for a public university. The application architecture uses an Application Load Balancer in front of two On-Demand EC2 instances located in two Availability Zones. The only remaining requirement is to secure the new website with an HTTPS connection. Which of the following option is the most cost-effective and easiest way to complete the online learning system?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Generate a Public Certificate in ACM. Configure the Application Load Balancer to use the Public Certificate to handle HTTPS requests.

    Public certificates provisioned in AWS Certificate Manager are free and integrate natively with Application Load Balancers to terminate HTTPS. Private certificates incur hourly operational costs for the certificate authority and public certificates cannot be exported to EC2 instances.

  72. Question 72 of 258A company has built an application that allows painters to upload photos of original creations. The app allows users from North America and European regions to browse the galleries and order chosen artworks. The application is hosted on a fixed set of Amazon EC2 instances in the us-east-1 region. Using mobile phones, the artists can scan and upload large, high-resolution images, which are stored in a centralized Amazon S3 bucket also in the same region. After the initial week of operation, the European artists are reporting slow performance when uploading images. Which of the following is the best solution to improve the image upload process?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Enable S3 Transfer Acceleration on the central S3 bucket. Use the s3-accelerate endpoint to upload the images.

    Amazon S3 Transfer Acceleration leverages Amazon CloudFront edge locations to route uploads over an optimized AWS network path, significantly improving global transfer speeds. CloudFront POST limits and basic multipart uploads fail to address continental latency effectively.

  73. Question 73 of 258An international humanitarian aid organization has a requirement to store 20 TB worth of scanned files for the relief operations, which can grow to a total of 50 TB of data. There is also a requirement to have a website with a search feature in place that can be used to easily find a certain item through the thousands of scanned files. The new system is expected to run for more than three years. Which of the following is the most cost-effective option for implementing the search feature in the system?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up a new S3 bucket with standard storage to store and serve the scanned files. Use Amazon OpenSearch Service for query processing and use Elastic Beanstalk to host the website across multiple availability zones.

    Amazon S3 provides highly durable storage for the scanned files, while Amazon OpenSearch handles robust querying. Elastic Beanstalk simplifies web hosting across multiple availability zones. Option A fails because S3 alone lacks robust native search indexing capabilities.

  74. Question 74 of 258A leading media company is building a collaborative news website that is expected to have over 5 million readers per month globally. Each article contains a cover image and has at least 200 words. Based on the trend of their other websites, the new articles are highly browsed in the first 2 months and the authors tend to frequently update the articles in the first month after publication. The readership is also expected to drop in the 3rd month and the articles are usually rarely accessed after a year. The readers are also leaving a lot of comments within the first 3 months of publishing. In this scenario, which of the following items can you use to build a durable, highly available, and scalable architecture for the news website? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Use CloudFront as a Content Delivery Network to load the articles much faster anywhere in the globe. · C. Use Amazon RDS Multi-AZ deployments with Read Replicas. Use S3 to store the static data such as the cover images and other media.

    CloudFront provides low-latency global content delivery for readers. Amazon RDS Multi-AZ with Read Replicas offers high availability and read scaling, while S3 stores static media. Option D fails because EBS volumes lack the durability and scalability of S3.

  75. Question 75 of 258A company is implementing cloud best practices for its infrastructure. The Solutions Architect is using AWS CloudFormation templates for infrastructure-as-code of its two-tier web application. The application frontend is hosted on an Auto Scaling group of Amazon EC2 instances while the database is an Amazon RDS for MySQL instance. For security purposes, the database password must be rotated every 60 days. Which of the following solutions is the MOST secure way to store and retrieve the database password for the web application?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. On the CloudFormation template, create an AWS Secrets Manager secret resource for the database password. Modify the application to retrieve the database password from Secrets Manager when it launches. Use a dynamic reference for the secret resource to be placed as the value of the MasterUserPassword property of the AWS::RDS::DBInstance resource.

    AWS Secrets Manager secures the password and handles automatic rotation. Using a dynamic reference in CloudFormation safely passes the value to RDS without exposing it. Option C fails because passing plain text parameters is highly insecure.

  76. Question 76 of 258A leading fast-food chain has recently adopted a hybrid cloud infrastructure that extends its data centers into AWS Cloud. The solutions architect has been tasked to allow on-premises users, who are already signed in using their corporate accounts, to manage AWS resources without creating separate IAM users for each of them. This is to avoid having two separate login accounts and memorizing multiple credentials. Which of the following is the best way to handle user authentication in this hybrid architecture?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Authenticate using your on-premises SAML 2.0-compliant identity provider (IDP), retrieve temporary credentials using STS, and grant federated access to the AWS console via the AWS IAM Identity Center.

    SAML 2.0 federation integrates on-premises identities with AWS via IAM Identity Center for console access. This avoids creating duplicate IAM users while maintaining secure single sign-on. Option B fails because AssumeRoleWithWebIdentity targets public identity providers, not corporate directories.

  77. Question 77 of 258A company runs a cryptocurrency analytics website and uses a CloudFront distribution with a custom domain name (tutorialsdojo.com) to speed up the loading time of the site. Since the data being distributed is quite confidential, the management instructed the solutions architect to require HTTPS communication between the viewers (web visitors) and the CloudFront distribution. Additionally, it is required to improve the performance by increasing the proportion of viewer requests that are served from CloudFront edge caches instead of going to the origin servers. Which of the following are the recommended actions to accomplish the above requirement? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: D. Use an SSL/TLS certificate provided by AWS Certificate Manager (ACM). · E. Configure the CloudFront origin to add a Cache-Control max-age directive to your objects and specify the longest practical value for max-age.

    Using an SSL certificate from ACM secures custom domain traffic over HTTPS, while configuring Cache-Control max-age directives increases the cache hit ratio for better performance. Remember that Lambda@Edge customizes content but does not directly increase the cache hit ratio.

  78. Question 78 of 258A company stores several terabytes of data on an Amazon S3 bucket. The data will be made available to respective partner companies, however, the management doesn't want the partner companies to access the files directly from Amazon S3 URLs. The solutions architect has been asked to ensure that all confidential files shared via Amazon S3 should only be accessible through CloudFront. Which of the following options could satisfy this requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an Origin Access Control (OAC) and associate it with your CloudFront distribution. Change the permissions on your Amazon S3 bucket so that only the origin access control has read permission.

    Creating an Origin Access Control and associating it with your CloudFront distribution ensures users can only access the S3 content via CloudFront. OAC is the modern replacement for Origin Access Identity and is the recommended best practice for securing S3 origins.

  79. Question 79 of 258A company located on the west coast of North America plans to release a new online service for its customers. The company already created a new VPC in the us-west-1 region where they will launch the Amazon EC2 instances that will host the web application. The application must be highly-available and must dynamically scale based on user traffic. In addition, the company wants to have a disaster recovery site in the us-east-1 region that will act as a passive backup of the running application. Which of the following options should the Solutions Architect implement in order to achieve the requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create an Application Load Balancer (ALB) in the us-west-1 region that spans multiple Availability Zones (AZs) of the VPC. Create an Auto Scaling group that will deploy EC2 instances across the multiple AZs and place it behind the ALB. Set up the same configuration to the us-east-1 region VPC. Create record entries in Amazon Route 53 pointing to the ALBs with health check enabled and a failover routing policy.

    Configuring a standalone Application Load Balancer and Auto Scaling group in each region with Route 53 failover routing properly establishes a passive backup. Remember that Auto Scaling groups and load balancers cannot span across multiple AWS regions.

  80. Question 80 of 258A finance company plans to launch a new website to allow users to view tutorials that promote the proper usage of the mobile app. The website contains static media files that are stored on a private Amazon S3 bucket while the dynamic contents are hosted on an AWS Fargate cluster. The Fargate tasks are accepting traffic behind an Application Load Balancer (ALB). To improve user experience, the static and dynamic content are placed behind an Amazon CloudFront distribution. An Amazon Route 53 Alias record has already been created to point the website URL to the CloudFront distribution. The company wants to ensure that access to both static and dynamic content is done through CloudFront only. Which of the following options should the Solutions Architect implement to meet this requirement? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: D. Use CloudFront to add a custom header to all origin requests. Using AWS WAF, create a web rule that denies all requests without this custom header. Associate the web ACL to the Application Load Balancer. · E. Create a special CloudFront user called an origin access control (OAC) and associate it with your distribution. Configure the S3 bucket policy to only access from the OAC.

    Use CloudFront Origin Access Control to restrict direct public access to the private S3 bucket. For the Application Load Balancer, configure CloudFront to pass a custom secret header, and use AWS WAF to block any requests missing it.

  81. Question 81 of 258A logistics company is developing a new application that will be used for all its departments. All of the company's AWS accounts are under OrganizationA in its AWS Organizations. A certain feature of the application must allow AWS resource access from a third-party account that is under AWS Organizations named OrganizationB. The company wants to follow security best practices and grant "least privilege" access using an API or CLI to the third-party account. After access is configured, the security team will use Amazon Detective to investigate unusual activity involving the third-party account. Which of the following options is the recommended way to securely allow OrganizationB to access AWS resources on OrganizationA?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. The third-party account should create an External ID that will be given to OrganizationA. The logistics company should then create an IAM role with the required access and put the External ID in the IAM role's trust policy. The third-party account should use the IAM role's ARN and External ID when requesting access to OrganizationA's AWS resources.

    Using an External ID in the IAM role trust policy securely delegates cross-account access, preventing unauthorized third-party accounts from assuming the role. Sharing static IAM user credentials violates security best practices, and standard STS assumption lacks the required contextual verification.

  82. Question 82 of 258An insurance company collects contributions from its clients and invests in the stock market. Using the on-premises data center, the company ingests raw data feeds from the stock market, transforms it, and sends it to the internal Apache Kafka cluster for processing. The management wants to send the cluster's output to Amazon Web Services by building a scalable and near-real-time solution that will provide the stock market data to its web application. The application is a critical production component, so the solution needs to have a consistent high-performance network. Which of the following actions should the solutions architect implement to fulfill the requirements? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: B. Pull the messages from the on-premises Apache Kafka cluster by using a fleet of Amazon EC2 instances in an Auto Scaling Group. Send the data into an Amazon Kinesis Data Stream by using the Kinesis Producer Library. · C. To have consistent performance, request for an AWS Direct Connect connection from the on-premises data center to the AWS VPC. · F. Write an AWS Lambda function to process the Amazon Kinesis data stream and create a WebSocket API in Amazon API Gateway to invoke the function. Send the callback messages to connected clients by using the @connections command for the API.

    Direct Connect provides the consistent, high-performance network required for critical production workloads. For the exam, remember that Kinesis Producer Library ingests data, while WebSocket APIs push real-time updates to clients, unlike AppSync GraphQL.

  83. Question 83 of 258An enterprise software company has just recently started using AWS as its cloud infrastructure. The company is building an enterprise proprietary issue tracking system which would be accessed by its customers worldwide. Hence, the CTO carefully instructed the team to ensure that the architecture of the issue tracking system is both scalable and highly available to avoid any complaints from the clients. It is expected that the application will have steady-state usage, and the database would be used for online transaction processing (OLTP). The team recently used the AWS Well-Architected Tool to review its architecture, which highlighted the need for a highly available and fault-tolerant design. Which of the following would be the best architecture setup to satisfy the above requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use an AWS CloudFormation template to launch an Auto Scaling group of Amazon EC2 instances across multiple Availability Zones, which are all connected via an ELB to handle the load balancing. Leverage Amazon CloudFront for distributing your static content and an Amazon RDS instance with a Multi-AZ deployment configuration.

    An Auto Scaling group across multiple Availability Zones with a load balancer provides the required scalability and high availability. For OLTP workloads, Multi-AZ RDS provides synchronous standby replication for fault tolerance, whereas Read Replicas only improve performance.

  84. Question 84 of 258A company runs a popular photo-sharing site hosted on the AWS cloud. There are user complaints about the frequent downtime of the site considering the hefty price for using their service. The company is using a MySQL RDS instance to record user details and other data analytics. A standard S3 storage class bucket is used to store the photos and user metadata, which are frequently accessed only in the first month. The website is also capable of immediately retrieving the images no matter how long they were stored. The RDS instance is always affected and sometimes goes down when there is a problem in the Availability Zone. The solutions architect was tasked to analyze the current architecture and to solve the user complaints about the website. In addition, the solutions architect should also implement a system that automatically discovers, classifies, and protects personally identifiable information (PII) data in the Amazon S3 bucket. Which of the following options offers the BEST solution for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use Amazon Macie to automatically discover, classify, and protect personally identifiable information (PII) data in the Amazon S3 bucket. Use a lifecycle policy in S3 to move the old photos to Infrequent Access storage class after a month. Re-configure the existing database to use RDS Multi-AZ Deployments.

    Amazon Macie is the correct service to automatically discover and protect sensitive personally identifiable information in S3. RDS Multi-AZ provides high availability, and an S3 lifecycle policy to Standard-IA optimizes storage costs for less frequently accessed images.

  85. Question 85 of 258A leading online media company runs a popular sports news website. The solutions architect has been tasked to analyze each web visitor's clickstream data on the website to populate user analytics, which gives insights about the sequence of pages and advertisements the visitor has clicked. The data will be processed in real-time which will then transform the page layout as the visitors click through the web portal to increase user engagement and consequently, increase the revenue for the company. Which of the following options should the solutions architect implement to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Push web clicks by session to Amazon Kinesis and analyze behavior using Amazon Kinesis workers.

    Kinesis Data Streams ingests massive real-time clickstream data, allowing workers to analyze user behavior instantly. Remember for the exam that batch-oriented services like SQS or EMR cannot provide the immediate sub-second response needed to dynamically alter page layouts.

  86. Question 86 of 258A company that manages hundreds of AWS client accounts has created a central logging service running on an Auto Scaling group of Amazon EC2 instances. The logging service receives logs from the client AWS accounts through the connectivity provided by AWS PrivateLink. The interface endpoint for this is available on each of the client AWS accounts. The EC2 instances hosting the logging service are spread on multiple subnets with a Network Load Balancer in front to spread the incoming load. Upon testing, the clients are unable to submit logs through the VPC endpoint. Which of the following solutions will most likely resolve the issue? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Ensure that the NACL associated with the logging service subnet allows communication to and from the NLB subnets. Ensure that the NACL associated with the NLB subnets allows communication to and from the EC2 instances subnets running the logging service. · D. Ensure that the security group attached to the EC2 instances hosting the logging service allows inbound traffic from the NLB's security group. Also, ensure that the security group attached to the NLB allows inbound traffic from the interface endpoint subnet.

    For AWS PrivateLink, the Network Load Balancer masks the original client IP, meaning target security groups must allow traffic from the NLB. Network ACLs are stateless and must explicitly allow bidirectional traffic between the endpoint, NLB, and target subnets.

  87. Question 87 of 258A company is using Microsoft Active Directory to manage all employee accounts and devices. The IT department instructed the solutions architect to implement a single sign-on feature to allow the employees to use their existing Windows account password to connect and use the various AWS resources. Which of the following options is the recommended way to extend the current Active Directory domain to AWS?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Use AWS Directory Service to integrate your AWS resources with the existing Active Directory using trust relationship. Enable single sign-on using Managed Microsoft AD.

    Managed Microsoft AD integrates with on-premises Active Directory by establishing forest trusts to extend single sign-on capabilities. While IAM Identity Center handles AWS access, AWS Directory Service is required to connect your existing domain. Cognito is for public apps.

  88. Question 88 of 258A clothing company is using a proprietary e-commerce platform as their online shopping website. The e-commerce platform is hosted on a fleet of on-demand EC2 instances that are launched in a public subnet. Aside from acting as web servers, these EC2 instances also fetch updates and critical security patches from the Internet. The Solutions Architect was tasked to ensure that the instances can only initiate outbound requests to specific URLs provided by the proprietary e-commerce platform while accepting all inbound requests from the online shoppers. Which of the following is the BEST solution that the Architect should implement in this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. In your VPC, launch a new web proxy server that only allows outbound access to the URLs provided by the proprietary e-commerce platform.

    Proxy servers act as relays to filter outbound web requests based on specific URLs. This meets the requirement without breaking inbound connectivity. NAT gateways operate at the IP layer and cannot filter domain names or URLs.

  89. Question 89 of 258A multinational software provider in the US hosts both of its development and test environments in the AWS cloud. The CTO decided to use separate AWS accounts in hosting each environment. The solutions architect has enabled Consolidated Billing to link each of the accounts' bill to a Master AWS account. To make sure that each account is kept within the budget, the administrators in the master account must have the power to stop, delete, and/or terminate resources in both development and test environment AWS accounts. Which of the following options is the recommended action to meet the requirements for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. First, create IAM users in the master account. Then in the Dev and Test accounts, generate cross-account roles that have full admin permissions while granting access for the master account.

    Cross-account roles are created in the target accounts and specify the master account as a trusted entity. This delegates the necessary permissions without duplicating IAM users. Permissions cannot be inherited simply through consolidated billing.

  90. Question 90 of 258A BPO company uses a multitiered, java-based content management system (CMS) hosted on an on-premises data center. The CMS has a JBoss Application server present in the application tier. The database tier consists of an Oracle database which is regularly backed up to S3 using the Oracle RMAN backup utility. The application's static files and content are kept on a 512 GB Storage Gateway volume which is attached to the application server via an iSCSI interface. The solutions architect was tasked to create a disaster recovery solution for the application and its data. Which AWS-based disaster recovery strategy will give you the best RTO?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Provision EC2 servers for both your JBoss application and Oracle database, and then restore the database backups from an S3 bucket. Also provision an EBS volume containing static content obtained from Storage Gateway, and attach the volume to the JBoss EC2 server.

    Provisioning Amazon EBS volumes directly from Storage Gateway snapshots provides the fastest recovery path and lowest RTO for static files. Avoid AWS Storage Gateway-VTL or Amazon Glacier for urgent disaster recovery scenarios, as their retrieval times are significantly slower.

  91. Question 91 of 258A telecommunications company has several Amazon EC2 instances inside an AWS VPC. To improve data leak protection, the company wants to restrict the internet connectivity of its EC2 instances. The EC2 instances that are launched on a public subnet should be able to access product updates and patches from the Internet. The packages are accessible through the third-party provider via their URLs. The company wants to explicitly deny any other outbound connections from the VPC instances to hosts on the Internet. Which of the following options would the solutions architect consider implementing to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. You can use a forward web proxy server in your VPC and manage outbound access using URL-based rules. Default routes are also removed.

    Deploying a forward web proxy allows you to filter outbound VPC traffic using specific URL domains. Security groups and network ACLs operate at the network layer and cannot inspect HTTP URLs, making them ineffective for domain-based content filtering.

  92. Question 92 of 258A company uses a CloudFormation script to deploy an online voting application. The app is used for a Nature Photography Contest that accepts high-resolution images, stores them in an S3 bucket, and records a 100-character summary about the image in RDS. The Solutions Architect must ensure that the same online voting application can be deployed once again using the same CloudFormation template for succeeding contests in the future. The photography contest will run for just a month and once it has been concluded, there would be nobody using the online voting application anymore until the next contest. As preparation for the upcoming events next year, the 100-character summaries should be kept and the S3 bucket, which contains the high-resolution photos, should remain. Which of the following options is the recommended action to meet the above requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. 1. Set the DeletionPolicy on the S3 resource declaration in the CloudFormation template to Retain. 2. Set the RDS resource declaration DeletionPolicy to Snapshot.

    Setting the S3 DeletionPolicy to Retain preserves the bucket during stack deletion. Setting RDS to Snapshot backs up the database and stops compute costs when idle. Option B fails because retaining the RDS instance incurs unnecessary charges during the year.

  93. Question 93 of 258A company has several NFS shares in its on-premises data center that contain millions of small log files totaling around 50TB in size. The files in these NFS shares need to be migrated to an Amazon S3 bucket. To start the migration process, the solutions architect requested an AWS Snowball Edge device that will be used to transfer the files to Amazon S3. A file interface was configured on the Snowball Edge device and is connected to the corporate network. The Solutions Architect initiated the snowball cp command to start the copying process, however, the copying of data is significantly slower than expected. Which of the following options is the likely cause of the slow transfer speed and the recommended solution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. This is due to encryption overhead when copying files to the Snowball Edge device. Open multiple sessions to the Snowball Edge device and initiate parallel copy jobs to improve the overall copying throughput.

    Copying millions of small files to Snowball Edge incurs heavy encryption overhead per file. Running multiple parallel copy jobs across terminal sessions drastically improves throughput. Option C fails because clustering increases storage and durability, not single-file transfer speeds.

  94. Question 94 of 258An electronics and communications company in Japan has several VPCs in the AWS Cloud. It uses NAT instances to allow multiple EC2 instances from the private subnet to initiate connections to the internet while also restricting any requests coming from the outside network. However, there are numerous incidents where the NAT instance is not available, which affects the batch processing of critical applications. Which is the most suitable solution that provides better availability and bandwidth to the current infrastructure with minimal administrative effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a NAT gateway then specify its corresponding subnet and Elastic IP address. Update the route tables of the private subnet to point the Internet traffic to the NAT gateway.

    A managed NAT gateway provides better availability and bandwidth automatically, requiring no administrative effort compared to a NAT instance. For the exam, remember that egress-only internet gateways are strictly for IPv6 traffic, not IPv4.

  95. Question 95 of 258An organization is migrating its on-premises web application to AWS. The application comprises a Java-based backend and a NoSQL MongoDB database. Due to constraints, the application cannot be modified during the migration process, and the migrated solution must maintain an architecture similar to the on-premises setup. Additionally, the application requires high availability for both the backend and the database to ensure continuous operation. Which solution will meet these requirements while adhering to the constraints?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Deploy the Java application on Amazon EC2 instances within an Auto Scaling group spanning multiple Availability Zones. Migrate the MongoDB database to Amazon DocumentDB (with MongoDB compatibility) across multiple Availability Zones.

    Deploying the Java application on EC2 instances in an Auto Scaling group and migrating the database to Amazon DocumentDB across multiple Availability Zones meets all requirements. DocumentDB is crucial here because it offers MongoDB compatibility without requiring application code changes.

  96. Question 96 of 258A global enterprise web application is using a private S3 bucket, named MANILATECH-CONFIG, which has Server-Side Encryption with Amazon S3-Managed Encryption Keys (SSE-S3) to store its configuration files for different regions in North America, Latin America, Europe, and Asia. There has been a lot of database changes and feature toggle switching for the past few weeks. Your CTO assigned you the task of enabling versioning on this bucket to track any changes made to the configuration files and have the ability to use the old settings if needed. In the coming days ahead, a new region in Oceania will be supported by the web application and thus, a new configuration file will be added soon. Currently, there are already four files in the bucket, namely: MNL-NA.config, MNL-LA.config, MNL-EUR.config, and MNL-ASIA.config which are updated regularly. As instructed, you enabled the versioning in the bucket and after a few days, the new MNL-O.config configuration file for the Oceania region has been uploaded. A week after, a configuration has been done on MNL-NA.config, MNL-LA.config, and MNL-O.config files. In this scenario, which of the following is correct about files inside the MANILATECH-CONFIG S3 bucket? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. The MNL-EUR.config and MNL-ASIA.config files will have a Version ID of null. · E. There would be two available versions for each of the MNL-NA.config, MNL-LA.config, and MNL-O.config files. The first Version ID of MNL-NA.config and MNL-LA.config has a value of null.

    When S3 versioning is enabled, existing objects receive a version ID of null, while any new uploads or updates get a unique alphanumeric version ID. A practical exam cue is that versioning does not apply retroactively to unmodified objects.

  97. Question 97 of 258A company has launched a web service in the cloud that analyzes tweets filtered by keywords. This service is hosted on a fleet of on-demand EC2 instances running in multiple Availability Zones with Auto Scaling, and are load-balanced by an application load balancer. After checking the load balancer logs, the solutions architect noticed that on-demand EC2 instances in one of the AZ's are not receiving requests. Which of the following option is the most likely cause of this issue?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. The availability zone that is not receiving traffic was not associated with the application load balancer.

    If an Availability Zone is not associated with the Application Load Balancer, instances in that zone will not receive any traffic. For the exam, remember that Auto Scaling groups can span multiple zones, but the load balancer must be explicitly configured to route traffic there.

  98. Question 98 of 258A hospital chain in London uses an online central hub for its doctors and nurses. The application interacts with millions of requests per day to fetch various medical data of their patients. The system is composed of a web tier, an application tier, and a database tier that receives large and unpredictable traffic demands. The Solutions Architect must ensure that this infrastructure is highly-available and scalable enough to handle web traffic fluctuations automatically. Which of the following options should the solutions architect implement to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Run the web and application tiers in stateless instances in an autoscaling group, using Amazon ElastiCache Serverless for tier synchronization and CloudWatch for monitoring. Run the database tier using RDS with read replicas, and Multi-AZ enabled.

    Running stateless instances in an Auto Scaling group with Amazon ElastiCache Serverless and an RDS database with read replicas and Multi-AZ provides the best scalability and availability. A key exam cue is that stateful instances cannot scale dynamically without losing session data.

  99. Question 99 of 258A media company in South Korea offers high-quality wildlife photos to its clients. Its photographers upload a large number of photographs to the company's Amazon S3 bucket. Currently, the company is using a dedicated group of on-premises servers to process the photos and uses an open-source messaging system to deliver job information to the servers. After processing, the data would go to a tape library and be stored for long-term archival. The company decided to shift everything to AWS Cloud, and the solutions architect was tasked to implement the same existing infrastructure design and leverage AWS tools such as storage and messaging services to minimize cost. Which of the following options is the recommended solution that will meet the requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create an Auto-scaling group of spot instance workers that scale according to the queue depth in SQS to process job messages. After the data has been processed, transfer your S3 objects to Amazon Glacier.

    Using an Auto Scaling group of Spot Instances driven by Amazon SQS queue depth handles asynchronous photo processing at a low cost. Transitioning the processed Amazon S3 objects to Amazon S3 Glacier provides the required long-term archival storage.

  100. Question 100 of 258An analytics company plans to create a self-service solution that will provide a safe and cost-effective way for data scientists to access Amazon SageMaker AI on the company's AWS accounts. The data scientists have limited knowledge of the AWS cloud, so the complex setup requirements for its ML models should not be exposed. The company wants the data scientists to be able to launch a Jupyter notebook instance if needed. The data at rest on the storage volume of the notebook instance must be encrypted with a preconfigured AWS KMS key. Which of the following solutions will meet the company requirements with the LEAST amount of operational overhead?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Write an AWS CloudFormation template that contains the AWS::SageMaker::NotebookInstance resource type to launch a Jupyter notebook instance with a preconfigured KMS key. Create Mappings on the CloudFormation to map simpler parameter names for instance sizes such as Small, Medium, Large. Reference the URL of the notebook instance on the Outputs section of the template. Create a portfolio in AWS Service Catalog and upload the template to be shared with the IAM role of the data scientists.

    AWS Service Catalog provides a secure self-service portal that allows data scientists to launch predefined Amazon SageMaker AI environments. This approach abstracts complex AWS configuration details while centrally enforcing mandatory security controls like KMS encryption.

  101. Question 101 of 258A manufacturing company is developing a system to monitor and analyze equipment performance using IoT devices. They plan to use AWS IoT Core to collect data from 500 sensors across their production lines. The collected data must be enriched with additional context before being stored in an Amazon S3 data lake. Sensor data is collected every 10 seconds. The enriched data should be available in the data lake within 20 minutes of collection.Which approach fulfills these requirements in the MOST cost-effective and scalable manner?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Use AWS IoT Core Basic Ingest for data collection. Configure an AWS IoT rule action to send data to Amazon Data Firehose. Set up Data Firehose with an AWS Lambda function for data enrichment and a buffer interval of 300 seconds.

    AWS IoT Core Basic Ingest routes messages directly to the Rules Engine, minimizing messaging costs. Routing this data to Amazon Data Firehose provides a fully managed pipeline to batch the incoming sensor data, seamlessly run AWS Lambda transformations, and deliver it to Amazon S3.

  102. Question 102 of 258A company runs its internal tool on AWS. It is used for logistics and shipment tracking for the company's warehouse. With the current system process, the application receives an order and it sends an email to the employees with the information needed for the package shipment. After the employees prepare the order and ship the package, they reply to the email so that the application can mark the order as shipped. The company wants to migrate to a serverless application model to stop relying on emails and minimize the operational overhead for the application. Which of the following options should the Solutions Architect implement to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Store the order information on an Amazon DynamoDB table. Create an AWS Step Functions workflow that will be triggered for every new order. Have the workflow mark the order as "in progress" and print the shipping label for the package. Once the package is scanned and leaves the warehouse, trigger an AWS Lambda function to mark the order as "shipped" and complete the Step Functions workflow.

    Step Functions provides the serverless orchestration needed to track the multi-step order workflow, while DynamoDB stores the order state. Polling SQS introduces unnecessary delays, and using EC2 with EFS violates the serverless and low-operational-overhead requirements.

  103. Question 103 of 258A company has an on-premises identity provider (IdP) used for authenticating employees. The Solutions Architect has created a SAML 2.0 based federated identity solution that integrates with the company IdP. This solution is used to authenticate users' access to the AWS environment. Upon initial testing, the Solutions Architect has been successfully granted access to the AWS environment through the federated identity web portal. However, other test users who tried to authenticate through the federated identity web portal are not given access to the AWS environment. Which of the following options must be checked to ensure the proper configuration of identity federation? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: A. Ensure that the trust policy of the IAM roles created for the federated users or groups has set the SAML provider as principal. · C. Ensure that the appropriate IAM roles are mapped to company users and groups in the IdP's SAML assertions. · D. Ensure that the ARN of the SAML provider, the ARN of the created IAM role, and SAML assertion from the IdP are all included when the federated identity web portal calls the AWS STS AssumeRoleWithSAML API.

    SAML federation requires mapping IdP groups to IAM roles, setting the SAML provider as the role principal, and passing all required ARNs to STS. Federated users do not need IAM policies directly attached, and VPC connectivity is irrelevant to browser-based SAML SSO.

  104. Question 104 of 258An enterprise plans to create a new cloud deployment that will be used by several project teams. The network must be designed so that it allows autonomy for the administrators of the individual AWS accounts to modify their route tables freely. However, the company wants to monitor outbound traffic so it is required to have a centralized and controlled egress Internet connection for all accounts. As more teams are expected to join this deployment, the organization is expected to grow into thousands of AWS accounts. Which of the following options should the Solutions Architect implement to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a shared transit gateway. Have each spoke VPC connect to the transit gateway. In a central VPC, deploy a Gateway Load Balancer (GWLB) that fronts a fleet of firewall appliances with routing to the public internet.

    AWS Transit Gateway connects thousands of VPCs without managing complex peering limitations. Deploying a Gateway Load Balancer in a central VPC lets you scale firewall appliances for centralized egress inspection. VPC peering fails here because strict connection limits prevent scaling to thousands of accounts.

  105. Question 105 of 258An electric utility company deploys smart meters for its customers to easily track electricity usage. Each smart meter sends data every five minutes to an Amazon API Gateway, which is then processed by several AWS Lambda functions before being stored in an Amazon DynamoDB table. The Lambda functions take about 5 to 10 seconds to process the data based on the initial deployment testing. As the company's customer base grew, the solutions architect noticed that the Lambda functions were now taking 60 to 90 seconds to complete the processing. New metrics are also collected from the smart meters, which further increases the processing time. Errors began showing when running the Lambda function, such as TooManyRequestsException and ProvisionedThroughputExceededException error when performing a PUT operation on the DynamoDB table. Which combination of the following actions will resolve these issues? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. As more customers are sending data, adjust the Write Capacity Unit (WCU) of the DynamoDB table to be able to accommodate all the write requests being processed by the Lambda functions. · E. Process the data in batches to avoid reaching the write limits to the DynamoDB table. Group the requests from API Gateway by streaming the data into an Amazon Kinesis data stream.

    DynamoDB throws a provisioned throughput error when write capacity is exceeded, so increasing WCUs fixes that bottleneck. To prevent Lambda concurrency limits, stream API Gateway payloads into Kinesis, allowing Lambda to process data in resilient batches.

  106. Question 106 of 258An e-commerce company is having its annual sale event, where buyers will be able to purchase goods at a large discount on its e-commerce website. The e-commerce site will receive millions of visitors in a short period of time when the sale begins. The visitors will first log in to the site using either a Facebook or Google account and add items to the cart. After purchasing, a page will display the cart items along with the discounted prices. The company is also considering using Amazon Translate to support multiple languages for its international visitors. The company needs to build a checkout system that can handle the sudden surge of incoming traffic. The team evaluated Amazon Managed Streaming for Apache Kafka but opted for a simpler message queue for decoupling. Which of the following is the MOST scalable solution that the company should use?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Combine an Elastic Load balancer in front of an Auto Scaling group of web servers with Amazon CloudFront for fast delivery. The web servers will first authenticate the users by logging into their social media accounts which are integrated in Amazon Cognito, then process the user's purchases and store them into an Amazon SQS queue using IAM Roles for Amazon EC2 Instances to gain permissions to the queue. Finally, the items from the queue are retrieved by a set of application servers and stored into an Amazon DynamoDB table.

    CloudFront, a load balancer, and an Auto Scaling group handle sudden traffic spikes for the web tier. Decoupling the checkout process using an SQS queue buffers incoming requests, protecting the backend DynamoDB database during massive usage surges.

  107. Question 107 of 258An online gambling site is hosted in two Elastic Compute Cloud (EC2) instances inside a Virtual Private Cloud (VPC) in the same Availability Zone (AZ) but in different subnets. The first EC2 instance is running a database and the other EC2 instance is a web application that fetches data from the database. You are required to ensure that the two EC2 instances can connect with each other in order for your application to work properly. You also need to track historical changes to the security configurations associated to your instances. Which of the following options below can meet this requirement? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Check and configure the network ACL to allow communication between the two subnets. Ensure that the security groups allow the application host to talk to the database on the right port and protocol. · E. Use AWS Config to track historical changes to the security configurations associated to your instances.

    Configuring security groups and network ACLs properly permits traffic between the application and database subnets. AWS Config is the designated service for tracking historical resource configuration changes, whereas Systems Manager handles operational tasks.

  108. Question 108 of 258A financial startup offers flexible short-term loans of up to $5,000 to its users. Their online portal is hosted in AWS which uses S3 for scalable storage, DynamoDB as a NoSQL database, and a fleet of EC2 instances to host their web servers. To meet financial regulations, the company is required to undergo a compliance audit. In this scenario, how will you provide the auditor access to the logs of your AWS resources?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. 1. Enable CloudTrail logging to required AWS resources. 2. Create an IAM user with read-only permissions to the required AWS resources. 3. Provide the access credential to the auditor.

    AWS CloudTrail records API calls and account events for auditing. You grant external auditors access by creating an IAM user with read-only permissions to the CloudTrail S3 bucket. Option A fails because you manage audits directly without AWS intervention.

  109. Question 109 of 258An online stock trading application is deployed to multiple Availability Zones in the us-east-1 Region (N. Virginia) and uses RDS to host the database. Considering the massive financial transactions that the trading application handles, the company has hired you to be a consultant to make sure that the system is scalable, highly-available, and disaster resilient. In the event of failure, the Recovery Time Objective (RTO) must be less than 2 hours and the Recovery Point Objective (RPO) must be 10 minutes to meet the compliance requirements set by the regulators. In this scenario, which Disaster Recovery strategy can be used to achieve the RTO and RPO requirements in the event of system failure? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Take hourly database backups and export to an S3 bucket with transaction logs stored in S3 every 5 minutes. Set up a Cross-Region Replication (CRR) to another AWS Region. · D. Set up an AWS Backup plan for the Amazon RDS database with the continuous backups for point-in-time recovery (PITR) option enabled

    AWS Backup with continuous backups enables point-in-time recovery to meet strict recovery objectives. Exporting hourly snapshots and transaction logs to S3 with cross-region replication provides offsite disaster recovery. Option B fails because Glacier retrieval times exceed the required time.

  110. Question 110 of 258A company wants to improve data protection for the sensitive information stored on its AWS account – both in transit and at rest. Data protection in transit means that the data should be secured while it travels to and from Amazon S3. Data protection at rest means that the stored data on disk in S3 data centers must be secured. The data can be protected in transit by using SSL or by using client-side encryption. To secure data at rest, there are a variety of available Server-Side Encryption options that can be used in S3. The company currently uses Mountpoint for Amazon S3 to provide high-performance file access to its S3 buckets, and it is now evaluating server-side encryption options to protect its data at rest. Which of the following best describes how the S3-Managed Keys (SSE-S3) encryption method works?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. SSE-S3 provides strong multi-factor encryption in which each object is encrypted with a unique key. It also encrypts the key itself with a master key that it rotates regularly.

    SSE-S3 provides strong encryption where Amazon S3 encrypts each object with a unique key and encrypts that key with a regularly rotated master key. A quick exam cue is that if you need to manage the keys yourself, you must choose SSE-KMS, not SSE-S3.

  111. Question 111 of 258An international insurance company has clients all across the globe. The company has financial files that are stored in an Amazon S3 bucket which is behind CloudFront. At present, their clients can access their data by directly using an S3 URL or using their CloudFront distribution. The company wants to deliver their content to a specific client in California and they need to make sure that only that client can access the data. Which of the following options is a valid solution that meets the above requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Create a new S3 bucket in US West (N. California) region and upload the files. Use S3 pre-signed URLs to ensure that only their client can access the files. Remove permission to use Amazon S3 URLs to read the files for anyone else. · C. Use CloudFront signed URLs to ensure that only their client can access the files. Create an origin access control (OAC) and give it permission to read the files in the bucket. Remove permission to use Amazon S3 URLs to read the files for anyone else.

    Using S3 pre-signed URLs directly restricts file access, while using CloudFront signed URLs with an origin access control restricts content to CloudFront. Remember that signed cookies are better for multiple files, but do not secure direct S3 access without further restrictions.

  112. Question 112 of 258A company has an Oracle Real Application Clusters (RAC) database on their on-premises data center which they want to migrate to AWS. The Chief Information Security Officer (CISO) instructed the solutions architects to automate the patch management process of the operating system in which the database runs, as well as to set up scheduled backups to comply with the company's disaster recovery plan. Which of the following should the solutions architect implement to meet the company requirements with the least amount of effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Migrate the database to a cluster of EBS-backed Amazon EC2 instances across multiple AZs. Automate the creation of EBS snapshots from EBS volumes of the EC2 instance by using Amazon Data Lifecycle Manager. Install the SSM Agent to the EC2 instance and automate the patch management process using AWS Systems Manager Patch Manager.

    Since Amazon RDS does not support Oracle Real Application Clusters, you must deploy the database on Amazon EC2. You can then use AWS Systems Manager Patch Manager to automate operating system updates and Amazon Data Lifecycle Manager for scheduled EBS snapshots.

  113. Question 113 of 258A company hosts its main web application on the AWS cloud which is composed of web servers and database servers. To ensure high availability, the web servers are deployed on an Auto Scaling group of Amazon EC2 instances across multiple Availability Zones with an Application Load Balancer in front. For the database, it is deployed on a Multi-Availability Zone configuration in Amazon RDS. During the RDS maintenance window, the operating system of the primary DB instance undergoes software patching that triggers the failover process. What would happen to the database during failover?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. The canonical name record (CNAME) is changed from the primary database to standby database.

    During an Amazon RDS Multi-AZ failover, AWS automatically updates the DNS canonical name record to point to the standby instance. Applications seamlessly reconnect using the same endpoint without needing manual IP address reconfiguration.

  114. Question 114 of 258A company is building a new cryptocurrency trading platform that will be hosted on the AWS cloud. The solutions architect needs to set up the designed architecture in a single VPC. The solution should mitigate distributed denial-of-service (DDoS) attacks to secure the company's applications and systems. The solution should also include a notification for incoming Layer 3 or Layer 4 attacks such as SYN floods and UDP reflection attacks. The system should also be protected against SQL injection, cross-site scripting, and other Layer 7 attacks. Which of the following solutions should the solutions architect implement together to meet the above requirement? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Use AWS WAF to define customizable web security rules that control which traffic can access your web applications. · C. Use AWS Shield Advanced which provides enhanced DDoS attack detection and monitoring for application-layer traffic to your AWS resources.

    AWS Shield Advanced provides managed DDoS protection and detailed attack notifications for network and transport layer threats. AWS WAF complements this by inspecting HTTP requests to block layer seven exploits like SQL injection.

  115. Question 115 of 258A company wants to create a new service that will complement the launch of its new product. The site must be highly available and scalable to handle the unpredictable workload, and should also be stateless and REST compliant. The solution needs to have multiple persistent storage layers for service object metadata and durable storage for static content. All requests to the service should be authenticated and securely processed. The company also wants to keep the costs at a minimum. The team considered using an AWS Lambda authorizer for custom authentication logic but wants to minimize operational overhead. Which of the following is the recommended solution that will meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure Amazon API Gateway with the required resources and methods. Create unique Lambda functions to process each resource and configure the API Gateway methods with proxy integration to the respective Lambda functions. Control user access to the API by using Amazon Cognito user pools. Store service object metadata in an Amazon DynamoDB table with Auto Scaling enabled. Create a secured Amazon S3 bucket to store the static content. Generate presigned URLs when referencing objects stored on the S3 bucket.

    API Gateway with Lambda proxy integration provides a serverless REST API, and Cognito user pools handle authentication without custom code. Fargate incurs higher baseline costs than Lambda, and custom authorizers add unnecessary operational overhead compared to managed pools.

  116. Question 116 of 258A company has a hybrid cloud architecture where their on-premises data center and VPC are connected via multiple AWS Direct Connect ports in a single Link Aggregation Group (LAG). They have an on-premises patch management system that automatically applies the patches to the operating systems of their servers and file systems. You were given a task to synchronize the patch baselines being used on-premises to all of the EC2 instances in your VPC, as well as to automate the patching schedule. Which of the following methods should you implement to meet the above requirement with the LEAST amount of effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use AWS Systems Manager Patch Manager to manage and deploy the security patches of your EC2 instances based on the patch baselines from your on-premises data center. Install the SSM Agent to all of your instances and automate the patching schedule by using AWS Systems Manager Maintenance Windows.

    Patch Manager automates OS patching using custom baselines, while Maintenance Windows schedule these disruptive tasks safely. Session Manager only provides shell access, and writing custom Lambda scripts to run commands requires unnecessary operational overhead.

  117. Question 117 of 258A leading commercial bank has multiple AWS accounts that are consolidated using AWS Organizations. The bank uses AWS Firewall Manager to centrally manage firewall rules across all its AWS accounts. The cybersecurity team already centrally manages Firewall Policies for web applications via Firewall Manager. The bank is building an online portal for foreclosed real estate properties that it owns. The online portal is designed to use SSL for better security. The bank would like to implement a separation of responsibilities between the DevOps team and its cybersecurity team. The DevOps team is entitled to manage and log in to the Amazon EC2 instances, while the cybersecurity team has exclusive access to the application's X.509 certificate, which contains the private key and is stored in AWS Certificate Manager (ACM). Which of the following options would satisfy the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Configure an IAM policy that authorizes access to the certificate store only for the cybersecurity team and then add a configuration to terminate the SSL on the ELB.

    Configuring IAM policies restricts access to the ACM certificates, while ELB SSL termination ensures private keys never touch EC2 instances. Uploading certificates to S3 is insecure, and SCPs only set guardrails without granting actual resource access permissions.

  118. Question 118 of 258A leading commercial bank has a hybrid cloud architecture and is using a Volume Gateway under the AWS Storage Gateway service to store their data via the Internet Small Computer Systems Interface (ISCSI). The security team has detected a series of replay attacks to your network, which is basically a form of network attack in which a valid data transmission is maliciously or fraudulently repeated or delayed. After their investigation, they detected that the originator of the attack is trying to intercept the data with an intention to re-transmit it, which is possibly part of a masquerade attack by IP packet substitution. As a Solutions Architect of the bank, how can you secure your AWS Storage Gateway from these types of attacks?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Configure a Challenge-Handshake Authentication Protocol (CHAP) to authenticate iSCSI and initiator connections.

    Configuring Challenge-Handshake Authentication Protocol secures iSCSI connections by periodically verifying the initiator identity, preventing replay attacks. CHAP does not apply to NFS connections, and changing gateway types does not resolve underlying protocol vulnerabilities.

  119. Question 119 of 258A global real estate startup is looking for an option of adding a cost-effective location-based alert to iOS and Android mobile apps. Users will receive push notifications on mobile devices regarding real estate offers in proximity to current locations, with delivery expected in under a minute. The existing mobile app has an initial 2 million users worldwide and is rapidly growing. The team considered using AWS Wavelength for edge processing of location data but chose a simpler queuing approach to reduce costs. What is the most suitable architecture to use in this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Set up an architecture where the mobile app will send the user's location to an Amazon SQS queue, and a fleet of On-Demand Amazon EC2 instances will retrieve the relevant offers from an Amazon DynamoDB table. Once the data has been processed, use AWS SNS Mobile Push to send out the offers to the mobile app.

    Amazon SNS Mobile Push delivers messages directly to mobile endpoints, making it ideal for sending timely real estate alerts globally. AWS Device Farm is strictly for testing, and relational databases like RDS or Aurora lack the necessary scalability for global user profiles.

  120. Question 120 of 258A leading call center company has its headquarters in Seattle. Its corporate web portal is deployed to AWS. The AWS cloud resources are linked to its corporate data center via a link aggregation group (LAG), which terminates at the same AWS Direct Connect endpoint and is connected on a private virtual interface (VIF) in your VPC. The portal must authenticate against their on-premises LDAP server. Each Amazon S3 bucket can only be accessed by a logged-in user if it belongs to that user. Which of the following options should the solutions architect implement in AWS to meet the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Authenticate against LDAP using an identity broker you created, and have it call IAM Security Token Service (STS) to retrieve IAM federated user credentials. The application then gets the IAM federated user credentials from the identity broker to access the appropriate S3 bucket. · C. The application first authenticates against LDAP to retrieve the name of an IAM role associated with the user. It then assumes that role via a call to IAM Security Token Service (STS). Afterward, the application can now use the temporary credentials from the role to access the appropriate S3 bucket.

    Authenticating users against LDAP and using an identity broker to assume IAM roles via STS securely grants temporary S3 access. You cannot use LDAP credentials to log in to IAM directly, and Direct Connect modifications do not resolve application-level authentication requirements.

  121. Question 121 of 258A weather forecasting agency established a network of IoT devices in the ocean to help predict incoming typhoons. The IoT devices monitor the sea surface temperature and atmospheric pressure and send the data as messages to AWS IoT Core, which updates an Amazon DynamoDB table. On the weekly monitoring report, a system administrator notices that no new database updates are happening. The agency already uses AWS IoT Device Defender to audit device security policies and detect abnormal behavior, but this does not help diagnose connectivity interruptions. What should the administrator do to troubleshoot the issue?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Register the IoT devices to AWS IoT Device Management and monitor the devices' health and ensure the devices are connected to AWS IoT Core.

    AWS IoT Device Management allows administrators to register, organize, monitor, and remotely manage IoT devices at scale to troubleshoot connectivity. Device Defender is strictly for security audits and anomaly detection, meaning it will not help you diagnose fleet health or resolve interrupted connections.

  122. Question 122 of 258A call center company uses its custom application to process and store call recordings in its on-premises data center. The recordings are stored on an NFS share. An offshore team is contracted to transcribe about 2% of the call recordings to be used for quality assurance purposes. It could take up to 3 days before the recordings are completely transcribed. The application that processes the calls and manages the transcription queue is hosted on Linux servers. A web portal is available for the quality assurance team to review the call recordings. After 90 days, the recordings are sent to an offsite location for long-term storage. The company plans to migrate the system to the AWS cloud to reduce storage costs and automate the transcription of the recordings. Which of the following options is the recommended solution to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Store all recordings in an Amazon S3 bucket. Create an S3 lifecycle policy to move objects older than 90 days to Amazon S3 Glacier. Create an AWS Lambda trigger to start a transcription job using Amazon Transcribe. Update the web portal so it can be hosted on an Amazon S3 bucket, Amazon API Gateway, and AWS Lambda.

    Storing files in Amazon S3 with a lifecycle policy to Glacier directly satisfies the cheap long-term storage requirement. Using Lambda to trigger Amazon Transcribe automates speech-to-text processing, avoiding unnecessary EC2 fleets. Distractors incorrectly suggest AWS IQ for automation or Amazon Translate, which only handles text translation, not audio.

  123. Question 123 of 258A company is migrating a legacy Oracle database from its on-premises data center to AWS. It will be deployed on an existing Amazon EC2 instance with multiple EBS volumes attached. For the migration, a new volume must be created for the Oracle database and then attached to the instance. This will be used by a financial web application and will primarily store historical financial data that is infrequently accessed. The company is also considering using Amazon GuardDuty to monitor its AWS environment for security threats. Which of the following is the MOST cost-effective and throughput-oriented solution that the Solutions Architect should implement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Migrate the database using the AWS Database Migration Service and use a Cold HDD (sc1) EBS volume.

    Cold HDD volumes provide low-cost magnetic storage that defines performance in terms of throughput rather than IOPS. This makes them the ideal choice for infrequently accessed, throughput-oriented workloads. Throughput Optimized HDD is for frequently accessed data, making it a less cost-effective distractor here.

  124. Question 124 of 258A company runs a popular blogging platform that is hosted on AWS. Bloggers from all around the world upload millions of entries per month, and the average blog entry size is 300 KB. The access rate to blog entries drops to a negligible level six months after publishing, and after a year, bloggers rarely access a blog. The blog entries have a high update rate during the first 3 months after the blogger has published it, and this drops to no updates after 6 months. The company wants to use CloudFront to improve the load times of the blogging platform. Which of the following is an ideal cloud implementation for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. You can use one S3 source bucket that is partitioned according to the month a blog entry was submitted, and store the entry in that partition. Create a CloudFront distribution with access permissions to S3 and is restricted only to it.

    Partitioning data by upload month in a single S3 bucket allows you to easily apply different cache behaviors based on object age. Restricting an Origin Access Identity to the bucket ensures secure access. Duplicating data or forcing minimum TTLs is inefficient.

  125. Question 125 of 258A popular news website that uses an Oracle database is currently deployed in the company's on-premises network. Due to its growing number of readers, the company decided to move its infrastructure to AWS, where it can further improve the performance of the website. The company is also considering using AWS License Manager to track and manage its Oracle database licenses on AWS. The company earns from the advertisements placed on the website, so the Solutions Architect was instructed to ensure that the website remains available in case of database server failures. The company's team of content writers constantly uploads new articles every day, including the wee hours of the morning, to cover breaking news.Which of the following should the Solutions Architect implement to create a highly available architecture to meet the requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create an Oracle database in Amazon RDS with Multi-AZ deployments.

    Amazon RDS Multi-AZ deployments provide high availability by synchronously replicating data to a standby instance in a different Availability Zone. Read Replicas fail this requirement because content writers cannot upload to the database if the primary node goes down.

  126. Question 126 of 258An e-commerce company is running a three-tier application on AWS. The application includes a web tier as frontend, an application tier as backend, and the database tier that stores the transactions and users' data. The database is currently hosted on an extra-large instance with 128 GB of memory. The company is also considering using Amazon Managed Grafana to monitor the performance of its application infrastructure. For the company's business continuity and disaster recovery plan, the Solutions Architect must ensure a Recovery Time Objective (RTO) of 5 minutes and a Recovery Point Objective (RPO) of 1 hour on the backup site in the event that the application goes down. There is also a requirement for the backup site to be at least 250 miles away from the primary site.Which of the following solutions meets the company's disaster recovery requirements while keeping the cost at a minimum?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. On the backup region, create a scaled-down version of the fully functional environment with one Amazon EC2 instance of the web server and application server in their own Auto Scaling groups behind Application Load Balancers. Create a standby database instance that replicates data from the primary database. In case of disaster, scale the instances to meet the demand and update the Amazon Route 53 record to point to the backup region.

    A warm standby disaster recovery strategy uses a scaled-down but fully functional replica of the primary environment to meet tight recovery time objectives. This approach satisfies the five-minute failover requirement while avoiding the high continuous costs of a fully redundant multi-site active-active deployment.

  127. Question 127 of 258A company has a team of data analysts that uploads generated data points to an Amazon S3 bucket. The data points are used by other departments, so the objects in this primary S3 bucket need to be replicated to other S3 buckets on several AWS Accounts owned by the company. The company enforces data governance across all its AWS accounts using AWS Audit Manager. The Solutions Architect created an AWS Lambda function that is triggered by S3 PUT events on the primary bucket. This Lambda function will replicate the newly uploaded object to other destination buckets. Since there will be thousands of object uploads on the primary bucket every day, the company is concerned that this Lambda function may affect other critical Lambda functions because of the regional concurrency limit in Lambda. The replication of the objects does not need to happen in real-time. The team initially considered using provisioned concurrency to guarantee execution capacity, but realized that it was not necessary given the non-urgent nature of the replication. The company needs to ensure that this Lambda function will not affect the execution of other critical Lambda functions. Which of the following options will meet the requirements in the LEAST amount of development effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Configure a reserved concurrency limit for the new function to ensure that its executions will not exceed this limit. Use Amazon CloudWatch alarms to monitor the Throttles metric for Lambda functions to ensure that the concurrency limit is not being reached.

    Configuring reserved concurrency caps the maximum concurrent executions for this specific function, guaranteeing capacity remains available for critical workloads. Backoff algorithms or timeouts still consume invocation slots, and moving to a separate account introduces unnecessary operational overhead.

  128. Question 128 of 258A software development company implements cloud best practices on its AWS infrastructure. The solutions architect has been instructed to manage its AWS cloud Infrastructure as Code (IaC) to automate its software build, test, and deploy process. The company follows a continuous integration and continuous delivery (CI/CD) practice to streamline its software development lifecycle. The company already uses AWS CodeArtifact to store and version its private software packages. The company would like to have the ability to easily deploy exact copies of different versions of its cloud infrastructure, stage changes into different environments, revert back to previous versions, and identify the specific versions running in the VPC. Plus, all new public-facing applications should also have a global content delivery network (CDN) service.Which of the following options is the recommended action to meet the company requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. Use AWS CloudFormation to manage the cloud architecture and Amazon CloudFront as the CDN.

    CloudFormation is the recommended service for managing AWS infrastructure as code, enabling safe rollback and environment staging. CloudFront is the correct global content delivery network service, whereas CloudWatch is strictly a monitoring and observability platform.

  129. Question 129 of 258A health insurance company has recently adopted a hybrid cloud architecture which connects their on-premises network and their cloud infrastructure in AWS. They have an ELB which has a set of EC2 instances behind them. As the cloud engineer of the company, your manager instructed you to ensure that the SSL key used to encrypt data is always kept secure at all times. In addition, the application logs should only be decrypted by a handful of key users. In this scenario, which of the following meets all of the requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. 3. Use an AWS CloudHSM instance to perform the SSL transactions.

    Configuring TCP load balancing on the ELB passes SSL traffic directly to AWS CloudHSM, keeping private keys secure in dedicated hardware. For the exam, remember that S3 is an insecure place to store private keys and CloudHSM provides FIPS-compliant hardware protection.

  130. Question 130 of 258A startup is running a data processing application on AWS. The application is hosted on 25 Amazon EC2 On-Demand Instances, distributed across three Availability Zones, and registered with a target group for a Network Load Balancer (NLB). Reports indicate a sharp decline in performance during high-demand periods, with CPU utilization spiking to 90%-100%. During normal operations, utilization averages only 20%. The application is stateless and needs to ensure consistent response times even during peak traffic. The company is also considering scheduled scaling to handle anticipated traffic increases during planned events.Which solution improves application performance while optimizing costs over the next three years in the most cost-effective manner?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure an Auto Scaling group and attach it to the NLB. Set the minimum capacity to 5 instances and the maximum capacity to 30. Purchase Reserved Instances for 5 instances.

    An Auto Scaling group attached to the load balancer dynamically adjusts capacity to handle performance spikes while keeping baseline costs low. Purchasing Reserved Instances for the baseline capacity ensures long-term cost optimization compared to paying strictly On-Demand rates.

  131. Question 131 of 258A company has three AWS accounts each with its own VPCs. There is a requirement for communication between the AWS resources across the accounts, so VPC peering needs to be configured. VPC-B and VPC-C have matching CIDR blocks. For a short-term requirement, VPC-A needs to communicate only with the database instance in VPC-B with an IP address of 10.0.0.77/32 while being able to communicate with all the resources in VPC-C. The Solutions Architect already created the necessary VPC peering links but VPC-A cannot effectively communicate to the VPC-B instance. The Solutions Architect suspects that the routes on each VPC still need proper configuration. Which of the following solutions will allow VPC-A to communicate with the database instance in VPC-B while being able to communicate with all resources on VPC-C?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. On VPC-A, add a static route for VPC-B CIDR (10.0.0.77/32) with the target pcx-aaaabbbb and another static route for VPC-C CIDR (10.0.0.0/16) with the target pcx-aaaacccc. On VPC-B, add a static route for VPC-A CIDR (172.16.0.0/16) with the target pcx-aaaabbbb. On VPC-C, add a static route for VPC-A CIDR (172.16.0.0/16) with the target pcx-aaaacccc.

    Using a /32 static route in VPC-A leverages the longest prefix match to direct traffic to the specific database instance in VPC-B. The broader /16 route safely handles all other overlapping traffic by sending it to VPC-C. Distractors fail because network ACLs cannot redirect traffic.

  132. Question 132 of 258A company stores confidential files on an Amazon S3 bucket. There was a recent production incident in the company in which the files that are stored in an S3 bucket were accidentally made public. This has caused data leakage that affected the company revenue. The management has instructed the solutions architect to come up with a solution to safeguard the S3 bucket. The solution should only allow private files to be uploaded to the S3 bucket and no file should have a public read or public write access. Which of the following options should the solutions architect implement to meet the above requirements with MINIMAL effort?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Enable Amazon S3 Block Public Access in the S3 bucket.

    Amazon S3 Block Public Access provides centralized controls that override policies to prevent public access with minimal configuration. Exam cue: for questions asking to secure S3 data effortlessly, Block Public Access almost always beats complex IAM policies or Config rules.

  133. Question 133 of 258A leading aerospace engineering company is experiencing high growth and demand on their highly available and fault-tolerant cloud services platform that is hosted in AWS. The technical lead of your team has asked you to virtually extend two existing on-premises data centers into AWS cloud to support an online flight-tracking service that is used by a lot of airline companies. The online service heavily depends on existing, on-premises resources located in multiple data centers and static content that is served from an S3 bucket. To meet the requirement, you launched a dual-tunnel VPN connection between your CGW and VGW. In this scenario, which component of your cloud architecture represents a potential single point of failure, which you should consider changing to make the solution more highly available?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create another Customer Gateway in a different data center and set up another dual-tunnel VPN connection.

    Creating another Customer Gateway in a different data center provides redundancy for the on-premises VPN endpoint, ensuring fault tolerance. Exam cue: a virtual private gateway is already highly available across Availability Zones, so focus on the customer side for redundancy.

  134. Question 134 of 258A company has a web service portal where users can perform read and write operations on its semi-structured data. The company wants to refactor the current application and leverage AWS-managed services for more scalability and higher availability. To ensure optimal user experience, the service is expected to respond to short but significant system load spikes. The service must be highly available and fault-tolerant in the event of a regional AWS failure. Which of the following options is a suitable solution to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create an Amazon DynamoDB global table to store the semi-structured data in two Regions. Use on-demand capacity mode to allow DynamoDB scaling. Run the web service on an Auto Scaling Amazon ECS Fargate cluster in each region. Place each Fargate cluster behind its own Application Load Balancer (ALB). Create Amazon Route 53 Alias records pointed to each ALB using a latency routing policy with health checks enabled.

    DynamoDB global tables provide multi-active read and write replication across regions, and on-demand capacity handles sudden load spikes automatically. Fargate allows rapid container scaling, and Route 53 latency routing ensures users hit the fastest healthy regional endpoint.

  135. Question 135 of 258A leading financial company runs its application in an Amazon ECS Cluster. The application processes a large stream of intraday data and stores the generated result in a DynamoDB table. To comply with the financial regulatory policy, the solutions architect was tasked to design a system that detects new entries in the DynamoDB table and then automatically run tests to verify the results using a Lambda function. Which of the following options can satisfy the company's requirement with minimal configuration changes?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up a DynamoDB stream to detect the new entries and automatically trigger the Lambda function.

    DynamoDB Streams capture item-level modifications, providing a native event source to trigger your Lambda function automatically. This requires minimal configuration compared to complex alternatives like migrating databases or building SNS fan-out architectures.

  136. Question 136 of 258A company is running its main web service in a fleet of Amazon EC2 instances in the us-east-1 AWS Region. The EC2 instances are launched by an Auto Scaling group behind an Application Load Balancer (ALB). The EC2 instances are spread across multiple Availability Zones. The MySQL database is hosted on an Amazon EC2 instance in a private subnet. To improve the resiliency of the web service in case of a disaster, the Solutions Architect must design a data recovery strategy in another region using the available AWS services to lessen the operational overhead. The target RPO is less than a minute and the target RTO is less than 5 minutes. The Solutions Architect has started to provision the ALB and the Auto Scaling group on the us-west-2 region. Which of the following steps should be implemented next to achieve the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Migrate the database from the Amazon EC2 instance to an Amazon Aurora global database. Set the us-east-1 region as the primary database and the us-west-2 region as the secondary database. Configure Amazon Route 53 DNS entry with health checks and failover routing policy to the us-west-2 region.

    Amazon Aurora Global Database provides storage-based replication with typical cross-region latency under one second, meeting strict recovery objectives. Route 53 failover routing shifts traffic to the secondary region during a disaster.

  137. Question 137 of 258A company offers a service that allows users to upload media files through a web portal. The web servers accept the media files and are directly uploaded to the on-premises Network Attached Storage (NAS server). For each uploaded media file, a corresponding message is sent to the message queue. A processing server picks up each message and processes each media file, which can take up to 30 minutes to process. The company noticed that the number of media files waiting in the processing queue is significantly higher during business hours, but the processing server quickly catches up after business hours. To save costs, the company hired a Solutions Architect to improve the media processing by migrating the workload to AWS Cloud. Which of the following options is the most cost-effective solution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Reconfigure the existing web servers to publish messages to a standard queue on Amazon SQS. Create an Auto Scaling group of Amazon EC2 instances that will pull requests from the queue and process the media files. Configure the Auto Scaling group to scale based on the length of the SQS queue. Send the processed media files to an Amazon S3 bucket.

    An Auto Scaling group of EC2 instances scales based on SQS queue depth, handling the bursty workload effectively. AWS Lambda is incorrect here because its 15-minute maximum execution timeout cannot support the 30-minute processing requirement.

  138. Question 138 of 258The www.tutorialsdojonews.com website is using the WordPress platform that runs on a fleet of Amazon EC2 instances behind an application load balancer to deliver news around the globe. There are a lot of customers complaining about the slow loading time of the website. The solutions architect has created a CloudFront distribution and set the ALB as the origin to improve the read performance. After several days, the IT Security team reported that the setup is not secure and it should enable end-to-end HTTPS connections from the user's browser to the origin via CloudFront. Which of the following options should the solutions architect implement to satisfy the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure the CloudFront distribution to redirect HTTP to HTTPS protocol. Generate a new SSL certificate on AWS Certificate Manager and use it as the CloudFront distribution and origin certificate.

    Using an AWS Certificate Manager certificate on both CloudFront and the Application Load Balancer origin provides seamless end-to-end encryption. Configuring the distribution to redirect HTTP to HTTPS guarantees viewer connections are secured. CloudFront default certificates cannot serve custom domain names.

  139. Question 139 of 258A photo-sharing website uses a CloudFront distribution with a default name (dtut0r1al5doj0.cloudfront.net) to distribute its static contents. It uses an ELB in front of an Auto Scaling group of Spot EC2 instances deployed across two Availability Zones. The website has a poor search ranking in Google as it doesn't use a secure HTTPS/SSL on its site. Which of the following are valid options in order to require HTTPS for communication between the viewers and CloudFront? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Configure CloudFront to use its default SSL/TLS certificate by changing the Viewer Protocol Policy setting for one or more cache behaviors to require HTTPS communication. · E. Set the Viewer Protocol Policy< to use Redirect HTTP to HTTPS or HTTPS Only.

    When using the default CloudFront domain name, you can enforce viewer-side HTTPS by configuring the Viewer Protocol Policy to Redirect HTTP to HTTPS or HTTPS Only. In this specific configuration, CloudFront automatically provides and uses its default SSL certificate.

  140. Question 140 of 258A company is running a serverless backend API service on AWS. It has several AWS Lambda functions written in Python and an Amazon API Gateway that is configured to invoke the functions. The company wants to secure the API endpoint by ensuring that only authorized IAM users or roles can access the Amazon API Gateway endpoint. The Solutions Architect was also tasked to provide the ability to inspect each request end-to-end to check the latency of the request and to generate service maps. Which of the following implementation will fulfill the above company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Configure authorization to use AWS_IAM for the API Gateway method. Create the IAM users or roles that have the execute-api:Invoke permission to the ARN of the API resource. Enable request signing with AWS Signature for every call to the API endpoint. Trace and analyze each user request on API Gateway by using AWS X-Ray.

    Configuring AWS_IAM authorization on the API Gateway method ensures only validated identities can invoke the endpoint. AWS X-Ray is the correct tool here because it specifically traces requests end-to-end and generates service maps, whereas CloudWatch Logs only captures operational metrics.

  141. Question 141 of 258A company plans to release a public beta of its new video game. The release package is approximately 5 GB in size. Based on previous releases and community feedback, millions of users from around the world are expected to download the new game. Currently, the company has a Linux-based website that lists the files which are hosted on its on-premises data center. Public Internet users are able to download the game via the website. However, the company wants a new solution that is cost-effective and will allow faster download performance for its users regardless of their location. Which of the following options is the recommended solution to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an Amazon S3 bucket with website hosting enabled and upload the game package on it. Create an Amazon CloudFront distribution with the S3 bucket as the origin. Create an Amazon Route 53 entry pointing to the CloudFront distribution. Publish the Route 53 entry as the download URL to allow users to download the game package.

    Serving the package through CloudFront with an S3 origin provides a highly cost-effective, globally distributed caching layer for massive download spikes. Using Requestor Pays is a strong distractor, but it requires users to have their own AWS accounts, which ruins the public experience.

  142. Question 142 of 258A travel booking company runs its main web application on the AWS cloud. Its trip planner website provides timetables, travel alerts, and other public transportation information for trains, buses, ferries, and trams. The front-end tier is composed of an ALB in front of an Auto Scaling group of Amazon EC2 instances deployed across 3 Availability Zones and a Multi-AZ RDS for its database tier. When there are sporting events and popular concerts to be held in a city, the usage of the trip planner application spikes which causes the application servers to reach utilization of over 90%. The solutions architect must ensure that the website can quickly recover in the event that one of its Availability Zones failed during its peak usage. Which of the following is the most cost-effective architectural design that should be implemented for this website to maintain high availability?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Increase the capacity and scaling thresholds of the Auto Scaling group to allow the application servers to scale up across all Availability Zones, which will lower the aggregate utilization of the EC2 instances. Use Reserved Instances to handle the steady-state load and a combination of On-Demand and Spot Instances to process the peak load. When the peak usage is over, scale down the number of the On-Demand and Spot instances.

    Configuring diverse Auto Scaling policies across multiple Availability Zones ensures your application dynamically scales to handle unexpected regional failures. Blending Reserved Instances for the baseline with On-Demand and Spot capacity for peak traffic provides the optimal cost-effective architecture.

  143. Question 143 of 258A visual effects studio has over 40-TB worth of video files stored in the company's on-premises tape library. The tape drives are managed by a Media Asset Management (MAM) solution. The video files contain a variety of footage which includes faces, objects, sceneries, cars, and many others. The company wants to automatically build a metadata library for the video files based on these objects. This will then be used as a catalog for the search feature of the MAM solution. The company already has a catalog of people's photos and names that appeared on the video footage. The company wants to migrate all the video files of the MAM solution to AWS so a Direct Connect connection was provisioned from the on-premises data center to AWS to facilitate this. Which of the following is the MOST suitable implementation that will meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Provision an AWS Storage Gateway – file gateway appliance on the on-premises data center. Configure the MAM solution to extract the video files from the current tape archives and move them to the file gateway share which is then synced to Amazon S3. Use Amazon Rekognition to build a collection based on the videos by using the catalog of people's faces and names. Create an AWS Lambda function that will invoke Rekognition to pull the video files from the S3 bucket, retrieve the generated metadata and then push it to the MAM solution search catalog.

    A file gateway seamlessly syncs the tape archives to S3 via standard protocols with minimal operational overhead. Amazon Rekognition then processes the videos directly to extract metadata without custom machine learning infrastructure.

  144. Question 144 of 258A company has a gaming store platform hosted in its on-premises data center for a whole variety of digital games. The application just experienced downtime last week due to a large burst in web traffic caused by a year-end sale on almost all of the games. Due to the success of the previous promotion, the CEO has planned to do the same in a few weeks, which will drive similar unpredictable bursts in web traffic. The solutions architects are looking to find ways to quickly improve the infrastructure's ability to handle unexpected increases in traffic. The web application is currently made up of a 2-tier web tier which consists of a load balancer and several web app servers, as well as a database tier that hosts an Oracle database. Which of the following infrastructure changes should the team implement to avoid any further incidences of downtime considering that the new announcement will be done in a few weeks?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Set up a CloudFront distribution to cache objects from a custom origin to offload traffic from your on-premises environment. Customize your object cache behavior, and choose a time-to-live that will determine how long objects will reside in the cache.

    Amazon CloudFront caches content at edge locations, offloading unexpected traffic bursts from on-premises servers without complex migrations. Practical cue: when dealing with unpredictable on-premises bursts and tight timelines, leverage a content delivery network to absorb the load.

  145. Question 145 of 258A company has a CRM application that uses a MySQL database hosted in Amazon RDS, and a central data warehouse that runs on Amazon Redshift. There is a batch analytics process that runs every day and reads data from RDS. During the execution of the batch analytics, the RDS utilization spikes up, which results in the CRM application becoming unresponsive. The top management dashboard must also be updated with new data right after the batch analytics processing completes. However, the dashboard is on another system running on-premises and cannot be modified directly. The only way to update the dashboard is to send an email with the new data to the dashboard system via SMTP, which will then be parsed and processed to update the dashboard with the latest data. How would the solutions architect optimize this scenario to solve performance issues and automate the process as much as possible?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Add read replicas for the RDS database to speed up batch analytics and use Amazon SNS to notify the on-premises system to update the dashboard.

    Adding Amazon RDS Read Replicas offloads the heavy batch analytics reads, freeing up the primary database for CRM traffic. Amazon SNS provides a push mechanism to trigger the SMTP email notification, whereas SQS requires polling to automate updates.

  146. Question 146 of 258A company hosts its application on several Amazon EC2 instances inside a VPC. A known security vulnerability was discovered in the outdated Operating System of the company's EC2 fleet. The solutions architect is responsible for mitigating the vulnerability as soon as possible to safeguard your systems from various cybersecurity attacks. In addition, it is also required to record all of the changes to patches and association compliance statuses. Which of the following options is the recommended way to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use AWS Systems Manager Patch Manager to deploy the OS security patches on the EC2 instances. Use AWS Config to manage, detect and record the security compliance of the EC2 instances.

    Systems Manager Patch Manager automates operating system patch deployments, while AWS Config continuously records configurations to track patch compliance. State Manager handles desired state configurations but lacks the dedicated patching baseline features required here.

  147. Question 147 of 258A company is hosting its three-tier web application on the us-east-1 region of AWS. The web and application tiers are stateless and both are running on their own fleet of On-Demand Amazon EC2 instances, each with its respective Auto Scaling group. The database tier is running on an Amazon Aurora database with about 40 TB of data. As part of the business continuity strategy of the company, the Solutions Architect must design a disaster recovery plan in case the primary region fails. The application requires an RTO of 30 minutes and the data tier requires an RPO of 5 minutes. Which of the following options should the Solution Architect implement to achieve the company requirements in a cost-effective manner? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Schedule a daily snapshot of the Amazon EC2 instances for the web and application tier. Copy the snapshot to the backup region. Restore the backups in case of a disaster in the primary region. · E. Set up a cross-Region read replica of the Amazon Aurora database to the backup region. Promote this read replica as the master database in case of a disaster in the primary region.

    Copying EC2 snapshots to the backup region provides a cost-effective pilot light recovery for stateless tiers within the thirty minute recovery objective. Aurora cross-region read replicas meet the strict five minute recovery point objective by asynchronously replicating data continuously.

  148. Question 148 of 258A company has a critical application running on an Auto Scaling group of Amazon EC2 instances. The application CI/CD pipelines are created on AWS CodePipeline and all of the relevant AWS resources are defined in AWS CloudFormation templates. During deployments, the Auto Scaling group spawns new instances and the user data script downloads the new artifact from a central Amazon S3 bucket. With several code updates during the development cycle, a recent update on the CloudFormation templates has caused a major application downtime. Which of the following solutions should the Solutions Architect implement to reduce the chances of downtime during deployments?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Add an AWS CodeBuild stage on the deployment pipeline to automatically test on a non-production environment. Leverage change sets on AWS CloudFormation to preview changes before applying to production. Set up a blue/green deployment pattern on AWS CodeDeploy to deploy changes on a separate environment and to quickly rollback if needed.

    Integrating CodeBuild automated testing, CloudFormation change sets for safe previews, and CodeDeploy blue-green deployments creates a resilient pipeline that minimizes downtime. Manual testing or relying solely on cfn helper scripts introduces human error and does not guarantee safe automated rollbacks.

  149. Question 149 of 258A company plans to migrate its on-premises workload to the AWS cloud. The solutions architect has been tasked to perform a Total Cost of Ownership (TCO) analysis and prepare a cost-optimized migration plan for the systems hosted in the on-premises network to AWS. It is required to collect detail about configuration, usage, and behavioral data from the on-premises servers to help better understand the current workloads before doing the migration. Which of the following options is the recommended solution that should be implemented to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Use the AWS Application Discovery Service to gather data about your on-premises data center and perform the TCO analysis.

    Application Discovery Service collects configuration and utilization data from on-premises servers to calculate total cost of ownership for migrations. Migration Hub tracks ongoing migrations, while Application Migration Service executes the lift-and-shift but lacks planning discovery features.

  150. Question 150 of 258A company has scheduled to launch a promotional sale on its e-commerce platform. The company's web application is hosted on a fleet of Amazon EC2 instances in an Auto Scaling group. The database tier is hosted on an Amazon RDS for PostgreSQL DB instance. This is a large event so the management expects a sudden spike and unpredictable user traffic for the duration of the event. New users are also expected to register and participate in the event so there will be a lot of database writes during the event. The Solutions Architect has been tasked to create a solution that will ensure all submissions are committed to the database without changing the underlying data model. Which of the following options is the recommended solution for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Decouple the application and database tier by creating an Amazon SQS queue between them. Create an AWS Lambda function that picks up the messages on the SQS queue and writes them into the database.

    Decoupling the application from the database with an SQS queue buffers high volumes of writes during traffic spikes, ensuring no submissions are lost. ElastiCache is a poor distractor because it only accelerates read performance rather than handling persistent write buffering.

  151. Question 151 of 258An Amazon partner company plans to host its application on a fleet of Amazon EC2 instances in an Auto Scaling group on a public subnet inside a VPC. A single security group is associated with all the EC2 instances. On a private subnet in the same region, an Amazon Aurora MySQL DB Cluster is created to be accessed by the application. A different security group is associated with the DB Cluster. The solutions architect has been tasked to provide access from the application to the DB Cluster. Which of the following options is the recommended implementation to meet the application requirements while providing the least-privilege permissions? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. On the Amazon Aurora cluster's security group, create an inbound rule with the source as the Amazon EC2 instances' security group using the default Aurora port 3306. · E. On the Amazon EC2 instances' security group, create an outbound rule with the destination as the DB cluster's security group using the default Aurora port 3306.

    Configuring outbound traffic on the EC2 security group and inbound traffic on the database security group enforces least privilege. Referencing security groups directly maintains strict isolation, unlike network ACLs which use broad CIDR blocks and operate statelessly.

  152. Question 152 of 258A cryptocurrency trading platform uses a Lambda function which has recently been integrated with DynamoDB Streams as its event source. Whenever there is a new deployment, the incoming traffic to the function must be shifted in two increments using CodeDeploy. Ten percent of the incoming traffic should be shifted to the new version and then the remaining 90 percent should be deployed five minutes later. It is also required to trace the event source that invoked the Lambda function including the downstream calls that the function made. Which of the following options should the solutions architect implement to satisfy this requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure a Canary deployment configuration for your Lambda function. Enable active tracing to integrate AWS X-Ray to your AWS Lambda function.

    A Canary deployment shifts traffic in two increments, matching the requested ten percent followed by the remaining ninety percent. AWS X-Ray traces invocations and downstream calls. Linear shifts traffic in equal increments.

  153. Question 153 of 258A company runs an application in a fleet of Amazon EC2 instances in the us-east-2 region. A database server is hosted on the on-premises data center which complies with the BASE (Basically Available, Soft state, Eventual consistency) model rather than the ACID (Atomicity, Consistency, Isolation, Durability) consistency model. The on-premises network has a 10 GB AWS Direct Connect connection to the Amazon VPC in us-east-2. The application relies on this database for normal operations and must meet strict recovery point objectives. Whenever there are lots of database write requests, the application behavior becomes erratic. Which of the following options should the solutions architect implement to improve the performance of the application in a cost-effective way?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an Amazon SQS queue and develop a consumer process to flush the queue to the on-premises database server. Update the application to enable writing to the SQS queue.

    Amazon SQS decouples the application writes from the on-premises database, absorbing bursts without causing erratic behavior. Since the system uses an eventual consistency model, temporary queuing is perfectly acceptable and highly cost-effective.

  154. Question 154 of 258An analytics company provides big data services to various clients worldwide. For performance-testing activities, a Big Data Analytics application is using an Elastic MapReduce cluster which will only be run once. The cluster is designed to ingest 20 TB of data with a total of 30 EC2 instances and is expected to run for about 48 hours. Which of the following options is the most cost-effective architecture to implement for this scenario without sacrificing data integrity?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. For both the master and core nodes, use On-Demand EC2 instances. For the task nodes, use Spot EC2 instances.

    Using On-Demand Instances for EMR master and core nodes guarantees data integrity and cluster stability during the 48-hour run. Spot Instances are optimal for task nodes because they handle transient compute capacity without risking critical data loss.

  155. Question 155 of 258A financial services company uses hardware security modules (HSMs) to generate encryption master keys. Since the company application logs include personally identifiable information, encryption is required as part of regulatory compliance. The application logs are going to be stored on a central Amazon S3 bucket and should be encrypted at rest. The security team wants to use the company HSMs to generate the key material for encryption on the S3 bucket. Which of the following options should the solutions architect implement to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Using AWS CLI, create a new KMS key with no key material and use EXTERNAL as the origin of the key. Generate a key from the on-premises HSMs and import it as KMS key using the public key and import token from AWS. Apply an Amazon S3 bucket policy on the central logging bucket to require AWS KMS as the encryption source and deny unencrypted object uploads.

    Creating a KMS key with an external origin allows you to securely import key material generated by your own on-premises Hardware Security Modules. Applying an S3 bucket policy enforcing SSE-KMS ensures all uploaded logs comply with strict regulatory encryption requirements.

  156. Question 156 of 258A company wants to migrate its on-premises application to the AWS cloud. Due to limited manpower, the company wants to utilize fully managed AWS services as much as possible. This way, there will be less maintenance work after the migration. The application processes large files containing sensitive information so the company has the following requirements: – Data encryption at rest and in transit are both required on all files that will be processed by the application. – The storage solution must be highly durable and available. – The company must be able to use its own encryption key and then periodically rotated for improved security. – Amazon Redshift Spectrum will be used to analyze the migrated data.Which of the following should the Solutions Architect implement to achieve these requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: G. Create an Amazon S3 bucket to store all data. Enable server-side encryption with AWS KMS (SSE-KMS). Apply a bucket policy that enforces HTTPS only connections to the S3 bucket.

    Storing data in an Amazon S3 bucket with server-side encryption using AWS KMS satisfies the requirement for customer-managed keys. Applying a bucket policy that denies non-HTTPS requests secures data in transit. This approach provides the highest durability and lowest maintenance for large files compared to EC2 or DynamoDB.

  157. Question 157 of 258A company uses Amazon WorkSpaces to improve the productivity and security of its remote workers. Hundreds of remote workers log in to the virtual desktop service using the Amazon WorkSpaces client application on a regular basis. Users have reported that they cannot log in to their virtual desktops even though they have the correct credentials. Upon investigation, the Solutions Architect discovered that the filesystem storing the user profiles has reached its capacity, which is the reason why users cannot establish a new session in Amazon WorkSpaces. The environment is configured with a 10 TB Amazon FSx for Windows File Server file system to store the user profiles.Which of the following options should the Solutions Architect implement to solve the issue and prevent it from happening again?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. Create an Amazon CloudWatch Alarm to monitor the FreeStorageCapacity metric of the file system. Write an AWS Lambda Function to increase the capacity of the Amazon FSx for Windows File Server file system using the update-file-system command. Utilize Amazon EventBridge to invoke this Lambda function when the metric threshold is reached.

    An EventBridge rule can automatically trigger a Lambda function when a CloudWatch alarm detects low free storage capacity. The function uses the update-file-system API to expand Amazon FSx storage transparently. This prevents future outages without requiring a complex data migration to a new file system.

  158. Question 158 of 258A company runs a live flight tracking service hosted on the AWS cloud. The application gets updated every 10 minutes with the latest flight information from every airline. The tracking website has a global audience and uses an Auto Scaling group behind an Elastic Load Balancer and an Amazon RDS database. A simple web interface is hosted as static content on an Amazon S3 bucket. The Auto Scaling group is set to trigger a scale-up event at 90% CPU utilization. The average load time of the web page is around 7 seconds but the management wants to bring it down to less than 3 seconds. Which combination of options will make the page load time faster in the MOST cost-effective way? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Have CloudFront enable caching of re-usable content from your website. · E. Add a caching layer using Amazon ElastiCache Service to be used for storing sessions and frequent DB queries.

    Amazon CloudFront caches reusable static and dynamic content at global edge locations to reduce latency for users. Adding Amazon ElastiCache offloads frequent database queries, reducing database load. Lowering the Auto Scaling threshold merely provisions more compute power without addressing core latency.

  159. Question 159 of 258A national library is planning to store around 50 TB of data containing all books, articles, and other written materials in AWS. One of the requirements is to have a search feature to enable users to look for the collection on a dynamic website. The library also uses Amazon Pinpoint for user email notifications. What is the most suitable solution to implement in AWS to satisfy the required functionality?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Utilize AWS CloudFormation as the deployment service to deploy the needed AWS resources such as an Amazon S3 bucket for storage, OpenSearch to provide the needed search functionality, and an Amazon EC2 instance to host their website.

    Amazon S3 provides highly durable and cost-effective object storage for the massive 50 TB dataset. Amazon OpenSearch easily integrates with the dynamic website to provide robust full-text search capabilities. Using Amazon RDS for this specific text search requirement would be unnecessarily expensive.

  160. Question 160 of 258A company recently adopted a modern design for its legacy application. The new application is now suitable for native cloud deployments so the CI/CD pipelines need to be updated as well. The following deployment requirements are needed to support the new application: – The pipeline should support deployments of new versions several times every hour. – The pipeline should be able to quickly rollback to the previous application version if any problems are encountered on the new version.Which of the following options is the recommended solution to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: G. Reconfigure the pipeline to create a Staging environment on AWS Elastic Beanstalk. Deploy the newer version on the Staging environment. Swap the Staging and Production environment URLs to shift traffic to the newer version.

    Using Elastic Beanstalk to deploy a new staging environment allows you to validate the new application version safely. Swapping the CNAMEs instantly shifts traffic to achieve a blue-green deployment. This strategy provides rapid rollbacks by simply reversing the URL swap process.

  161. Question 161 of 258A data analytics company is running simulations on a high-performance computing (HPC) cluster in AWS. The compute node and storage are tightly coupled to achieve the best performance possible. The running simulations on the cluster produce thousands of large files stored on an Amazon EFS share that is shared across 200 Amazon EC2 instances. Several more simulation jobs need to be run on the cluster so the number of nodes has been increased to 1000 instances. However, the bigger cluster performed below the expectations of the company. The Solutions Architect was tasked to implement a solution that will achieve maximum performance from the HPC cluster. Which of the following options are the recommended actions to achieve this? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: A. Improve the network performance of each node by using Amazon EC2 instances with an Elastic Fabric Adapter (EFA) network interface. · C. Improve the storage performance by implementing Amazon FSx for Lustre instead of using Amazon EFS. · D. Improve the performance by placing all the compute nodes as close to each other. Re-launch all the Amazon EC2 instances within a single Availability Zone in a cluster placement group.

    For tightly coupled HPC workloads, cluster placement groups, Elastic Fabric Adapters, and FSx for Lustre are the standard high-performance choices. EFS lacks the necessary throughput for intensive simulations, and spreading instances across AZs introduces latency.

  162. Question 162 of 258A leading financial company owns multiple AWS accounts that are consolidated under one AWS Organization. To ensure that tags are always added when users create any resources across all accounts, the solutions architect should enforce the use of centralized resource provisioning tools and infrastructure-as-code templates that apply tags automatically upon resource creation across all accounts. Which of the following options are the recommended actions to achieve the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Set up AWS Service Catalog to tag the provisioned resources with corresponding unique identifiers for portfolio, product, and users. · E. Set up the CloudFormation Resource Tags property to apply tags to certain resource types upon creation.

    CloudFormation natively enforces tags during infrastructure deployment, and Service Catalog enforces tagging rules for self-service provisioning. Avoid reactive tools like AWS Config for tagging; prioritize proactive Infrastructure as Code solutions.

  163. Question 163 of 258A company runs a finance-related application on a fleet of Amazon EC2 instances inside a private subnet of a VPC in AWS. To access the application, the instances are behind an internet-facing Application Load Balancer (ALB). As part of security compliance, the company is required to have a solution that allows it to inspect network payloads that are being sent to the application. Analyzing the network payloads will help in reverse-engineering sophisticated network attacks that the application may experience. Which of the following options should the solutions architect implement to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Configure Traffic Mirroring on the elastic network interface of the EC2 instances. Send the mirrored traffic to a monitoring appliance for storage and inspection.

    VPC Traffic Mirroring copies actual network packets from EC2 interfaces to security appliances for deep payload inspection. VPC Flow Logs and ALB access logs only provide metadata and header information, not the packet payload required for reverse-engineering attacks.

  164. Question 164 of 258A company recently developed a web application that processes customer behavioral data and stores the results in a DynamoDB table. The application is expected to receive a high usage load. To ensure that data is not lost when DynamoDB write requests are throttled, the solutions architect must reduce the load taken by the table. Which of the following is the MOST cost-effective strategy for reducing the load on the DynamoDB table?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use an SQS queue to decouple messages from the application and the database.

    Using an SQS queue decouples the application from the database, allowing messages to buffer smoothly during traffic spikes. Increasing write-capacity units is a valid distractor for performance, but the prompt specifically asks for the most cost-effective load reduction strategy.

  165. Question 165 of 258A world-renowned logistics company runs its global enterprise e-commerce platform on the AWS cloud. The company has built a multi-tier web application running in a VPC that uses an Elastic Load Balancer in front of both the web tier and the app tier, with static assets served directly from an Amazon S3 bucket. It uses a combination of Amazon RDS and DynamoDB for the dynamic data and then archiving nightly into an Amazon S3 bucket for further processing with Amazon EMR. After a routine audit, the company found questionable log entries and suspected that someone is attempting to gain unauthorized access to the system. The solutions architect has been tasked to improve the security of the architecture from DDoS, SQL injection, and HTTP flood attacks as well as from bad bots (content scrapers). Which of the following approach provides the MOST suitable and scalable solution to protect the infrastructure from these kinds of security attacks?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Set up AWS WAF and AWS Shield Advanced on all web endpoints. Launch AWS WAF rules against SQL injection and other common web exploits.

    Deploying AWS WAF and Shield Advanced provides scalable, managed protection against sophisticated DDoS attacks, SQL injection, and HTTP floods. Blocking specific IP addresses manually via network ACLs is easily bypassed by distributed attackers and fails to address automated bot traffic.

  166. Question 166 of 258The European Organization for Nuclear Research, also known as CERN, is a research organization that operates the largest particle accelerator in the world and generates terabytes of experimental data every day. A group of data scientists is planning to use an Amazon EMR cluster for their data analysis, which will only be run once. The cluster is designed to ingest 300 TB of data with a total of 200 EC2 instances and is expected to run for about 8 hours. The resulting data set must be stored temporarily until it is permanently stored in their Amazon Redshift database. Which of the following options is the best and most cost-effective solution to satisfy the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use On-Demand EC2 instances for both the master and core nodes and use Spot EC2 instances for the task nodes.

    For transient EMR clusters, you should use On-Demand instances for master and core nodes to guarantee cluster stability and HDFS data persistence. Spot instances are perfect for optional task nodes, providing cheap compute capacity that can handle processing without risking the cluster.

  167. Question 167 of 258A company runs its legacy web application in its on-premises data center. The solutions architect has been tasked to move the legacy web application in a virtual machine running inside the data center to the Amazon VPC. However, this application requires a private and dedicated connection to a number of servers hosted on the on-premises network in order for it to work. Which combination of options provides the most suitable way to configure the web application running inside the VPC to reach back and access its internal dependencies on the company's on-premises network? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. An AWS Direct Connect link between the VPC and the network housing the internal services. · D. A network device in your data center that supports Border Gateway Protocol (BGP) and BGP MD5 authentication.

    AWS Direct Connect establishes a dedicated, private network connection between your on-premises data center and your VPC. Setting this up requires a customer gateway device that supports Border Gateway Protocol to handle dynamic routing over the virtual interfaces.

  168. Question 168 of 258A company has a multi-tier web application hosted in AWS. It leverages Amazon CloudFront to reliably scale and quickly serve requests from users around the world. After several months in operation, the company received user complaints of slow response time from the web application. The monitoring team reported that the CloudFront cache hit ratio metric is steadily dropping for the past months. This metric indicates that there are inconsistent query strings on user requests and queries that contain upper-case or mixed-case letters. These requests cause CloudFront to send unnecessary origin queries. Which of the following actions will increase the cache hit ratio of the CloudFront distribution?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Write a Lamda@Edge function that will normalize the query parameters by sorting them in alphabetical order and converting them into lower case. Deploy this function with the CloudFront distribution and set "viewer request" as the trigger to invoke the function.

    A Lambda@Edge viewer request function can normalize query strings before CloudFront caches the object, which directly fixes the cache miss problem. CloudFront has no native case-insensitive caching setting, so origin-side proxies fail because the edge cache is already bypassed.

  169. Question 169 of 258A global finance company has multiple data centers around the globe. Due to the ever-growing data that the company is storing, the solutions architect was instructed to set up a durable, cost-effective solution to archive sensitive data from the existing on-premises tape-based backup infrastructure to AWS Cloud. Which of the following options is the recommended implementation to achieve the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Set up a Tape Gateway to back up your data in Amazon S3 and archive it in Amazon Glacier using your existing tape-based processes.

    Tape Gateway provides a virtual tape library interface, letting you use existing on-premises backup software to seamlessly archive data directly into Amazon S3 Glacier. File and Volume Gateways fail because they do not integrate with tape-based backup infrastructure.

  170. Question 170 of 258A company has several financial applications hosted in AWS that uses Amazon S3 buckets to store static data. The Solutions Architect recently discovered that some employees store highly classified data into S3 buckets without proper approval. To mitigate any security risks, the Architect needs to determine all possible S3 objects that contain personally identifiable information (PII) and determine whether the data has been accessed. Due to the sheer volume of data, the Architect must implement an automated solution to accomplish this important task. Which of the following should the solutions architect implement for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Enable Amazon Macie on the S3 buckets to automatically classify the data and detect any objects with personally identifiable information (PII). Determine if the objects with PII have been recently accessed by tracking the GET API calls in AWS CloudTrail.

    Amazon Macie uses machine learning to automatically discover and classify sensitive data like PII stored in Amazon S3. CloudTrail tracks the GET API calls to determine access. Inspector only assesses EC2 vulnerabilities, not S3 data.

  171. Question 171 of 258A financial services company operates a multi-account AWS environment managed by AWS Control Tower. The security team must centralize the management of compliance and security findings across all accounts. The solution should implement preventive, detective, and responsive controls to align with AWS best practices for securing multi-account environments and ensuring compliance with organizational policies. Which of the following options will meet the given requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a new member account in AWS Organizations. Enable AWS Security Hub and designate the account as the delegated administrator.

    AWS Security Hub centrally aggregates compliance and security findings across organizational accounts using a delegated administrator. GuardDuty alone lacks comprehensive preventive controls. CloudTrail Lake only captures API events without native compliance mapping.

  172. Question 172 of 258A medical firm uses an image analysis application that extracts data from multiple images. The input stream analyzes a batch of images and for each file, it writes the result data to an output stream of files. The number of input files per day grows and peaks for a few hours in a day. The application is hosted on an Amazon EC2 instance with a large EBS volume that hosts the input data, but the results still take almost 20 hours per day to be processed. Which of the following solutions can be implemented to reduce the processing time and improve the availability of the application?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Store I/O files in S3 instead and use SQS to facilitate a group of hosts working in parallel. Include the hosts in an auto scaling group that scales accordingly to the length of your SQS queue.

    Storing files in S3 decouples storage from compute, enabling an Auto Scaling group to process jobs from an SQS queue in parallel. EBS volumes cannot be easily shared across multiple instances like S3 objects.

  173. Question 173 of 258A supermarket chain has a team that handles branded credit card transactions from major card schemes such as Mastercard, Visa, Discover, and AMEX. The company requested an external auditor to audit its AWS environment as part of the Payment Card Industry Data Security Standard (PCI DSS) security compliance. The auditor, operating from their own AWS account, has requested read-only access to the AWS resources across all the company's accounts in order to conduct the necessary checks. Which of the following options is the recommended action to give the auditor the required access?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an IAM role in each AWS account that requires auditing, with a trust policy that lists the auditor's ARN as a principal. Assign this role read-only permissions to access necessary resources.

    IAM roles with cross-account trust policies provide temporary secure access without sharing long-term credentials. Creating IAM users requires managing passwords and access keys, violating security best practices for external guest access.

  174. Question 174 of 258A company runs its critical application in an Auto Scaling group of Amazon EC2 instances that uses ElastiCache with Append Only Files (AOF) enabled in multiple AWS regions. Recently, one of the regions experienced a power outage due to a storm which has affected the business revenue. Assuming that only a short recovery downtime period is allowed, how should the solutions architect maintain site availability in case an event like this occurs again in the future?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Set up a DNS active-active failover using latency based routing policy that resolves to an ELB. Configure the 'Evaluate Target Health' attribute to Yes.

    Using Route 53 latency-based routing with active-active failover directs user traffic to the healthiest, lowest-latency regional endpoint. Setting Evaluate Target Health to Yes is required so Route 53 automatically removes unhealthy endpoints from consideration.

  175. Question 175 of 258A company wants to improve the security of its cloud resources by ensuring that all running EC2 instances were launched from pre-approved AMIs only, which are set by the Security team. Their Development team has an agile CI/CD process which should not be stalled by the new automated solution that they'll implement. Any new application release must be deployed first before the solution could analyze if it is using a pre-approved AMI or not. Which of the following options enforces the required controls with the LEAST impact on the development process? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: D. Set up a scheduled Lambda function to search through the list of running EC2 instances within your VPC and determine if any of these are based on unauthorized AMIs. Afterward, publish a new message to an SNS topic to inform the Security team that this occurred and then terminate the EC2 instance. · E. Set up AWS Config rules to determine any launches of EC2 instances based on non-approved AMIs and then trigger an AWS Lambda function to automatically terminate the instance. Afterward, publish a message to an SNS topic to inform the Security team about the occurrence.

    AWS Config rules continuously evaluate EC2 instances against approved AMIs, automatically triggering remediation without impacting deployments. A scheduled Lambda function acts as a valid detective control, terminating unauthorized instances and alerting security post-deployment.

  176. Question 176 of 258A leading insurance firm operates across the AWS Global Infrastructure and has several new members in its development team. The solutions architect was instructed to provision access to certain IAM users who perform application development tasks in the VPC. The access should allow the users to create and configure various AWS resources such as deploying Windows Amazon EC2 servers. In addition, the users should be able to see the permissions in AWS Organizations to view information about the user's organization, including the master account email and organization limitations. Which of the following should the solutions architect implement to follow the standard security advice of granting the least privilege?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Attach the PowerUserAccess AWS managed policy to the IAM users.

    The PowerUserAccess managed policy grants full access to AWS services except IAM and Organizations administration, matching the requirement perfectly. It specifically allows viewing organization details while adhering to least privilege, avoiding the excessive permissions of AdministratorAccess.

  177. Question 177 of 258A startup currently runs a web application on an extra-large Amazon EC2 instance. The application allows users to upload and download various pdf files from a private Amazon S3 bucket using a pre-signed URL. The web application checks if the file being requested actually exists in the S3 bucket before generating the URL. In this scenario, how should the solutions architect configure the web application to access the Amazon S3 bucket securely?1. Create an IAM role with a policy that allows listing and uploading of the objects in the S3 bucket. Launch the EC2 instance with the IAM role. 2. Program your web application to retrieve the temporary security credentials from the EC2 instance metadata.

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. 1. Create an IAM role with a policy that allows listing and uploading of the objects in the S3 bucket. Launch the EC2 instance with the IAM role.

    Assigning an IAM role to the EC2 instance allows the application to securely retrieve temporary credentials from the instance metadata. This avoids the security risks of embedding long-term access keys directly on the instance. Instance user data is strictly for launch scripts, not credential retrieval.

  178. Question 178 of 258A company hosts an internal web portal on a fleet of Amazon EC2 instances that allows access to confidential files stored in an encrypted Amazon S3 bucket. Because the files contain sensitive information, the company does not want any files to traverse the public Internet. Bucket access should be restricted to only allow the web portal's EC2 instances. To comply with the requirements, the Solutions Architect created an Amazon S3 VPC endpoint and associated it with the web portal's VPC. Which of the following actions should the Solutions Architect take to fully comply with the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create a VPC endpoint policy that restricts access to the specific Amazon S3 bucket. Create an IAM role that grants access to the S3 bucket and attach it to the application EC2 instances. Apply an Amazon S3 bucket policy that only allows access from the VPC endpoint and those using the IAM role.

    Attaching an IAM role to the application instances grants necessary permissions to read the bucket securely. Applying a bucket policy that restricts access to the VPC endpoint ensures traffic does not traverse the public internet. IP address restrictions fail because source IPs change within a VPC.

  179. Question 179 of 258A company recently patched a vulnerability in its web application hosted on AWS. The solutions architect was tasked to improve the security of the company's AWS resources as well as secure the web applications from common web vulnerabilities and cyber attacks. One example is a Distributed Denial of Service attack (DDoS) in which there is numerous incoming traffic coming from many different locations that simultaneously target the company web application and floods the network with bogus requests. Which of the following options are recommended strategies for reducing DDoS attack surface and minimizing the blast radius in the cloud infrastructure? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: D. Configure the Network Access Control Lists (ACLs) to only allow the required ports to your network. Identify and block common DDoS request patterns to effectively mitigate a DDoS attack by using AWS WAF. · E. Always add a security group that only allows certain ports and authorized servers and protects your origin servers by putting it behind a CloudFront distribution. Enable AWS Shield Advanced which provides enhanced DDoS attack detection and monitoring for application-layer traffic to your AWS resources.

    Securing origin servers behind CloudFront and AWS Shield Advanced provides robust edge protection against distributed attacks. Configuring network access control lists and using AWS WAF rules further limits the attack surface. Simply oversizing compute resources is not a recommended mitigation tactic.

  180. Question 180 of 258A tech company is about to undergo a financial audit. It has been planned to use a third-party web application that needs to have certain AWS access to issue several API commands. It will discover Amazon EC2 resources running within the enterprise's account. The company has internal security policies that require any outside access to its environment to conform to the principles of least privilege. The solutions architect must ensure that the credentials used by the third-party vendor cannot be used by any other third party. The third-party vendor also has an AWS account where it runs its web application and it already provided a unique customer ID, including their AWS account number. Which of the following options would allow the solutions architect to give permissions to the third-party vendor in compliance with the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create a new IAM role for the 3rd-party vendor. Add a permission policy that only allows the actions required by the third party application. Also, add a trust policy with a Condition element for the ExternalId context key. The Condition must test the ExternalId context key to ensure that it matches the unique customer ID from the 3rd party vendor.

    Creating an IAM role with a trust policy conditionally checking the External ID securely delegates access without long-term keys. For cross-account access, always rely on STS AssumeRole with an External ID rather than IAM users to prevent confused deputy attacks.

  181. Question 181 of 258A company is running a financial modeling application on the AWS cloud. The application tier runs on an Auto Scaling group of Amazon EC2 instances. A separate EC2 cluster with a fixed number of instances is hosting the 200 TB of financial data in a shared file system. The application reads and processes the data on the shared filesystem to generate an overall financial report, which takes about 72 hours to complete. This whole process only needs to run at the end of each month, but the storage tier instances are running continuously to retain all the data in the shared file system. As the storage tier takes up a large percentage of operational costs, the management wants to reduce the cost of the storage tier while maintaining the high-performance access needed by the application during its 72-hour run.Which of the following options should the solutions architect implement that will have the largest overall cost reduction?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. For the data tier, create an Amazon S3 bucket and move the objects of the existing shared file system to it. Use S3 Intelligent-Tiering Storage class to save costs. Use lazy-loading on an Amazon FSx for Lustre filesystem to import the contents of the S3 bucket. Use this filesystem as shared storage for the application tier EC2 instances for the duration of the job and delete it once the job is completed.

    Using S3 Intelligent-Tiering for long-term storage combined with a temporary FSx for Lustre file system provides massive cost savings and high throughput. S3 Standard would technically be cheaper for monthly access, making Intelligent-Tiering a slightly ambiguous but acceptable distractor.

  182. Question 182 of 258A company has multiple database servers hosted on extra-large Reserved Amazon EC2 instances which are all deployed to a private subnet. A single NAT instance is in place to allow the servers to fetch data from the Internet. The solutions architect noticed that whenever there is a new database patch update, the processing takes a lot of time which results in request time-outs. As a workaround, the developers just manually re-run the database patch update on the servers that failed to complete the process the first time. What could be the possible root cause of the issue and what steps should the solutions architect implement to solve it?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. The timeout behavior of a NAT instance is that, when there is a connection time out, it sends a FIN packet to resources behind the NAT instance to close the connection. It does not attempt to continue the connection which is why some database updates are failing. For better performance, use a NAT Gateway instead.

    A NAT instance sends a FIN packet to terminate connections upon timeout, breaking long-running patch downloads. Upgrading to a managed NAT Gateway solves this because it actively manages timeouts and provides superior, scalable bandwidth for your VPC.

  183. Question 183 of 258A large software company has an on-premises LDAP server and has established an IPSec VPN connection between its on-premises network and its VPC in AWS. The company wants to enable employees to access AWS resources using the same corporate account used inside the company network. Which of the following actions should the solutions architect implement to achieve the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an identity broker that authenticates against the on-premises LDAP server and then calls AWS STS to assume an IAM role, generating temporary AWS security credentials. The employees can use these credentials to access AWS resources.

    A custom identity broker authenticates users against the on-premises LDAP server and requests temporary credentials via STS. Option A uses GetFederationToken while Option B uses AssumeRole, and both are technically valid AWS federation patterns for an LDAP integration.

  184. Question 184 of 258A leading commercial bank has a hybrid network architecture and is extensively using AWS for its day-to-day operations. The bank uses an Amazon S3 bucket to store sensitive bank records. It has versioning enabled and does not have any encryption. The new solutions architect for the company was asked to implement Server-Side Encryption with Customer-Provided Encryption Keys (SSE-C) for the Amazon S3 bucket to ensure data inside it is secured both at rest and in transit. Which of the following options should the solutions architect implement to achieve the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. For presigned URLs, specify the algorithm using the x-amz-server-side​-encryption​-customer-algorithm request header · E. For Amazon S3 REST API calls, use the following HTTP Request Headers: x-amz-server-side​-encryption​-customer-algorithm x-amz-server-side​-encryption​-customer-key x-amz-server-side​-encryption​-customer-key-MD5

    SSE-C requires specific HTTP headers to pass the encryption algorithm, key, and MD5 during REST API calls. HTTPS is required for transit. The console does not support SSE-C uploads. WebSocket Secure is irrelevant.

  185. Question 185 of 258A business news portal is visited by thousands of readers each day to check on the latest hot topics in the world of business and technology. The news portal runs on a fleet of Spot Amazon EC2 instances behind an Application Load Balancer (ALB). Readers can also submit comments in every article. Currently, the system's database is running on an on-premises data center, and the CTO is concerned that the content delivery time is not meeting company objectives. The portal's page load time is of utmost importance for the company to maintain its daily visitors. Which of the following options would allow the solutions architect to quickly and cost-effectively modify the current infrastructure to reduce latency for customers?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Add an in-memory datastore using Amazon ElastiCache for Redis to reduce the burden on the database. Enable Redis replication to scale database reads and to have highly available clusters.

    Amazon ElastiCache provides an in-memory datastore reducing latency for frequent database reads. Migrating a dynamic portal to S3 static hosting fails because readers submit comments. Database migrations take longer to implement.

  186. Question 186 of 258A company has recently migrated its core application to the AWS Cloud. The application allows users to upload scanned forms through a web application hosted on a fleet of Amazon EC2 instances. The application connects to a backend database hosted on Amazon RDS for PostgreSQL. The user metadata are stored on the database while the scanned forms are stored on an Amazon S3 bucket. For each uploaded form, the application sends a notification to an Amazon SNS topic to which the team members are subscribed. Then, one of the team members will log in, validate the forms, and manually extracts relevant data from the scanned forms. This information is then submitted to another system using an API. The management wants to improve this process by automation to reduce human effort, increase efficiency and maintain high accuracy.Which of the following options is the recommended solution to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Add another tier to the application by using AWS Step Functions and AWS Lambda to facilitate the different stages of processing. Use a combination of Amazon Textract and Amazon Comprehend to perform optical character recognition (OCR) and parse data from the scanned forms. Store the output in another Amazon S3 bucket. Update the application to parse data from the Amazon S3 bucket and send it to the other system via API call.

    Amazon Textract extracts printed text and structured data from scanned forms, while Amazon Comprehend uses natural language processing to parse the extracted text. Building this serverless pipeline with Step Functions and Lambda provides a fully managed, low-overhead automation solution.

  187. Question 187 of 258A leading telecommunications company is moving all of its mission-critical, multi-tier applications to AWS. At present, its architecture is composed of desktop client applications and several servers that are all located in its on-premises data center. The application-tier is using a MySQL database that is hosted on a single VM while both the presentation and business logic layers are distributed across multiple VMs. There has been a lot of reports that its users, who access the applications remotely, are experiencing increased connection latency and slow load times. Which of the following is the MOST cost-effective solution to improve the uptime of the application with MINIMAL change and improve the overall user experience?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use Amazon WorkSpaces applications (formerly Amazon AppStream 2.0) to centrally manage your desktop applications and improve the overall user experience. Migrate the MySQL database from your VM to Amazon Aurora. Host the application and presentation layers in an Auto Scaling group on Amazon EC2 instances behind an Application Load Balancer.

    Streaming desktop applications via AppStream 2.0 significantly reduces latency for remote users over unreliable networks. Migrating the database to Amazon Aurora and hosting compute tiers behind an Application Load Balancer increases availability. CloudFront cannot stream thick-client desktop applications directly.

  188. Question 188 of 258A financial company is building a new online document portal system that allows its employees and developers to upload yearly and bi-annual corporate earnings report files to a private Amazon S3 bucket in which other confidential corporate files will also be stored. A Solutions Architect was instructed to create the private S3 bucket as well as the IAM users for the application developers to begin development. The required policies in IAM were assigned to the developers, granting read and write access to the S3 bucket. After a few weeks, the new online portal was completed and hosted on a fleet of Amazon EC2 Spot instances. One of the application developers created a pre-signed URL that points to the correct S3 bucket, and after a few tests, the developer successfully uploaded the files from a laptop using the generated URL. The developer then made the necessary code change to the online portal to generate the pre-signed URL to upload the files to S3. However, after a few days, the development team complained that uploading files using the online portal was no longer possible.Which of the following options are valid reasons for this behavior? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. The expiration date of the pre-signed URL is incorrectly set to expire too quickly and thus, may have already expired when they used it. · D. The required AWS credentials in the ~/.aws/credentials configuration file located on the EC2 instances of the online portal were misconfigured

    Presigned URLs require valid AWS credentials to generate and can fail if the expiration window passes before upload. For EC2 workloads, use IAM instance profiles instead of static credential files to ensure applications can reliably generate presigned URLs.

  189. Question 189 of 258A fashion company in France sells bags, clothes, and other luxury items in its online web store. The online store is currently hosted on the company's on-premises data center. The company has recently decided to move all of its on-premises infrastructure to the AWS cloud. The main application is running on an NGINX web server and a database with an Oracle Real Application Clusters (RAC) One Node configuration. Which of the following is the best way to migrate the application to AWS and set up an automated backup?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Launch an EC2 instance for both the NGINX server as well as for the database. Attach EBS volumes to the EC2 instance of the database and then use the Data Lifecycle Manager to automatically create scheduled snapshots against the EBS volumes.

    Data Lifecycle Manager automates EBS snapshot schedules, which is the native way to back up self-managed databases on EC2. Amazon RDS does not support Oracle RAC, so you must deploy the database on EC2 and cannot use automated RDS features.

  190. Question 190 of 258A media company runs its new content management system (CMS) on a Windows-based Amazon EC2 instance. This is a test setup with a single instance. After a few weeks of testing, the application will be deployed on a production environment. For high availability, the application will be hosted on at least three Amazon EC2 instances across multiple Availability Zones. The current test EC2 instance has a 1 TB Amazon Elastic Block Store (EBS) volume as its root device. This is where all the static content is stored. The solutions architect must ensure that all instances will have the same data at all times, for the application to work properly. The filesystem must also support Windows ACLs to control access to file contents. Additionally, all instances must be joined to the company's Active Directory domain. The solution should have the least amount of management overhead. Which of the following options should the Solutions Architect implement to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. Deploy a new Windows AMI for an Auto Scaling group with a minimum size of three instances and spans across three Availability Zones (AZs). Create an Amazon FSx for Windows File Server file system that will be used for shared storage. Write a user data script to install the CMS application, mount the FSx for Windows File Server file system and join the instances to the AD domain.

    Amazon FSx for Windows File Server provides fully managed shared storage supporting Windows ACLs and Active Directory integration across Availability Zones. EFS uses Linux POSIX permissions. EBS Multi-Attach restricts instances to a single zone.

  191. Question 191 of 258A tech company in the USA has sold millions of sensors that collect temperature information from different locations in a household. These sensors send data to the IoT application developed by the company which is hosted on the AWS cloud using the domain iot.tutorialsdojotest.com. The domain is registered using Amazon Route 53. The sensors use the MQTT protocol to connect to a custom MQTT broker which is hosted on a large Amazon EC2 instance. After processing the received IoT data, the application then sends the data to an Amazon DynamoDB table for storage. In the past month, the MQTT broker crashed a few times because it was overloaded by the large amount of data being received. This outage caused sensor data to be lost. The management wants to improve the reliability of the IoT workflow to prevent this from happening again. Which of the following options is the recommended solution to meet the company's requirements while being cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. Use AWS IoT Core with MQTT to create a new Data-ATS endpoint. Update the Route 53 DNS zone record to point to the new endpoint and allow the IoT devices to send data using the MQTT protocol. Create an AWS IoT rule to directly insert the data into the Amazon DynamoDB table.

    AWS IoT Core provides a managed MQTT broker that scales automatically and uses rules to route messages directly to DynamoDB. Managing custom EC2 brokers with load balancers introduces unnecessary operational overhead compared to serverless IoT.

  192. Question 192 of 258A company has a large Microsoft Windows Server running on a public subnet. There are EC2 instances hosted on a private subnet that allows Remote Desktop Protocol (RDP) connections to the Windows Server via port 3389. These instances enable the Microsoft Administrators to connect to the public servers and troubleshoot any server failures. The server must always have the latest operating system upgrades to improve security and it must be accessible at any given point in time. The administrators are tasked to refactor the existing solution and manage the server patching activities effectively, even outside the regular maintenance window. Which of the following provides the LEAST amount of administrative overhead in managing the server?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Launch the Windows Server on EC2 instances. Use AWS Systems Manager Patch Manager to manage the patching process for the server. Configure it to automatically apply patches as they become available, ensuring that the server is always up-to-date with the latest operating system upgrades.

    AWS Systems Manager Patch Manager automates OS patching on EC2 instances and allows flexible scheduling outside standard windows. Custom Lambda functions or CloudShell introduce unnecessary complexity and manual administrative overhead.

  193. Question 193 of 258A cryptocurrency startup owns multiple AWS accounts which are all linked under AWS Organizations. Due to the financial nature of the business, the DevOps lead has been instructed by the CTO to prepare for IT auditing activities to meet industry compliance requirements. Which of the following provides the most durable and secure logging solution that can be used to track changes made to all of the company's AWS resources globally?1. Launch a new CloudTrail trail using the AWS console with one new S3 bucket to store the logs and with the "Enable for all accounts in my organization" checkbox enabled. 2. Enable MFA Delete and Log Encryption on the S3 bucket.

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: E. 1. Launch a new CloudTrail trail using the AWS console with one new S3 bucket to store the logs and with the "Enable for all accounts in my organization" checkbox enabled.

    Creating an organization trail in AWS CloudTrail centrally captures management events across all accounts and regions automatically. Enabling KMS encryption and MFA Delete on the S3 bucket provides the highest level of security and durability for audit logs.

  194. Question 194 of 258A company has recently finished developing a web application that will soon be put into production. Before it is transferred into the production environment, a final test run must be conducted. Only the employees can access the web app – either from the corporate network or from the Internet. The manager instructed the solutions architect to ensure that the EC2 instance hosting the application server will not be exposed to the Internet. Which of the following options is the recommended implementation to fulfill the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. 1. Configure SSL VPN on the public subnet of your VPC.

    Configuring an SSL VPN in a public subnet alongside application servers in a private subnet safely grants employees remote access. The question format is broken, but the core concept remains: keep private resources isolated while enabling authorized external connectivity.

  195. Question 195 of 258A company has several applications written in TypeScript and Python hosted on the AWS cloud. The company uses an automated deployment solution for its applications using AWS CloudFormation templates and AWS CodePipeline. The company recently acquired a new business unit that uses Python scripts to deploy applications on AWS. The developers from the new business are having difficulty migrating their deployments to AWS CloudFormation because they need to learn a new domain-specific language and their old Python scripts require programming loops, which are not supported in CloudFormation. Which of the following is the recommended solution to address the developers' concerns and help them update their deployment procedures?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Write TypeScript or Python code that will define AWS resources. Convert these codes to AWS CloudFormation templates by using AWS Cloud Development Kit (AWS CDK). Create CloudFormation stacks using AWS CDK. Create an AWS CodeBuild job that includes AWS CDK and add this stage to AWS CodePipeline.

    The AWS Cloud Development Kit lets developers define cloud infrastructure using familiar programming languages like Python, which it then compiles into CloudFormation templates for deployment. This avoids the need to learn CloudFormation's JSON or YAML syntax while integrating smoothly with existing CodePipeline CI/CD workflows.

  196. Question 196 of 258A company runs hundreds of Amazon EC2 instances inside an Amazon VPC. Whenever an EC2 error is encountered, the solutions architect performs manual steps in order to regain access to the impaired instance. The management wants to automatically recover impaired EC2 instances in the VPC. The goal is to automatically fix an instance that has become unreachable due to network misconfigurations, RDP issues, firewall settings, and many others to meet the compliance requirements. Which of the following options is the most suitable solution that the solutions architect should implement to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use the EC2Rescue tool to diagnose and troubleshoot problems on your EC2 Linux and Windows Server instances. Run the tool automatically by using the AWS Systems Manager Automation and the AWSSupport-ExecuteEC2Rescue document.

    The AWSSupport-ExecuteEC2Rescue Systems Manager Automation document securely automates the execution of the EC2Rescue tool to troubleshoot impaired instances. Relying on AWS Lambda with custom scripts is an anti-pattern here, as maintaining bespoke code introduces unnecessary operational overhead compared to managed SSM runbooks.

  197. Question 197 of 258A leading media company in the country is building a voting system for a popular singing competition show on national TV. The viewers who watch the performances can visit the company's dynamic website to vote for their favorite singer. After the show has finished, it is expected that the site will receive millions of visitors who would like to cast their votes. Web visitors should log in using their social media accounts and then submit their votes. The webpage will display the winner after the show, as well as the vote total for each singer. The solutions architect is tasked to build the voting site and ensure that it can handle the rapid influx of incoming traffic in the most cost-effective way possible. Which of the following architecture should you use to meet the requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use a CloudFront web distribution and an Application Load Balancer in front of an Auto Scaling group of EC2 instances. Use Amazon Cognito for user authentication. The web servers will process the user's vote and pass the result in an SQS queue. Set up an IAM Role to grant the EC2 instances permissions to write to the SQS queue. A group of EC2 instances will then retrieve and process the items from the queue. Finally, store the results in a DynamoDB table.

    Amazon Cognito integrates natively with social identity providers to authenticate millions of users, while SQS decouples vote ingestion to absorb massive traffic spikes safely. Writing custom authentication services or attempting to use IAM directly for end-user social login introduces unnecessary complexity and fails to scale reliably.

  198. Question 198 of 258A cryptocurrency exchange company has recently signed up for a third-party online auditing system, which is also using AWS, to perform regulatory compliance audits on their cloud systems. The online auditing system needs to access certain AWS resources in your network to perform the audit. In this scenario, which of the following approaches is the most secure way of providing access to the third-party online auditing system?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create a new IAM role for cross-account access which allows the online auditing system account to assume the role. Assign it a policy that allows only the actions required for the compliance audit.

    Cross-account IAM roles provide temporary credentials following the principle of least privilege. Creating IAM users with long-term access keys for external parties violates security best practices and makes credential rotation difficult.

  199. Question 199 of 258A company launched a high-performance computing (HPC) application inside a VPC in its AWS account. The application is composed of hundreds of private EC2 instances running in a cluster placement group, which allows the instances to communicate with each other at network speeds of up to 10 Gbps. There is also a custom cluster controller EC2 instance that closely controls and monitors the system performance of each instance. The cluster controller has the same instance type and AMI as the other instances. It is configured with a public IP address and runs outside the placement group. A Solutions Architect has been tasked to improve the network performance between the controller instance and the EC2 instances in the placement group. Which option provides the MOST suitable solution that the Architect must implement to satisfy the requirement while maintaining low-latency network performance?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Stop the custom cluster controller instance and move it to the existing placement group.

    You can simply stop an EC2 instance and move it into an existing cluster placement group to immediately gain low-latency benefits. Terminating instances or changing to a spread placement group is unnecessary and counterproductive to high-performance computing requirements.

  200. Question 200 of 258A call center company has recently adopted a hybrid architecture requiring predictable network performance and reduced bandwidth costs to connect its data center and AWS Cloud. Two AWS Direct Connect connections terminate at different routers in the data center to ensure stable and highly available network performance. After a recent IT financial audit, it was decided to review the current implementation and replace it with a more cost-effective option. Which of the following connectivity setups would be recommended for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. A single AWS Direct Connect and an AWS managed VPN connection to connect your data center with Amazon VPC

    Using a single Direct Connect for primary traffic and an AWS managed VPN as a backup provides a highly available, cost-effective hybrid setup. Direct Connect lacks built-in failover, so relying on a single connection without a VPN backup introduces unacceptable risk.

  201. Question 201 of 258A company recently switched to using Amazon CloudFront for its content delivery network. The development team already made the preparations necessary to optimize application performance for global users. The company's content management system (CMS) serves both dynamic and static content. Dynamic content is served from a fleet of Amazon EC2 instances behind an Application Load Balancer while static assets are served from an Amazon S3 bucket. The ALB is configured as the default origin of the CloudFront distribution. An Origin Access Control (OAC) was created and applied to the S3 bucket policy to allow access only from the CloudFront distribution. Upon testing the CMS webpage, the static assets return a 404 Not Found error message. Which of the following solutions must be implemented to solve this error? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Update the CloudFront distribution and create a new behavior that will forward to the origin of the static assets based on path pattern. · C. Edit the CloudFront distribution and create another origin for serving the static assets.

    You must configure CloudFront with multiple origins and path-pattern behaviors to correctly route static assets to S3 and dynamic traffic to the ALB. Relying on the Application Load Balancer to forward requests violates the S3 bucket's OAC restrictions, resulting in access errors.

  202. Question 202 of 258A company wants to have a secure content management solution that can be accessed by its external custom applications via API calls. The solutions architect has been instructed to create the infrastructure design. The solution should enable users to upload documents as well as download a specific version or the latest version of a document. There is also a requirement to enable customer administrators to simply submit an API call that can roll back changes to existing files sent to the system. Which of the following options is the MOST secure and suitable solution that the solutions architect should implement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Use Amazon WorkDocs for document storage and utilize its user access management, version control, and built-in encryption. Integrate the Amazon WorkDocs Content Manager to the external custom applications. Develop a rollback feature to replace the current document version with the previous version from Amazon WorkDocs.

    Amazon WorkDocs provides a secure, fully managed content management solution with built-in version control and granular access management, exposed via an API. Using Amazon S3 and sharing client-side encryption keys across multiple customers violates least privilege principles, creating a massive security risk.

  203. Question 203 of 258A tech company uses AWS CloudFormation to deploy a three-tier web application that consists of a web tier, application tier, and database tier. The application will utilize an Amazon DynamoDB table for database storage. All resources will be created using a CloudFormation template. Which of the following options would allow the application instances access to the DynamoDB tables without exposing the API credentials?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Launch an IAM Role that has the required permissions to read and write from the DynamoDB table. Reference the IAM Role as a property inside the AWS::IAM::InstanceProfile of the application instance.

    Assigning an IAM role to an instance profile grants EC2 instances secure, temporary credentials to access AWS services like DynamoDB. Hardcoding access keys in CloudFormation parameters or user data violates security best practices and introduces significant long-term credential management risks.

  204. Question 204 of 258A company requires regular processing of a massive amount of product catalogs that need to be handled per batch. The data needs to be processed regularly by on-demand workers. The company instructed its solutions architect to design a workflow orchestration system that will enable to reprocess failures and handle multiple concurrent operations. What is the MOST suitable solution that the solutions architect should implement in order to manage the state of every workflow?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Implement Step Functions to orchestrate batch processing workflows. Use the AWS Management Console to monitor workflow status and manage failure reprocessing.

    AWS Step Functions provides managed state machines that naturally orchestrate complex workflows, handle retries automatically, and visualize execution status in the console. Building a custom polling mechanism with RDS and Lambda introduces unnecessary operational overhead and database connection management challenges.

  205. Question 205 of 258A fintech startup has several resources provisioned on the AWS cloud. The majority of the company's compute clusters are composed of an Application Load Balancer (ALB) in front of an Auto Scaling group of On-Demand Amazon EC2 instances. To lower down the overall cost, the management wants to have one EC2 instance terminated whenever the overall CPU utilization of the cluster is at 15% or lower. Which of the following options should the solutions architect implement for a cost-effective and scalable architecture that satisfies the company requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use CloudWatch for the monitoring and configure the scaling in policy of the Auto Scaling group to terminate one EC2 instance when the CPU Utilization is 15% or below.

    CloudWatch alarms trigger simple scaling policies to terminate instances automatically based on real-time metrics like CPU utilization. Scheduled actions are unsuitable for unpredictable traffic patterns, and using Lambda or SNS for manual termination introduces unnecessary operational overhead instead of relying on built-in Auto Scaling capabilities.

  206. Question 206 of 258A company manages more than 50 AWS accounts under its AWS Organizations. All AWS accounts deploy resources on a single AWS region only. To enable routing across all accounts, each VPC has a Transit Gateway Attachment to a centralized AWS Transit Gateway. Each VPC also has an internet gateway and NAT gateway to provide outbound internet connectivity for its resources. As a security requirement, the company must have a centrally managed rule-based filtering solution for outbound internet traffic on all AWS accounts under its organization. It is expected that peak outbound traffic for each Availability Zone will not exceed 25 Gbps. Which of the following options should the solutions architect implement to fulfill the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a dedicated VPC for outbound internet traffic with a NAT gateway on it. Connect this VPC to the existing AWS Transit Gateway. Configure an AWS Network Firewall firewall for the rule-based filtering. Modify all the default routes in each account to point to the Network Firewall endpoint.

    A centralized egress VPC with AWS Network Firewall connected to Transit Gateway provides managed, stateful inspection for all accounts. Deploying custom proxy appliances on EC2 instances introduces unnecessary operational overhead and scaling complexity compared to native services.

  207. Question 207 of 258A company has adopted cloud-native computing best practices for its infrastructure. The company started using AWS CloudFormation templates for defining its cloud resources, and the templates are hosted in its private GitHub repository. As the developers continuously update the templates, the company has encountered several downtimes caused by misconfigured templates, wrong executions, or the creation of unnecessary environments. The management wants to streamline the process of testing the CloudFormation templates to prevent these errors. The Solutions Architect has been tasked to create an automated solution. Which of the following options should be implemented to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create a pipeline in AWS CodePipeline that is triggered automatically for commits on the private GitHub repository. Have the pipeline create a change set and execute the CloudFormation template. Add an AWS CodeBuild stage on the pipeline to build and run test scripts to verify the new stack.

    CodePipeline can monitor GitHub and automatically deploy CloudFormation changes using change sets. CodeDeploy is designed for application code deployment, not infrastructure, making it an invalid distractor for managing CloudFormation stack updates.

  208. Question 208 of 258A company plans to migrate its on-premises legacy application to AWS and develop a highly scalable application. Currently, all user requests are sent to the on-premises load balancer which forwards the requests to two Linux servers hosting the legacy application. The database is hosted on two servers in a master-master configuration. Since this is an old application, the communication to the database servers is done through static IP addresses and not via DNS names. The license of the application is tied to the MAC address of the network adapter of the Linux server. If the application is to be installed on a new server, it will take about 15 hours for the software vendor to send the new license via email. Which combination of actions must be done to meet the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Create an AWS Lambda function to update the database IP addresses on the Systems Manager Parameter Store. Create an Amazon EC2 bootstrap script that will retrieve the database IP address from SSM Parameter Store. Update the local configuration files with the parameters. · C. Provision a pool of Elastic Network Interfaces (ENIs). Request a license file for each ENI from the software vendor. Store the license files on an Amazon S3 bucket and use bootstrap scripts to retrieve an unused license file and attach corresponding ENI when provisioning EC2 instances.

    Storing IP addresses in Systems Manager Parameter Store allows bootstrap scripts to configure static IPs dynamically. Pre-provisioning Elastic Network Interfaces secures static MAC addresses for rigid licensing while allowing Auto Scaling group flexibility.

  209. Question 209 of 258A consumer goods company runs its e-commerce website entirely on its on-premises data center with high-resolution photos and videos. Due to the unprecedented growth of their popular product, they are expecting an increase in incoming traffic to their website across the globe in the coming days. The CTO requested to urgently do the necessary architectural changes to be able to handle the demand. The solutions architect suggested migrating the application to AWS, but the CTO decided that they need at least 3 months to implement a hybrid cloud architecture. What could the solutions architect do with the current on-premises website to help offload some of the traffic and scale out to meet the demand in a cost-effective way?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Launch a CloudFront web distribution with the URL of the on-premises web application as the origin. Offload the DNS to AWS to handle CloudFront traffic.

    Amazon CloudFront can cache heavy media assets at edge locations using the on-premises application as a custom origin. Rehosting infrastructure to AWS fails the urgent timeline, whereas caching immediately offloads traffic.

  210. Question 210 of 258A FinTech startup has recently consolidated its multiple AWS accounts using AWS Organizations. It currently has two teams in its organization, a security team and a development team. The former is responsible for protecting their cloud infrastructure and making sure that all of their resources are compliant, while the latter is responsible for developing new applications that are deployed to EC2 instances. The security team is required to set up a system that will check if all of the running EC2 instances are using an approved AMI. However, the solution should not stop the development team from deploying an EC2 instance running on a non-approved AMI. The disruption is only allowed once the deployment has been completed. In addition, they have to set up a notification system that sends the compliance state of the resources to determine whether they are compliant. Which of the following options is the most suitable solution that the security team should implement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use an AWS Config Managed Rule and specify a list of approved AMI IDs. This rule will check whether running EC2 instances are using specified AMIs. Configure AWS Config to stream configuration changes and notifications to an Amazon SNS topic which will send a notification for non-compliant instances.

    AWS Config Managed Rules evaluate running instances for approved AMIs and send notifications without blocking initial deployments. Service Control Policies act as preventative guardrails, which contradicts allowing deployments and remediating later.

  211. Question 211 of 258A legal consulting firm is running a WordPress website on EC2 instances deployed across multiple Availability Zones with a Multi-AZ RDS MySQL database instance. Their website is designed to use an eventual consistency model and performs a high number of read and write operations. There is a growing number of people who are reporting that the website is slow and after checking, the root cause is due to the slow read processing in the database tier. The current DB instances are already optimized for the firm's operational budget, with considerations for cost-effectiveness and resource utilization. Which of the following options could solve this issue? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: C. Add an RDS MySQL Read Replica in each Availability Zone. · D. Implement sharding to distribute the incoming load to multiple RDS MySQL instances. · F. Deploy an Amazon ElastiCache Cluster with nodes running in each Availability Zone.

    Read Replicas, database sharding, and ElastiCache horizontally scale read capacity to relieve database bottlenecks cost-effectively. Upgrading instance types or provisioned IOPS represents vertical scaling, which is often cost-prohibitive and less efficient.

  212. Question 212 of 258A large company has multiple AWS accounts with multiple IAM Users that launch different types of Amazon EC2 instances and EBS volumes every day. As a result, most accounts quickly hit the service limit and IAM users can no longer create any new instances. When cleaning up the AWS accounts, the solutions architect noticed that the majority of the instances and volumes are untagged. Therefore, it is difficult to pinpoint the owner of these resources and verify if they are safe to terminate. Because of this, the management had issued a new protocol that requires adding a predefined set of tags before anyone can launch their EC2 instances. Which of the following options is the simplest way to enforce this new requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Configure AWS Organizations to group different accounts into separate Organizational Units (OU) depending on the business function. Create a Service Control Policy that restricts launching any AWS resources without a tag by including the Condition element in the policy which uses the ForAllValues qualifier and the aws:TagKeys condition. This policy will require its principals to tag resources during creation. Apply the SCP to the OU which will automatically cascade the policy to individual member accounts.

    Applying a Service Control Policy using the ForAllValues qualifier with the aws:TagKeys condition enforces mandatory tagging across an organizational unit centrally. Applying individual IAM policies to every account requires extensive operational overhead, whereas AWS Config or Systems Manager only identify non-compliance after creation.

  213. Question 213 of 258A leading electronics company is getting ready to do a major public announcement of its latest smartphone. Their official website uses an Application Load Balancer in front of an Auto Scaling group of On-Demand EC2 instances, which are deployed across multiple Availability Zones with a Multi-AZ RDS MySQL database. In preparation for their new product launch, the solutions architect checked the performance of the company website and found that the database takes a lot of time to retrieve the data when there are over 100,000 simultaneous requests on the server. The static content such as the images and videos are promptly loaded as expected, but not the customer information that is fetched from the database. Which of the following options could be done to solve this issue in a cost-effective way? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Add Read Replicas in RDS for each Availability Zone. · E. Implement a caching system using ElastiCache in-memory cache on each Availability Zone.

    Implementing ElastiCache reduces database load by serving frequent queries from memory, and adding RDS Read Replicas scales read capacity across availability zones. Upgrading the database instance size or implementing sharding is not as cost-effective for handling sudden read spikes.

  214. Question 214 of 258A company has released a new mobile game and its backend servers are hosted on the company's on-premises data center. The game logic is exposed using REST APIs that have multiple functions depending on the user state. Access to the backend services is controlled with an API key, while any test traffic is distinguished by a different key. A central file server stores player session data. User traffic is variable throughout the day but the on-premises servers cannot handle traffic during peak hours. The game also has latency issues caused by the slow fetching of player session data. The management tasked the solutions architect to migrate this infrastructure to AWS in order to improve scalability and reduce the latency for data access while keeping the backend API model unchanged. Which of the following is the recommended solution to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Use AWS Lambda functions to run the backend game logic. Expose the REST APIs by using Amazon API Gateway. Use Amazon DynamoDB with auto-scaling to store the player session data.

    Using API Gateway with backend Lambda functions perfectly preserves the existing REST API structure while providing native API key handling and traffic throttling. DynamoDB provides the low-latency scalability required for active player session data, unlike Aurora Serverless.

  215. Question 215 of 258A retail company runs its customer support call system in its on-premises data center. A Solutions Architect was tasked to migrate the call system to AWS and leverage managed services to reduce management overhead. The solution must handle current tasks such as receiving calls and creating contact flows, and scale to handle more calls as the customer base grows. The company wants to add deep learning capabilities to the call system to reduce the need to speak to an agent. It must recognize the intent of the caller based on certain keywords and handle basic tasks, as well as provide information to the call center agents. Which combination of actions should the Solutions Architect implement to meet the requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: D. Use the Amazon Connect service to create an omnichannel cloud-based contact center for the agents. · E. Use an Amazon Lex bot to recognize callers' intent.

    Amazon Connect provides a managed cloud contact center, while Amazon Lex integrates AI to recognize caller intent and automate basic tasks. For the SAP exam, remember that Lex uses natural language understanding to power conversational chatbots, unlike Polly which only handles text-to-speech.

  216. Question 216 of 258A company has a suite of IBM products in its on-premises data centers, such as IBM WebSphere, IBM MQ, and IBM DB2 servers. A solutions architect has been tasked to migrate all current systems to the AWS Cloud in the most cost-effective way and improve the availability of the cloud infrastructure. Which of the following options is the MOST suitable solution that the solutions architect should implement to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use the AWS Database Migration Service (DMS) and the AWS Schema Conversion Tool (SCT) to convert, migrate, and re-architect the IBM Db2 database to Amazon Aurora. Set up an Auto Scaling group of EC2 instances with an ELB in front to migrate and re-host your IBM WebSphere. Migrate and re-platform IBM MQ to Amazon MQ in a phased approach.

    Using DMS to migrate Db2 to Aurora and re-platforming IBM MQ to Amazon MQ provides the required modernization and cost improvements. For the exam, remember that Amazon MQ is the direct migration path for legacy message brokers like IBM MQ, as SQS lacks the required protocols.

  217. Question 217 of 258A stock trading company is running its application on the AWS Cloud. The mission-critical database is hosted on an Amazon RDS for MySQL instance deployed in a Multi-AZ configuration. An AWS Backup rule is in place to take automated snapshots hourly. The operations team recently performed an RDS database failover test and found that it caused an outage of approximately 40 seconds. Management has asked the solutions architect to implement a solution that will reduce the outage to less than 20 seconds. Most connections should stay alive during failovers except for the ones that are in the middle of a transaction or SQL statement. New database connections should still be accepted, and incoming write requests should be queued until the failover completes.Which of the following options should the solutions architect implement to meet the company's requirements? (Choose THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: B. Set up an Amazon RDS Proxy in front of the database layer to automatically route traffic to healthy RDS instances. · F. Ensure that Multi-AZ is enabled on Amazon Aurora and create one or more Aurora Replicas. · G. Migrate the Amazon RDS for MySQL cluster to an Amazon Aurora for MySQL cluster.

    Migrating to Amazon Aurora MySQL and utilizing RDS Proxy directly targets sub-twenty second failovers while queueing active transactions. Aurora's isolated cache prevents reboot throttling, and the proxy maintains client connections, unlike standard Multi-AZ failovers.

  218. Question 218 of 258A company is running its new web application on a test environment in its on-premises data center. The stateful application is running on a single web server and it connects to a MySQL database that is hosted on a separate server. In a few weeks, the web application is scheduled to be released to the general public and the company is worried about its scalability. The user traffic will be unpredictable so it has been decided to migrate the web application and database to AWS. The company wants to use the Amazon EC2 service for hosting the web application, Amazon Aurora for the database, and Elastic Load Balancing for load distribution. Which of the following solutions will allow the web and database tier to scale along with user traffic?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an Amazon Aurora MySQL database instance. Create an Aurora Replica and enable Aurora Auto Scaling for the replica. Create an Auto Scaling group of Amazon EC2 instances placed behind an Application Load Balancer with the round-robin routing algorithm. Ensure that the sticky sessions feature is enabled for the ALB.

    Aurora Auto Scaling specifically manages read replicas to handle increased connectivity, as you cannot scale the master node. Sticky sessions are required for stateful web applications behind an Application Load Balancer to maintain user experience. Network Load Balancers do not support least outstanding requests.

  219. Question 219 of 258A technology company is developing an educational mobile app for students, with an exam feature that also allows them to submit their answers. The developers used React Native so the app can be deployed on both iOS and Android devices. They used AWS Lambda and Amazon API Gateway for the backend services and a DynamoDB table as the database service. After a month, the released app has been downloaded over 3 million times. However, there are a lot of users who complain about the slow processing of the app especially when they are submitting their answers in the multiple-choice exams. The diagrams and images on the exam also take a lot of time to load, which is not a good user experience. Which of the following options provides the most cost-effective and scalable architecture for the application?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Launch an SQS queue and develop a custom service which integrates with SQS to buffer the incoming requests. Use a web distribution in CloudFront and Amazon S3 to host the diagrams, images, and other static assets of the mobile app.

    Amazon SQS asynchronously buffers incoming write requests, decoupling user submissions from backend processing to prevent timeouts. CloudFront caches media assets at edge locations, improving load times globally. Provisioning massive DynamoDB write capacity is costly, and replacing DynamoDB introduces unnecessary operational overhead.

  220. Question 220 of 258An enterprise is in the process of integrating the systems of the smaller companies it has acquired in the past few months. The company wants to create an AWS Landing Zone that will allow hundreds of new employees to use their corporate credentials to log in to the AWS Console. The company is using a Microsoft Active Directory (AD) service for user authentication and has an AWS Direct Connect connection to AWS. The newly acquired companies come from a wide range of engineering fields so it is required that the solution will be able to federate third-party services and providers as well as custom applications. Which of the following implementations will meet the company requirements with the LEAST amount of management overhead?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Configure AWS IAM Identity Center with AWS Organizations to manage SSO access and permissions on AWS. Set up a two-way forest trust relationship between the AWS Directory service and the company Active Directory to allow users to use their corporate credentials when logging in to AWS. Leverage on the third-party integration support of AWS IAM Identity Center.

    IAM Identity Center natively integrates with Organizations and supports third-party SAML applications, providing centralized access with minimal management overhead. Setting up a two-way forest trust allows AWS Managed Microsoft AD to synchronize on-premises users. Self-managed AD FS deployments require significant infrastructure maintenance.

  221. Question 221 of 258A company's cloud governance team is tightening its AWS policies for an upcoming audit. During an initial review, the team found IAM policies attached to Lambda function execution roles, granting full access to S3 buckets and DynamoDB tables. As a best practice, the team recommends implementing the principle of least privilege access for compliance with the security audit. What steps should be taken to determine the minimum access needed by each function with the LEAST amount of effort? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Use IAM Access Analyzer to review AWS CloudTrail logs and generate a policy template with permissions required by the Lambda functions. · C. Create a trail in AWS CloudTrail and turn on CloudTrail logging to capture Amazon S3 and Amazon DynamoDB events.

    IAM Access Analyzer reviews CloudTrail events to automatically generate fine-grained IAM policy templates based on actual usage. CloudTrail must be enabled to capture the required S3 and DynamoDB API actions. Services like GuardDuty detect threats, while CodeGuru profiles performance rather than IAM activity.

  222. Question 222 of 258A company has an on-premises data center that is hosting its gaming service. Its primary function is player-matching and is accessible from players around the world. The gaming service prioritizes network speed for the users so all traffic to the servers uses User Datagram Protocol (UDP). As more players join, the company is having difficulty scaling its infrastructure so it plans to migrate the service to the AWS cloud. The Solutions Architect has been tasked with the migration and AWS Shield Advanced has been enabled already to protect all public-facing resources. Which of the following actions should the Solutions Architect implement to achieve the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Place the Auto Scaling of Amazon EC2 instances behind a Network Load Balancer (NLB). For the domain name, create an Amazon Route 53 entry that points to the Elastic IP address of the NLB. · E. Set up network ACL rules on the VPC to deny all non-UDP traffic. Ensure that the NACL is associated with the load balancer subnets.

    A Network Load Balancer operates at layer four to route UDP traffic and uses static Elastic IP addresses required for AWS Shield Advanced protections. Additionally, configuring network ACLs to deny non-UDP traffic provides an effective layer four firewall to block unwanted protocols.

  223. Question 223 of 258A retail company has an online shopping website that provides cheap bargains and discounts on various products. The company has recently moved its infrastructure from its previous hosting provider to AWS. The architecture uses an Application Load Balancer (ALB) in front of an Auto Scaling group of Spot and On-Demand EC2 instances. The solutions architect must set up a CloudFront web distribution that uses a custom domain name and the origin should point to the new ALB. Which of the following options is the correct implementation of an end-to-end HTTPS connection from the origin to the CloudFront viewers?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Import a certificate that is signed by a trusted third-party certificate authority, store it to ACM then attach it in your ALB. Set the Viewer Protocol Policy to HTTPS Only in CloudFront and use an SSL/TLS certificate from a third-party certificate authority which was imported to either ACM or the IAM certificate store.

    Configuring the viewer protocol policy as HTTPS Only enforces encryption in transit between the client and CloudFront. Additionally, importing a trusted third-party certificate into AWS Certificate Manager for the Application Load Balancer fulfills the strict requirement for end-to-end HTTPS across the entire architecture.

  224. Question 224 of 258A large media company based in Los Angeles, California, operates a MySQL RDS instance within an AWS VPC. The company has a custom analytics application running in its on-premises data center that requires read-only access to the database. The company aims to replicate the data from the MySQL RDS instance in AWS to a MySQL instance located on-premises to serve as the read-only endpoint for this analytics application. Which of the following options is the most secure way of performing this replication?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create an IPSec VPN connection using either OpenVPN or VPN/VGW through the Virtual Private Cloud service. Prepare an instance of MySQL running external to Amazon RDS. Configure the MySQL RDS instance to be the replication source. Use mysqldump to transfer the database from the Amazon RDS instance to the on-premises MySQL instance and start the replication from the Amazon RDS Read Replica.

    Establishing a secure IPsec VPN tunnel encrypts database replication traffic flowing between the AWS VPC and the on-premises data center. Exposing the RDS instance directly to the internet violates fundamental security best practices, making a dedicated private network connection mandatory for compliance.

  225. Question 225 of 258A company stores confidential financial documents as well as sensitive corporate information in an Amazon S3 bucket. There is a new security policy that prohibits any public S3 objects in the company's S3 bucket. In the event that a public object was identified, the IT Compliance team must be notified immediately and the object's permissions must be remediated automatically. The notification must be sent as soon as a public object was created in the bucket. What is the MOST suitable solution that should be implemented by the Solutions Architect to comply with this data policy?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Enable object-level logging in the S3 bucket to automatically track S3 actions using CloudTrail. Set up an Amazon EventBridge rule with an SNS Topic to notify the IT Compliance team when a PutObject API call with public-read permission is detected in the CloudTrail logs. Launch another CloudWatch Events rule that invokes an AWS Lambda function to turn the newly uploaded public object to private.

    Enabling S3 object-level logging in CloudTrail captures detailed API events, allowing EventBridge to trigger near-real-time alerts and automated Lambda remediation. Using scheduled hourly checks introduces unacceptable latency, while services like Trusted Advisor and GuardDuty lack the granular object-level visibility needed here.

  226. Question 226 of 258A top Internet of Things (IoT) company has developed a wrist-worn activity tracker for soldiers deployed in the field. The device acts as a sensor to monitor the health and vital statistics of the wearer. It is expected that thousands of devices will send data to the server every minute and after 5 years, the number will increase to tens of thousands. One of the requirements is that the application should be able to accept the incoming data, run it through ETL to store in a data warehouse, and archive the old data. The officers in the military headquarters should have a real-time dashboard to view the sensor data. Which of the following options is the most suitable architecture to implement in this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Send the raw data directly to Amazon Data Firehose for processing and output the data to an S3 bucket. For archiving, create a lifecycle policy from S3 to Glacier. Use Amazon EMR to process the data stored in S3 and load the processed data into Amazon Redshift.

    Amazon Data Firehose efficiently captures real-time streaming IoT data and delivers it to S3 for archiving or Redshift for analytics. Directly writing massive incoming sensor payloads to S3 or DynamoDB bypasses necessary ingestion buffering and creates performance bottlenecks.

  227. Question 227 of 258A company has a large collection of user-submitted stock photos. An AWS Lambda function processes and extracts metadata from these photos to make a searchable catalog. The metadata is extracted depending on several rules and the output is sent to an Amazon ElastiCache for Redis cluster. The metadata extraction is done in several batches and the whole process takes about 45 minutes to complete. Whenever there is a change in the metadata extraction rules, the update process is triggered manually before the extraction process starts. As the stock photo submissions are steadily growing, the company wants to reduce the metadata extraction time for its catalog. Which of the following options should the solutions architect implement to reduce the time for the metadata extraction process?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Split the single Lambda function that processes the photos into several functions dedicated for each type of metadata. Create a workflow on AWS Step Functions that will run multiple Lambda functions in parallel. Create another workflow that will retrieve the list of photos for processing and execute the metadata extraction workflow for each photo.

    AWS Step Functions provides native orchestration to execute multiple specialized Lambda functions concurrently, dramatically reducing processing time. A single SQS queue cannot easily coordinate parallel processing across different metadata functions because one successful extraction hides the message.

  228. Question 228 of 258A credit company deployed its online loan application system in an Auto Scaling group across multiple Availability Zones in the ap-southeast-2 region. As part of the company's Disaster Recovery Plan, the target RTO must be less than 2 hours, and the target RPO must be 10 minutes. At 12:00 PM, a production incident occurred in the main database, and the operations team discovered that transactions made from 10:30 AM onwards cannot be recovered. How can a solutions architect modify the current architecture to achieve the required RTO and RPO in the event of a similar system failure?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Create database backups every hour and store it in an Amazon S3 bucket with Cross-Region Replication enabled. Store the transaction logs in the same S3 bucket every 5 minutes.

    Synchronous cross-AZ replication guarantees an RPO of zero for Availability Zone failures. If planning for a region-wide outage, S3 with Cross-Region Replication for frequent transaction logs is the standard DR pattern to meet strict RPO requirements.

  229. Question 229 of 258A company has deployed a multi-tier web application on AWS that uses Compute Optimized Instances for server-side processing and Storage Optimized EC2 Instances to store various media files. To ensure data durability, there is a scheduled job that replicates the files to each EC2 instance. The current architecture worked for a few months but it started to fail as the number of files grew, which is why the management decided to redesign the system. Which of the following options should the solutions architect implement in order to launch a new architecture with improved data durability and cost-efficiency?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Migrate all media files to an Amazon S3 bucket and use this as the origin for the new CloudFront web distribution. Set up an Elastic Load Balancer with an Auto Scaling of EC2 instances to host the web servers. Use a combination of Cost Explorer and AWS Trusted advisor checks to monitor the operating costs and identify potential savings.

    Migrating media files to an S3 bucket and serving them through CloudFront provides high durability and offloads read traffic. Storing static media on EFS or using Storage Optimized instances is unnecessary and drives up costs.

  230. Question 230 of 258A digital banking company runs its production workload on the AWS cloud. The company has enabled multi-region support on an AWS CloudTrail trail. As part of the company security policy, the creation of any IAM users must be approved by the security team. When an IAM user is created, all of the permissions from that user must be removed automatically. A notification must then be sent to the security team to approve the user creation. Which of the following options should the solutions architect implement to meet the company requirements? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: C. Send a message to an Amazon Simple Notification Service (Amazon SNS) topic. Have the security team subscribe to the SNS topic. · E. Use Amazon EventBridge to invoke an AWS Step Function state machine that will remove permissions on the newly created IAM user. · F. Create a rule in Amazon EventBridge that will check for patterns in AWS CloudTrail API calls with the CreateUser eventName.

    EventBridge rules detect CloudTrail CreateUser API calls and trigger Step Functions to revoke permissions while notifying an SNS topic. CloudTrail only records events and cannot proactively send notifications or invoke remediation workflows.

  231. Question 231 of 258A data analytics company is running a Redshift data warehouse for one of its major clients. In compliance with the Business Continuity Program of the client, they need to provide a Recovery Point Objective of 24 hours and a Recovery Time Objective of 1 hour. The data warehouse should be available even in the event that the entire AWS Region is down. Which of the following is the most suitable configuration for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Configure Redshift to have automatic snapshots and do a cross-region snapshot copy to automatically replicate the current production cluster to the disaster recovery region.

    Configuring automatic snapshots with cross-region snapshot copy securely backs up your Redshift cluster to a disaster recovery region. Redshift does not support live cross-region replication, making snapshot copies the only viable method for regional disaster recovery.

  232. Question 232 of 258A company wants to release a weather forecasting app for mobile users. The application servers generate a weather forecast every 15 minutes, and each forecast update overwrites the older forecast data. Each weather forecast outputs approximately 1 billion unique data points, where each point is about 20 bytes in size. This results in about 20GB of data for each forecast. Approximately 1,500 global users access the forecast data concurrently every second, and this traffic can spike up to 10 times more during weather events. The company wants users to have a good experience when using the weather forecast application so it requires that each user query must be processed in less than two seconds. Which of the following solutions will meet the required application request rate and response time?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Use an Amazon EFS volume to store the weather forecast data points. Mount this EFS volume on a fleet of Auto Scaling Amazon EC2 instances behind an Elastic Load Balancer. Create an Amazon CloudFront distribution and point the origin to the ELB. Configure a 15-minute cache-control timeout for the CloudFront distribution.

    Mounting an Amazon EFS volume on a fleet of Auto Scaling EC2 instances behind a load balancer provides the distributed storage needed for concurrent access. While storing individual objects in S3 is a viable alternative for static data, it introduces higher retrieval latency compared to EFS, and API Gateway caching has strict size limits.

  233. Question 233 of 258A data analytics company has recently adopted a hybrid cloud infrastructure with AWS. They are in the business of collecting and processing vast amounts of data. Each data set generates up to several thousands of files which can range from 10 MB to 1 GB in size. The archived data is rarely restored and in case there is a request to retrieve it, the company has a maximum of 24 hours to send the files. The data sets can be searched using its file ID, set name, authors, tags, and other criteria. Which of the following options provides the most cost-effective architecture to meet the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. 1. For each completed data set, compress and concatenate all of the files into a single Glacier archive.

    Compressing data sets into a single S3 Glacier archive minimizes storage costs for rarely accessed files, while storing searchable metadata in DynamoDB enables fast lookups. Glacier lacks built-in search capabilities, so querying the vault directly would be highly inefficient and violate the time constraints.

  234. Question 234 of 258A leading aerospace engineering company has over 1 TB of aeronautical data stored on the corporate file server of its on-premises network. This data is used by a lot of its in-house analytical and engineering applications. The aeronautical data consists of technical files that can have a file size of a few megabytes to multiple gigabytes. The data scientists typically modify an average of 10 percent of these files every day. Recently, the management decided to adopt a hybrid cloud architecture to serve its clients around the globe better. The management requested to migrate its applications to AWS over the weekend to minimize any business impact and system downtime. The on-premises data center has a 50-Mbps Internet connection, which can be used to transfer all of the 1 TB of data to AWS, but based on the calculations, it will take at least 48 hours to complete this task. Which of the following options will allow the solutions architect to move all of the aeronautical data to AWS MOST cost-effectively?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. 1. Synchronize the on-premises data to an S3 bucket one week before the migration schedule using the AWS CLI's S3 sync command.

    Using the AWS CLI to sync data into S3 before the migration weekend allows delta syncing of changes, effectively overcoming slow internet bandwidth. DataSync or physical terminals are overkill and less cost-effective for a single terabyte over a week.

  235. Question 235 of 258A government technology agency has recently hired a team to build a mobile tax app that allows users to upload their tax deductions and income records using their devices. The app would also allow users to view or download their uploaded files later on. These files are confidential, tax-related documents that need to be stored in a single, secure S3 bucket. The mobile app's design is to allow the users to upload, view, and download their files directly from an Amazon S3 bucket via the mobile app. Since this app will be used by potentially hundreds of thousands of taxpayers in the country, the solutions architect must ensure that proper user authentication and security features are in place. Which of the following options should the solutions architect implement in the infrastructure when a new user registers on the app?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Record the user's information in Amazon RDS and create a role in IAM with appropriate permissions. When the user uses his/her mobile app, create temporary credentials using the 'AssumeRole' function in STS. Store these credentials in the mobile app's memory and use them to access the S3 bucket. Generate new credentials the next time the user runs the mobile app.

    Using IAM roles and the STS AssumeRole function provides temporary, secure credentials for mobile applications without embedding long-term keys. Storing access keys directly inside an app is a severe security risk. Always distribute short-lived credentials dynamically to untrusted client environments.

  236. Question 236 of 258A company is hosting its application and MySQL database in its on-premises data center. The database increases at about 10GB per day and is approximately 25TB in total size. The company wants to migrate the database workload to the AWS cloud. A 50Mbps VPN connection is currently in place to connect the corporate network to AWS. The company plans to complete the migration to AWS within 3 weeks with the LEAST downtime possible. Which of the following solutions should be implemented to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Create a database export of the on-premises database server and bring it to an AWS Data Transfer Terminal facility. Once the data is imported to AWS, provision an Amazon Aurora MySQL DB instance and load the data. Using the VPN connection, configure replication from the on-premises database server to the Aurora DB instance. Wait until the replication is complete, then update the database DNS entry to point to the Aurora DB instance. Stop the database replication.

    Moving the bulk database export to an AWS Data Transfer Terminal overcomes the strict bandwidth limitations of a 50 Mbps VPN. After the initial seed load, AWS DMS can efficiently replicate ongoing incremental changes over the VPN. This hybrid approach minimizes downtime during the final cutover.

  237. Question 237 of 258A multinational investment bank has multiple cloud architectures across the globe. The company has a VPC in the US East region for their East Coast office and another VPC in the US West for their West Coast office. There is a requirement to establish a low latency, high-bandwidth connection between their on-premises data center in Texas and both of their VPCs in AWS. Which of the following options should the solutions architect implement to achieve the requirement in a cost-effective manner?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Set up an AWS Direct Connect Gateway with two virtual private gateways. Launch and connect the required Private Virtual Interfaces to the Direct Connect Gateway.

    A Direct Connect Gateway allows a single physical Direct Connect connection to extend private connectivity to multiple VPCs across different regions. This avoids the high cost of provisioning redundant physical circuits for each specific region. VPC peering cannot bridge on-premises networks directly.

  238. Question 238 of 258An analytics company hosts its data processing application in its on-premises data center. Data scientists upload input files through a web portal which are then stored in the company NAS. For every uploaded file, the web server sends a message to the processing server over a message queue. It could take up to 30 minutes to process each file on the NAS. During business hours, the number of files awaiting processing is significantly higher and it could take a while for the processing servers to catch up. The number of files significantly declines after business hours. The company has tasked the solutions architect to migrate this workload to the AWS cloud. Which of the following options is the recommended solution while being cost-effective?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Reconfigure the web application to publish messages to a new Amazon SQS queue. Create an auto-scaling group of Amazon EC2 instances based on the SQS queue length to pull messages from the queue and process the files. Store the processed files on an Amazon S3 bucket.

    Using an SQS queue to trigger an EC2 Auto Scaling group provides the required decoupling and handles processing times exceeding Lambda's fifteen minute limit. Storing files in S3 is cheaper than EFS. Avoid Lambda options because long processing times will cause timeouts.

  239. Question 239 of 258An AWS Partner company hosts all its infrastructure on the AWS cloud. All resources are currently deployed in the us-east-1 region. The company plans to expand its business to include deployments in Europe and Asia. The solutions architect has been tasked to provision the needed resources on multiple regions across multiple AWS accounts under the company's AWS Organization. Which of the following options is the recommended solution to meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Write infrastructure-as-code to maintain consistency. Use AWS Organizations to centrally orchestrate the deployment of AWS CloudFormation template from the central account. Use CloudFormation StackSets to simplify permissions and automatic provisioning of resources across multiple regions and accounts.

    CloudFormation StackSets integrated with AWS Organizations provide native multi-account and multi-region orchestration. This centralized deployment model automatically handles cross-account permissions, making it the recommended approach over manual nested stacks or custom IAM policies.

  240. Question 240 of 258A company runs its travel and tours website on AWS. The application only supports HTTP at the moment. To improve their SEO ranking and provide more security for their customers, they decided to enable SSL on their website. The company would also like to ensure the separation of roles between the Development team and the Security team in handling the sensitive SSL certificate. The Development team can log in to EC2 Instances but they should not have access to the SSL certificate, which only the Security team has exclusive control of. Currently, they are using an Application Load Balancer which provides loads of incoming traffic to an Auto Scaling group of On-Demand EC2 instances. Which of the following options should the solutions architect implement to satisfy the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Store the SSL certificate in IAM and authorize access only to the Security team using an IAM policy. Configure the Application Load Balancer to use the SSL certificate instead of the EC2 instances.

    Terminating SSL at the Application Load Balancer allows you to upload the certificate to IAM or ACM, restricting access via IAM policies so developers cannot see it. Storing certificates directly on EC2 instances is a major anti-pattern when load balancers are already in use.

  241. Question 241 of 258A digital advertising startup runs an ad-supported photo-sharing website that has users around the globe. The startup is using Amazon S3 to serve photos to website users. Several weeks later, the solutions architect found out that third-party sites have been linking to the photos on the company S3 bucket which is causing losses in overall financial ad revenue. Some users are also reporting that the photos are taking too much time to load. Which of the following options is an effective method to mitigate this security flaw and to improve the performance of the photo-sharing website?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Remove public read access from the S3 bucket. Use CloudFront as the global content delivery network (CDN) service for the photos and use Signed URLs with expiry dates.

    Removing public read access and serving the photos through CloudFront using Signed URLs prevents hotlinking while drastically improving global load times. Blocking specific IPs fails because attackers can easily change IPs, making it an ineffective security strategy.

  242. Question 242 of 258A multinational consumer goods company is currently using a VMware vCenter Server to manage their virtual machines, multiple ESXi hosts, and all dependent components from a single centralized location. To save costs and to avail the benefits of cloud computing, the company decided to move its virtual machines to AWS. The Solutions Architect is required to generate new AMIs of the existing virtual machines which can then be launched as an EC2 instance in the company VPC. Which combination of steps should the Solutions Architect do to properly execute the cloud migration? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: A. Install the AWS Replication Agent in your on-premises virtualization environment. · D. Use the AWS Application Migration Service to migrate your on-premises workloads to the AWS cloud.

    Installing the AWS Replication Agent and using AWS Application Migration Service provides a highly automated lift-and-shift solution for converting virtual machines into EC2 instances. Avoid CloudFormation here because it builds fresh infrastructure rather than migrating existing servers.

  243. Question 243 of 258A supermarket chain is planning to launch an online shopping website to allow its loyal shoppers to buy their groceries online. Since there are a lot of online shoppers at any time of the day, the website should be highly available 24/7 and fault tolerant. Which of the following options provides the best architecture that meets the above requirement?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Deploy the website across 3 Availability Zones with Auto Scaled EC2 instances behind an Application Load Balancer and a RDS configured with Multi-AZ Deployments.

    Deploying Auto Scaled EC2 instances across three Availability Zones behind an Application Load Balancer ensures the web tier can survive failures. Pairing this with an RDS Multi-AZ deployment is critical because Read Replicas only scale reads and do not provide automatic failover.

  244. Question 244 of 258An Internet-of-Things (IoT) company is building a portal that stores data coming from its 20,000 gas sensors. The gas sensors, which have unique IDs, are used to detect a gas leak or other emissions inside the oil facility. Every 15 minutes, the sensors will send a data point throughout the day containing its ID, current gas level data, and the timestamp. Each data point contains critical information coming from the gas sensors. The company would like to query the information coming from a particular gas sensor for the past week and would like to delete all data that is older than eight weeks. The application is using a NoSQL database which is why they are using the Amazon DynamoDB service. How would you implement this in the most cost-effective way?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use one table every week, with a composite primary key which is the sensor ID as the partition key and the timestamp as the sort key.

    Creating weekly DynamoDB tables using the sensor ID as the partition key and timestamp as the sort key enables efficient queries and simple expiration via table deletion. Using a single massive table for all historical data increases complexity, and concatenating keys removes your ability to perform range queries on the timestamp.

  245. Question 245 of 258A travel and tourism company has multiple AWS accounts that are assigned to various departments. The marketing department stores the images and media files that are used in its marketing campaigns on an encrypted Amazon S3 bucket in its AWS account. The marketing team wants to share this S3 bucket so that the management team can review the files. The solutions architect created an IAM role named mgmt_reviewer in the Management AWS account as well as a custom AWS Key Management System (AWS KMS) key on the Marketing AWS account which is associated with the S3 bucket. However, users from the Management account received an Access Denied error when they assume the IAM role and try to access the objects on the S3 bucket. Which of the following options should the solutions architect implement to make sure that the users on the Management AWS account can access the Marketing team's S3 bucket with the minimum required permissions? (Select THREE.)

    Select 3 answers.

    Show answer & explanation

    Correct answer: B. Update the custom AWS KMS key policy in the Marketing account to include decrypt permission for the mgmt_reviewer IAM role. · D. Add an Amazon S3 bucket policy that includes read permission. Ensure that the Principal is set to the Management team's AWS account ID. · F. Ensure that the mgmt_reviewer IAM role policy includes read permissions to the Amazon S3 bucket and a decrypt permission to the custom AWS KSM key.

    Cross-account access to an encrypted bucket requires granting permissions in both the resource and identity tiers. You must update the KMS key policy and S3 bucket policy in the marketing account, and ensure the management role has the necessary read and decrypt permissions in its IAM policy.

  246. Question 246 of 258A law firm has decided to use Amazon S3 buckets for storage after an extensive Total Cost of Ownership (TCO) analysis comparing S3 versus acquiring more storage for its on-premises hardware. The attorneys, paralegals, clerks, and other employees of the law firm will be using Amazon S3 buckets to store their legal documents and other media files. For a better user experience, the management wants to implement a single-sign-on system in which the user can just use their existing Active Directory login to access the S3 storage to avoid having to remember yet another password. Which of the following options should the solutions architect implement for the above requirement and also provide a mechanism that restricts access for each user to a designated user folder in a bucket? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: B. Configure an IAM Policy that restricts access only to the user-specific folders in the Amazon S3 Bucket. · C. Set up a federation proxy or a custom identity provider and use AWS Security Token Service to generate temporary tokens. Use an IAM Role to enable access to AWS services.

    Setting up an identity provider with AWS STS allows users to federate their existing Active Directory credentials using IAM roles for access. To restrict access to specific prefixes, attach an IAM policy using variables to lock each user to their designated folder.

  247. Question 247 of 258A company has performed a security audit on its existing application. It was determined that the application retrieves Amazon RDS for MySQL credentials from an encrypted file in an Amazon S3 bucket. To improve the security of the application, the following should be implemented on the next application deployment:– The database credentials must be randomly generated and stored in a secure AWS managed service. – The credentials must be rotated every 90 days. – Infrastructure-as-code provisioning of application resources using AWS CloudFormation.Which of the following options should the solutions architect implement to meet the company's requirements with the LEAST amount of operational overhead?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: H. Use AWS Secrets Manager, create a secret resource and generate a secure database password. Use Secrets Manager's managed rotation to automatically rotate the database password every 90 days. On AWS CloudFormation, specify the AutomaticallyAfterDays property in RotationRules to set the rotation schedule to 90 days.

    AWS Secrets Manager natively handles random password generation and automated RDS credential rotation with minimal overhead using CloudFormation. A strong distractor uses custom Lambda functions for rotation, but that introduces unnecessary operational complexity when native managed rotation exists.

  248. Question 248 of 258A company develops cloud-native applications and uses AWS CloudFormation templates for deploying applications in AWS. The application artifacts and templates are stored in an Amazon S3 bucket with versioning enabled. The developers use Amazon EC2 instances that have integrated development environments (IDE) to download, modify, and re-upload the artifacts to the S3 bucket. Unit testing is done locally on the EC2 instances. The company wants to improve the existing deployment process with a CI/CD pipeline to help the developers be more productive. The following requirements need to be satisfied:– Utilize GitHub as the code repository for application and CloudFormation templates. – Have automated testing and security scanning for the generated artifacts. – Receive a notification when unit testing fails. – Ability to turn on/off application features and dynamically customize the deployment as part of CI/CD. – The Lead Developer must approve changes before deploying applications to production.Which of the following options should the solutions architect implement to meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: H. Create an AWS CodeBuild job to run tests and security scans on the generated artifacts. Create an Amazon EventBridge rule that will send Amazon SNS alerts when unit testing fails. Create AWS Cloud Development Kit (AWS CDK) constructs with a manifest file to turn on/off features of the AWS CDK app. Add a manual approval stage on the pipeline for the Lead Developer's approval prior to production deployment.

    CodeBuild easily handles automated testing and security scans, while native CodePipeline manual approvals satisfy the lead developer requirement. For dynamic feature toggles, the AWS Cloud Development Kit allows conditional deployments, making it superior to custom Lambda logic.

  249. Question 249 of 258A startup is developing a health-related mobile app for iOS and Android. The co-founder developed a sleep-tracking app that collects user biometric data and stores it in an Amazon DynamoDB table configured with on-demand capacity mode. Every day at nine in the morning, a scheduled task scans the DynamoDB table to extract and aggregate the previous night's data for each user and stores the results in an Amazon S3 bucket. When the new data is available, users are notified via Amazon SNS mobile push notifications. Due to budget constraints, management wants to optimize the backend system's architecture to reduce costs and increase overall revenue. Which of the following options can the solutions architect implement to further lower the cost in AWS? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: C. Avail a reserved capacity for provisioned throughput for DynamoDB. · E. Set up a scheduled job to drop the DynamoDB table for the previous day that contains the biometric data after it is successfully stored in the S3 bucket. Create another DynamoDB table for the day and perform the deletion and creation process everyday.

    Purchasing reserved capacity provides significant savings for predictable workloads, while dropping daily tables after successful S3 aggregation minimizes ongoing storage costs. Introducing ElastiCache or shifting to RDS would drastically increase operational overhead and monthly billing.

  250. Question 250 of 258A company hosts a serverless application on AWS using Amazon API Gateway and AWS Lambda with Amazon DynamoDB as the backend database. The application has a feature that allows users to create posts and reply to comments based on different topics. The API model currently uses the following methods:– GET /posts/[postid] – used to get details about the post – GET /users/[userid] – used to get details about a user – GET /comments/[commentid] – used to get details of a commentThe application does not use API keys for request authorization. To increase user engagement on the web app, the company wants to reduce comment latency by making the comments appear in real-time.Which of the following solutions should be implemented to meet the requirements and improve user experience?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: G. Leverage AWS AppSync by building GraphQL APIs and using Websockets to deliver comments in real-time.

    AWS AppSync leverages GraphQL and WebSocket protocols to efficiently push real-time data updates to subscribed clients. Using short polling via API Gateway increases latency and unnecessarily drives up Lambda invocation costs, making it a poor choice.

  251. Question 251 of 258A company runs a mission-critical application on a fixed set of Amazon EC2 instances behind an Application Load Balancer. The application responds to user requests by querying a 120GB dataset. The application requires high throughput and low latency storage so the dataset is stored on Provisioned IOPS (PIOPS) Amazon EBS volumes with 3000 IOPS provisioned. The EC2 launch template has been configured to allocate and attach this 120GB size PIOPS EBS volume for the fleet of EC2 instances. After a few months of operation, the company noticed the high cost of EBS volumes in the billing section. The Solutions Architect has been tasked to design a solution that will reduce the costs without a negative impact on the application performance and data durability. Which of the following solutions will meet the company requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: A. Create an Amazon EFS volume and mount it across all the EC2 instances. Use the Provisioned Throughput mode on the EFS volume to ensure that the application can reach the required IOPS.

    Creating an Amazon EFS file system using Provisioned Throughput provides a shared file system that meets performance requirements and reduces costs by eliminating duplicate EBS volumes. Max I/O performance mode is outdated and does not guarantee specific throughput independent of storage size.

  252. Question 252 of 258A media company recently launched a web service that allows users to upload and share short videos. Currently, the web servers are hosted on an Auto Scaling group of Amazon EC2 instances in which the videos are processed and stored in the EBS volumes. Each uploaded video sends a message on the Amazon SQS queue, which is also processed by an Auto Scaling group of Amazon EC2 instances. The company relies on third-party software to analyze and categorize the videos. The website also contains static content that has variable user traffic. The company wants to re-architecture the application to reduce costs, reduce dependency on third-party software, and reduce management overhead by leveraging AWS-managed services. Which of the following solutions will meet the company's requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Create an Amazon ECS Fargate cluster and use containers to host the web application. Create an Auto Scaling group of Amazon EC2 Spot instances to process the SQS queue. Use Amazon Rekognition to analyze and categorize the videos instead of the third-party software. Store the videos and static contents on Amazon S3 buckets.

    Using ECS Fargate for the web tier and Spot Instances for queue processing minimizes operational overhead and reduces costs. S3 provides durable storage for media files, while Amazon Rekognition completely removes the third-party software dependency for video analysis.

  253. Question 253 of 258A leading e-commerce company plans to launch a donation website for all the victims of the recent super typhoon in South East Asia for its Corporate and Social Responsibility program. The company will advertise its program on TV and on social media, which is why they anticipate incoming traffic on their donation website. Donors can send their donations in cash, which can be transferred electronically, or they can simply post their home address where a team of volunteers can pick up their used clothes, canned goods, and other donations. Donors can optionally write a positive and encouraging message to the victims along with their donations. These features of the donation website will eventually result in a high number of write operations on their database tier considering that there are millions of generous donors around the globe who want to help. Which of the following options is the best solution for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: D. Amazon DynamoDB with a provisioned write throughput. Use an SQS queue to buffer the large incoming traffic to your Auto Scaled EC2 instances, which processes and writes the data to DynamoDB.

    Using an SQS queue acts as a buffer to decouple the write operations, protecting the DynamoDB database from being overwhelmed by sudden traffic spikes. For the exam, always pair SQS with Auto Scaling when dealing with unpredictable, write-intensive workloads to ensure system stability.

  254. Question 254 of 258A privately funded aerospace and sub-orbital spaceflight services company hosts its rapidly evolving applications in AWS. For its deployment process, the company is using CloudFormation templates which are regularly updated to map the latest AMI IDs for its Amazon EC2 instance clusters. It takes a lot of time to execute this on a regular basis which is why the solutions architect has been instructed to automate this process. Which of the following options is the most suitable solution that can satisfy the above requirements?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: C. Use CloudFormation with Systems Manager Parameter Store to retrieve the latest AMI IDs for your template. Whenever you decide to update the EC2 instances, call the update-stack API in CloudFormation in your CloudFormation template.

    Storing the latest AMI IDs in Systems Manager Parameter Store allows CloudFormation to dynamically retrieve the public parameters during stack updates. This avoids manual template edits and eliminates the need for AWS Service Catalog, which is used for governance, not automation.

  255. Question 255 of 258A research company hosts its internal applications inside AWS VPCs in multiple AWS Accounts. The internal applications are accessed securely from inside the company network using an AWS Site-to-Site VPN connection. VPC peering connections have been established from the company's main AWS account to VPCs in other AWS Accounts. The company has recently announced that employees will be allowed to work remotely if they are connected using a VPN. The solutions architect has been tasked to create a scalable and reliable AWS Client VPN solution that employees can use when working remotely. Which of the following options is the most cost-effective implementation to meet the company requirements with minimal changes to the current setup?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Install the AWS Client VPN on each employee workstation. Create a Client VPN endpoint in the same VPC region in the main AWS account. Update the VPC route configurations to allow communication with the internal applications.

    Installing the client on employee workstations and creating a single Client VPN endpoint in the main account leverages existing VPC peering routes for access. Client VPN is endpoint-based, so deploying it in a data center or across every account adds unnecessary cost and complexity.

  256. Question 256 of 258A company has data centers in Europe, Asia, and North America. Each data center has a 10Gbps AWS Direct Connect connection to AWS, and the company uses a custom VPN to encrypt traffic between its data center network and AWS. In total, the data centers have about five hundred physical servers that host a mix of Windows and Linux-based applications and database services. The company plans to decommission these data centers and migrate its entire infrastructure to the AWS cloud instead. Separate accounts for staging and launching VMs must be implemented, as well as the ability to do AWS Region-to-Region Amazon VPC stack creation. Which of the following options is the recommended solution for this migration?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. Leverage AWS Transform MGN for the migration. Install the AWS Replication agent on each physical machine to start the replication to the AWS Cloud. Once syncing is completed, launch test instances and initiate cutover to the AWS Cloud.

    AWS Application Migration Service, formerly known as MGN, is designed to lift and shift physical servers using an agent for continuous block-level replication. Manual VM import processes are not scalable for large migrations, and AWS Outposts is used for extending infrastructure on-premises, not migrating to the cloud.

  257. Question 257 of 258A big fast-food chain in Asia is planning to implement a location-based alert on their existing mobile app. If a user is in proximity to one of its restaurants, an alert will be shown on the user's mobile phone. The notification needs to happen in less than a minute while the user is still in the vicinity. Currently, the mobile app has 10 million users in the Philippines, China, Korea, and other Asian countries. Which of the following AWS architectures is the most suitable option for this scenario?

    Tap an answer — you get instant feedback and the reasoning.

    Show answer & explanation

    Correct answer: B. The mobile app will send device location to an SQS endpoint. Set up an API that utilizes an Application Load Balancer and an Auto Scaling group of EC2 instances, which will retrieve the relevant offers from DynamoDB. Use Amazon SNS to send offers to the mobile app.

    Amazon SNS provides native mobile push notifications directly to consumer devices, unlike Amazon SES which only handles email. While using SQS to buffer location updates is an older EC2-based design pattern, it successfully pairs SNS for the required mobile push delivery.

  258. Question 258 of 258An adventure company runs a PostgreSQL database that is used to store events from its monitoring application on its on-premises data center. The database is unable to scale enough to handle frequent write events that need to be ingested into the database. The management has tasked the solutions architect to create a hybrid solution that will utilize the existing company VPN connection to AWS. Additional requirements are as follows: Leverage AWS-managed services to minimize operational overhead. Create a buffer that automatically scales to accommodate the events that need to be ingested. Provide a visualization tool to observe near real-time events and support creating dashboards. Support dynamic schemas and semi-structured JSON data. Which of the following options should the solutions architect implement to meet the company requirements? (Select TWO.)

    Select 2 answers.

    Show answer & explanation

    Correct answer: F. Create an Amazon OpenSearch Service domain to reliably ingest the events. Leverage the OpenSearch Dashboards tool to create near-real-time dashboards and visualizations. · H. Ingest the events using Amazon Data Firehose. Write a Lambda function to process and transform the buffered events.

    Amazon Data Firehose provides a fully managed, auto-scaling buffer for streaming data and uses Lambda for transformations. OpenSearch Service natively handles semi-structured JSON data and offers OpenSearch Dashboards for visualization.

More free practice tests at certpunch.com and new video rounds on @CertPunch.

Scroll to Top