50-99 Flashcards
(55 cards)
Q50. An Internal Security Audit of AWS resources within a company found that a number of Amazon EC2 instances running Microsoft Windows workloads were missing several important operating-system-level patches. A Solutions Architect has been asked to fix existing patch deficiencies, and to develop a workflow to ensure that future patching requirements are identified and taken care of quickly. The solutions architect has decided to use AWS System Manager. It is important that EC2 instance reboots do not occur at the same time on all Windows workloads to meet organizational up-time requirements Which workflow will meet these requirements in an automated manner ?
A) Add a Patch Group tag with a value of Windows Servers to all existing EC2 Instances. Ensure that all Windows EC2 instances are assigned this tag Associate the AWS-Default Patch Baseline to the Windows Servers patch group Define an AWS system Manager maintenance window, conduct patching within it and associate it with the windows servers patch group. Register instances with the maintenance windows using associated subnet IDs. Assign the AWSRunPatchBaseline document as a task within each maintenance window
B) Add a Patch Group tag with a value of Windows server to all existing EC2 instances. Ensure that all Windows EC2 instances are assigned this tag. Associate the AWS Windows patch Baseline to the Windows Servers patch group create an Amazon Cloudwatch events rule configured to use a cron expression to schedule the execution of patching using the AWS Systems Manager run command Assign the AWS RunWindowPatchBaseline document as a task associated with the Windows Servers patch group create an AWS Systems Manager State Manager document to define commands to be executed during patch execution.
C) Add a Patch Group tag with a value of either Windows Server 1 or Windows Servers to all existing EC2 instances ensure that all Windows EC2 instances are assigned this tag Associate the AWS-DefaultPatchBaseline with both Windows Servers patch groups. Define two non-overlapping AWS Systems. Manager maintenance windows, conduct patching within them, and associate each with a different patch group Register targets with specific maintenance windows using the patch group tags. Assign the AWS RunPatchBaseline document as a task within each maintenance window.
D) Add a Patch Group tag with a value of either windows Servers 1 or Windows Servers to all existing EC2 instances Ensure that all Windows EC2 instances are assigned this tag Associate the AWS-Windows PatchBaseline with both Windows Servers patch group Define two non-overlapping AWS Systems Manager maintenance windows, conduct patching within them, and associate each with a different patch group Assign the AWS-RunWindowsPatchBaseline document as a task within each maintenance window create an AWS systems Manager State manager document to define commands to be executed during patch execution
C) Add a Patch Group tag with a value of either Windows Server 1 or Windows Servers to all existing EC2 instances to ensure that all Windows EC2 instances are assigned this tag Associate the AWS-DefaultPatchBaseline with both Windows Servers patch groups. Define two non-overlapping AWS Systems. Manager maintenance windows, conduct patching within them and associate each with a different patch group Register targets with specific maintenance windows using the patch group tags. Assign the AWS RunPatchBaseline document as a task within each maintenance window.
Q51. A company must deploy multiple independent instances of an application. The front-end application is internet accessible. However corporate policy stipulates that the backends are to be isolated 1 application setup should be automated to minimize the opportunity for mistakes as new instances are deployed Which option meets the requirements and MINIMIZES costs?
A) Use an AWS CloudFormation template to create identical IAM roles for each region. Use AWS CloudFormation stacksets to deploy each application instance by using parameters to customize for each instance and use security groups to isolate each instance while permitting access to the central server
B) Create each instance of application IAM roles and resources in separate accounts by using AWS CloudFormation Stacksets include a VPN connection to the VPN gateway of the central administration server
C) Duplicate the application IAM roles and resources in separate accounts by using a single AWS CloudFormation template include VPC peering to connect the VPC of each application instance to a central VPC
D) Use the parameters of the AWS CloudFormation template to customize the deployment into separate accounts include a NAT gateway to allow communication back to the central administration server
A) Use an AWS CloudFormation template to create identical IAM roles for each region. Use AWS CloudFormation stacksets to deploy each application instance by using parameters to customize for each instance and use security groups to isolate each instance while permitting access to the central server
Q52. A group of Amazon EC2 instances has been configured as a high-performance computing (HPC) cluster. The instances are running in a placement group, and are able to communicate with each other at network speeds of up to 20 Gbps The cluster needs to communicate with a control EC2 instance outside of the placement group. The control instance has the same instance type and AMI as the other instances, and is con How can the Solutions Architect improve the network speeds between the control instance and the instances in the placement group?
A) Terminate the control instance and relaunch it in the placement group
B) Ensure that the instance is communicating using their private IP addresses
C) Ensure that the control instance is using an Elastic Network Adapter
D) Move the control instance inside the placement group
C) Ensure that the control instance is using an Elastic Network Adapter
Q53. A company runs a dynamic mission-critical web application that has an SLA of 99.99% Global application users access the application 24/7. The application is currently hosted on-premises and routinely falls to meet its SLA, especially when millions of users access the application concurrently Remote users complain of latency.
How should this application be redesigned to be scalable and allow for automatic failover at the lowest cost?
A) Use Amazon Route 53 failover routing with geolocation-based routing Host the website on automatically scaled Amazon EC2 instances behind an Application load Balancer with an additional application load balancer and EC2 instances for the application layer in each region Use a multi-AZ deployment with MySQL as the data layer
B) Use Amazon Route 53 round robin routing to distribute the load evenly to several regions with health checks. Host the website on automatically scaled Amazon ECS with AWS fargate technology containers behind a Network Load Balancer with an additional Network Load Balancer and Fargate containers for the application layer in each region Use Amazon Aurora replicas for the data layer
C) Use Amazon Route 53 latency-based routing to the route to the nearest region with health checks S3 in each region and use Amazon API gateway with AWS Lambda for the application layer. Use Amazon DynomoDB global tables as the data layer with Amazon DynamoDB accelerator (DAX) for caching
D) Use Amazon Route 53 geolocation-based routing Host the website on automatically scaled AWS far gate container behind a Network Load Balancer with an additional Network Load Balancer and Fargate containers for the application layer in each region. Use Amazon Aurora Multi-Master for Aurora My SQL as the data layer
C) Use Amazon Route 53 latency-based routing to the route to the nearest region with health checks S3 in each region and use Amazon API gateway with AWS Lambda for the application layer. Use Amazon DynomoDB global tables as the data layer with Amazon DynamoDB accelerator (DAX) for caching
Q54. A Solutions Architect has created an AWS CloudFormation template for a three-tie application that contains an Auto Scaling group of Amazon Ec2 instances running a custom AMI
The Solution Architect wants to ensure that future updates to the custom AMI can be deployed to a running stack by first updating the template to refer to the new AMI and then invoking update stack to replace the EC2 instances with instances launched from the new AMI
How can updates to the AMI be deployed to meet these requirements?
A) Create a changeset for the new version of the template view the changes to the running EC2 instances to ensure that the AMI is correctly updated and then execute the changeset.
B) Edit the AWS Autoscaling launch configuration resource in the template, changing its deletion policy to replace
C) Edit the AWS AutoScaling AutoscalingGroup resource in the template, inserting an updated policy attribute
D) Create a new stack from the updated template once it is successfully deployed modify the DNS records to point the new stack and delete the old stack
A) Create a changeset for new version of the template view the changes to the running EC2 instances to ensure that the AMI is correctly updated and then execute the changeset.
Q55. A Solutions Architect is designing a multi-account structure that has 10 existing accounts. The design must meet the following requirements: - Consolidate all accounts into one organization -Allow full access to the Amazon EC2 service from the master account and the secondary accounts Minimize the effort required to add additional secondary accounts Which combination of steps should be included in the solution? (Select Two)
A) Create an organization from the master account send invitations to the secondary accounts from the master account Accept the invitation and create an OU
B) Create an organization from the master account send a join request to the master account from each secondary account Accept the request and create an OU
C) Create a VPC peering connection between the master account and the secondary accounts. Accept the request for the VPC peering connection
D) Create a service control policy (SCP) that enables full EC2 access, and attach the policy to the ou
E) Create a full EC2 access policy and map the policy to a role in each account Trust every other account to assume the role
A) Create an organization from the master account send invitations to the secondary accounts from the master account Accept the invitation and create an OU
D) Create a service control policy (SCP) that enables full EC2 access, and attach the policy to the ou
Q56. A company’s application is increasingly popular and experiencing latency because of high volume reads on the database server The service has the following properties - A highly available REST API hosted in one region using an Application Load Balancer (ALB) with auto-scaling -A MySQL database hosted on an Amazon EC2 instance in a single availability zone
The company wants to reduce latency increase in region database read performance and have multi-region disaster recovery capabilities that can perform a live recovery automatically without any data or performance loss (HA/DR) Which deployment strategy will meet these requirements?
A) Use AWS CloudFormation stacksets to deploy the API layer in two regions Migrate the database to an Amazon Aurora with MySQL database cluster with multiple read replicas in one region and a read replica in a different region than the source database cluster. Use Amazon Route 53 health checks to trigger a DNS failover to the standby region if the health checks to the primary load balancer fail in the event of Route 53 failover promote the cross-region database replica to be the master and build out new read replicas in the standby region
B) Use Amazon elatiCache for Redis Multi-AZ with automatic failover to cache the database read queries. Use AWS OpsWorks to deploy the API layer, cache layer and existing database layer in two regions. In the event of failure, use Amazon Route 53 health checks on the database to trigger a DNS failover to the standby region if the health checks in the primary region fail. Back up the MySQL database frequently and in the event of a failure in an active region copy the backup to the standby region and restore the standby database.
C) Use AWS CloudFormation Stack sets to deploy the API layer in two regions. Add the database to an auto-scaling group Add a read replica to the database in the second region Use Amazon Route 53 health checks on the database to trigger a DNS failover to the standby region if the health checks in the primary region fail to promote the cross-region database replica to be the master and build out new read replicas in the standby region. D) Use Amazon ElastiCache for Redis Multi-AZ with automatic failover to cache the database read queries. Use AWS OpsWorks to deploy the API layer cache layer and existing database layer in two regions Use Amazon Route 53 health checks on the ALB to trigger a DNS failover to the standby region if the health checks in the primary region fail Back up the MySQL database frequently and in the event of a failure in an active region copy the backup to the standby region and restore the standby database
A) Use AWS CloudFormation stacksets to deploy the API layer in two regions Migrate the database to an Amazon Aurora with MySQL database cluser with multiple read replicas in one region and a read replica in a different region than the source database cluster. Use Amazon Route 53 health checks to trigger a DNS failover to the standby region if the health checks to the primary load balancer fail in the event of Route 53 failover promote the cross region database replica to be the master and build out new read replicas in the standby region
Q57. A company currently uses a single 1 Gbps AWS Direct Connect connection to establish connectivity between an AWS Region and its data center. The company has five Amazon VPCs all of which connected to the data center using the same Direct Connect connection. The network team is worried about the single point of failure and is interested in improving the redundancy of the connection to AWS while keeping costs to a minimum. Which solution would improve the redundancy of the connection to AWS while meeting the cost requirements?
A) Provision another 1 GPS Direct connect connection and create new VIFs to each of the VPCs configure the VIFs in a load-balancing fashion using BGP
B) Set up VPN tunnels from the data center to each VPC. Terminate each VPN tunnel at the virtual private gateway (VGW) of the respective VPC and set up BGP for route management.
C) Set up a new point to point multiprotocol label (MPLS) connection to the AWS region that’s being used configure BGP to use this new circuit as passive so that no traffic flows through this unless the AWS Direct Connect fails
D) Create a public VIF on the direct Connect connection and set up a VPN tunnel which will terminate on the virtual private gateway (VGW) of the respective VPC using the public VIE use BGP to handle the failover to the VPN connection
D) Create a public VIF on the direct Connect connection and set up a VPN tunnel which will terminate on the virtual private gateway (VGW) of the respective VPC using the public VIE use BGP to handle the failover to the VPN connection
Any Company has acquired numerous companies over the past few years. The CIO for a company would like to keep the resources for each acquired company separate. The CIO also would like to enforce a chargeback model where each company pays for the AWS services it uses The Solution Architect is tasked with designing an AWS architecture that allows Any Company to achieve the following -Implementing a detailed chargeback mechanism to ensure that each company pays for the resources it uses
- Any Company can pay for AWS services for all its companies through a single invoice
- Developers in each acquired company have access to resources in their company only
- Developers in an acquired company should not be able to affect resources in any other company
- A single identity store is used to authenticate developers across all companies Which of the following approaches would meet these requirements?* (Select TWO)
A) Create a multi-account strategy with an account per company use consolidated billing to ensure that AnyCompany needs to pay a single bill only
B) Create a single account strategy with a virtual private cloud (VPC) for each company Reduce impact across companies by not creating any VPC peering links. As everything is in a single account, there will be a single invoice. Use tagging to create a detailed bill for each company.
C) Create IAM users for each developer in the account to which they require access. Create policies that allow the users access to all resources in that account Attach the policies to the IAM user
D) Create a federated identity store against the company’s active directory create IAM roles with appropriate permissions and set the trust relationships with AWS and the identity store use AWS STS to grant users access based on the groups they belong to in the identity store
E) Create a multi-account strategy with an account per company for billing purposes, use a tagging solution that uses a tag to identify the company that creates each resource
A) Create a multi-account strategy with an account per company use consolidated billing to ensure that AnyCompany needs to pay a single bill only
E) Create a multi account strategy with an account per company for billing purposes, use a tagging solution that uses a tag to identity the company that creates each resource
Q59. A company has standard three-tier architecture using two Availability Zones, During the company’s offseason, users report that the website is not working. The Solution Architect finds that no changes have been made to the environment recently, the website is reachable, and it is possible to log in.
However, when the Solution Architect selects the “Find a store near you” function, the maps provided on the site by a third-party Restful API call do not work about 50% of the after refreshing the page.
The outbound API calls are made through Amazon EC2 NAT instances What is the MOST likely reason for this failure and how can it be mitigated in the future ?
A) The network ACL for one subnet is blocking outbound web traffic. Open the network ACL and prevent the administration from making future changes through IAM
B) The fault is in the third-party environment Contact the third party that provides the maps and request a fix that will provide better uptime.
C) One NAT instance has become overloaded Replace both EC2 NAT instances with a larger-sized instance and make sure to account for growth when making the new instance size
D) One of the NAT instances failed to Recommend replacing the EC2 NAT instances with a NAT gateway
D) One of the NAT instances failed Recommend replacing the EC2 NAT instances with a NAT gateway
Q60. A company deployed a three-tier web application in two regions us eat-1 and eu west 1. The application must be active in both regions at the same time. The database tier of the application uses a single Amazon RDS Aurora database globally, with a master in us-east-1 and a read replica in eu-west-1.
Both regions are connected by a VPN The company wants to ensure that the application remains available even in the event of a region-level failure of all of the application’s components. It is acceptable for the application to be in read-only mode for up to 1 hour.
The company plans to configure two Amazon Route 53 recordsets, one for each of the regions. How should the company complete the configuration to meet its requirements while providing the lowest latency for the application end users? (Select TWO)
A) Use failover routing and configure the us east-1 recordset as primary and the eu-west-1 record set as secondary configure an HTTP health check for the web application in us east-1 and associate it to the us eat-1 record set
B) Use weighted routing and configure each record set with a weight of 50. Configure an HTTP health check for each region and attach it to the recordset for that region Use latency-based routing for both recordsets configure a health check for each region and attach it to the recordset for that region.
C) Configure an Amazon CloudWatch alarm for the health checks in us-east-1, and have it invoke an AWS Lambda function that promotes the read replica in eu-west-1
D) Configure Amazon RDS event notifications to react to the failure of the database in us-east-1 by invoking an AWS Lambda function that promotes the read replica in eu west-1
A) Use failover routing and configure the us east-1 recordset as primary and the eu-west-1 record set as secondary configure an HTTP health check for the web application in us east-1 and associate it to the us eat-1 record set C) Configure an Amazon CloudWatch alarm for the health checks in us-east-1, and have it invokes an AWS Lambda function that promotes the read replica in eu-west-1
Q61. A company runs a Windows Server host in a public subnet that is configured to allow a team of administrators to connect over RDP to troubleshoot issues with hosts in private subnet. The host must be available at all times outside of a scheduled maintenance window and needs to receive the latest operating system updates within 3 days of release. What should be done to manage the host with the LEAST amount of administrative effort?
A) Run the host in a single-instance AWS Elastic Beanstalk environment configures the environment with a custom AMI to use a hardened machine image from AWS Marketplace. Apply system updates with AWS Systems Manager Patch Manager
B) Run the host on AWS WorkSpaces Use Amazon WorkSpaces Application Manager (WAM) to harden the host configures windows automatic updates to occur every 3 days.
C) Run the host in an Auto Scaling group with a minimum and maximum instance count of 1 Use a hardened machine image from AWS Marketplace. Apply system updates with AWS systems manager patch manager
D) Run the host in AWS OpsWorks Stacks. Use a chef recipe to harden the AMI during instance launch Use an AWS Lamba scheduled event to run the upgrade operating system stack command to apply system updates
C) Run the host in an Auto Scaling group with a minimum and maximum instance count of 1 Use a hardened machine image from AWS Marketplace. Apply system updates with AWS systems manager patch manager
Q62. A company plans to move regulated and security-sensitive businesses to AWS. The Security team is developing a framework to validate the adoption of AWS best practices and industry-recognized compliance standards. The AWS Management console is the preferred method for teams to provision resources. Which strategies should a Solution Architect use to meet the business requirements and continuously assess, audit, and monitor the configurations of AWS resources? (Select TWO)
A) Use AWS Config rules to periodically audit changes to AWS resources and monitor the compliance of the configuration Develop AWS Config custom rules using AWS Lambda to establish a test-driven development approach, and further automate the evaluation to configure changes against the required controls.
B) Use Amazon CloudWatch Logs agent to collect all the AWS SDK logs. Search the log data using a predefined patterns that match mutating API Calls send notifications using Amazon CloudWatch alarms when unintended changes are performed Archive log data by using a batch export to Amazon S3 and then Amazon Glacier for long term retention and auditability
C) Use AWS Cloud Trail events to assess management activities of all AWS accounts ensure that Cloud Trail is enabled in all accounts and available AWS services Enable trails, encrypt CloudTrail event log files with an AWS KMS key, and monitor recorded activities with CloudWatch Logs
D) Use the Amazon CloudWatch Events near real-time capabilities to monitor system events patterns and trigger AWS Lambda functions to automatically revert non authorized changed in AWS resources Also, target Amazon SNS topics to enable notifications and improve the response time of incident responses
E) Use Cloud Trail integration with Amazon SNS to automatically notify unauthorized API activities Ensure that cloud Trail is enabled in all acounts and available AWS services Evaluate the usage of Lambda functions to automatically revert nonauthorized changes in AWS resources
A) Use AWS Config rules to periodically audit changes to AWS resources and monitor the compliance of the configuration Develop AWS Config custom rules using AWS Lambda to establish a test-driven development approach, and further automate the evaluation to configure changes against the required controls.
E) Use Cloud Trail integration with Amazon SNS to automatically notify unauthorized API activities Ensure that cloud Trail is enabled in all accounts and available AWS services Evaluate the usage of Lambda functions to automatically revert nonauthorized changes in AWS resources
Q63. A company has a large on-premises Apache Hadoop cluster with a 20 PB HDFS database. The cluster is growing every quarter by roughly 200 instances and 1 PB.
The company’s goals are to enable resiliency for its Hadoop Data, limit the impact of losing cluster nodes and significantly reduce costs.
The current cluster runs 24/7 and supports a variety of analysis workloads, including interactive queries and batch processing Which solution would meet these requirements with the LEAST expense and downtime ?
A) Use AWS snowmobile to migrate the existing cluster data to Amazon S3 Create a persistent Amazon EMR cluster initially sized to handle the interactive workload based on historical data from the on-premises cluster store the data on EMRES. Minimize costs using reserved instances for master and core nodes and spot instances for tasks nodes, and auto-scale task nodes based on Amazon CloudWatch metrics Create job-specific, optimized clusters for batch workloads that are similarly optimized
B) Use AWS Snowmobile to migrate the existing cluster data to Amazon S3. Create a persistent Amazon EMR cluster of a Similar Size and configuration to the current cluster store the data on EMRES Minimize costs by using reserved instances. As the workload grows each quarter, purchase additional Reserved instances and add to the cluster
C) Use AWS Snowball to migrate the existing cluster data to Amazon S3 create a persistent Amazon EMR cluster initially sized to handle the interactive workload based on historical data from on-premises cluster store the data on EMRFS minimize cost using reserved instances for master and core nodes and spot instances for the task nodes and auto-scale task nodes based on Amazon CloudWatch metrics create job-specific optimized cluster for batch workloads that are similarly optimized.
D)Use AWS direct connect to migrate the existing cluster data to Amazon S3 create a persistent Amazon EMR cluster initially sized to handle the interactive workload based on historical data from the on-premises cluster store the data on EMRES minimize costs using reserved instances for master and core nodes and Spot instances for task nodes, and auto-scale task nodes based on Amazon CloudWatch metrics. Create a job-specific optimized cluster for batch workloads that are similarly optimized.
A) Use AWS snowmobile to migrate the existing cluster data to Amazon S3 Create a persistent Amazon EMR cluster initially sized to handle the interactive workload based on historical data from the on premises cluster store the data on EMRES. Minimize costs using reserved instances for master and core nodes and spot instances for tasks nodes, and auto scale task nodes based on Amazon CloudWatch metrics Create job specific, optimized clusters for batch workloads that are similarly optimized
Q64. A company is running a large application on-premises. Its technology stack consists of Microsoft .Net for the webserver platform and Apache Cassandra for the database.
The Company wants to migrate this application to AWS to improve service reliability. The IT team also wants to reduce the time it spends on capacity management and maintenance of this infrastructure.
The development team is willing and available to make code changes to support the migration.
Which design is the LEAST complex to manage after the migration?
A) Migrate the web servers to Amazon EC2 instances in Auto Scaling group that is running .NET migrate the existing Cassandra database to Amazon Aurora with multiple read replicas and run both in a Multi-AZ mode
B) Migrate the web servers to an AWS Elastic Beanstalk environment that is running the .NET platform in running in a multi-AZ configuration
C) Migrate the web servers to an AWS Elastic Beanstalk environment that is running the .NET platform in a Multi-AZ Auto Scaling configuration migrate the existing Cassandra database to Amazon DynamoDB
D) Migrate the web servers to Amazon EC2 instances in an Auto Scaling group that is running .NET Migrate the existing Cassandra database to Amazon DynamoDB
C) Migrate the web servers to an AWS Elastic Beanstalk environment that is running the .NET platform in a Multi-AZ Auto Scaling configuration migrate the existing Cassandra database to Amazon DynamoDB
Q65. A company has a requirement that only allows specially hardened AMI to be launched into public subnets in a VPC and for the AMIS to be associated with a specific security group. Allowing non-compliant instances to launch into the public subnet could present a significant security risk if they are allowed to operate.
A mapping of approved AMIs to subnets to security groups exists in an Amazon DynamoDB table in the same AWS account. The company created an AWS Lambda function that when invoked will terminate a given Amazon EC2 instance if the combination of AMI subnet and security group are not approved in the DynamoDB table What should the Solutions Architect do to MOST quickly mitigate the risk of compliance deviations?
A) Create an Amazon CloudWatch Events rule that matches each time an EC2 instance is launched using one of the allowed AMIS, and associate it with the Lambda function as the target
B) For the Amazon S3 bucket receiving the AWS Cloud Trail logs, create an S3 event notification configuration with a filter to match when logs contain the oc2 Run instances action, and associate it with the Lambda function as the target
C) Enable AWS Cloud Trail and configure it to stream to an Amazon ClourWatch Logs group create a metric filter in CloudWatch to match when the ec2 Run instance action occurs, and the trigger the Lambda function when the metric is greater than 0
D) Create an Amazon CloudWatch Events rule that matches each time an EC2 instance is launched and associate it with the Lambda function as the target.
D) Create an Amazon CloudWatch Events rule that matches each time an EC2 instance is launched and associate it with the Lambda function as the target.
Q66. A Solutions Architect must migrate an existing on-premises web application with 70 TB of static files supporting a public open-data initiative. The Architect wants to upgrade to the latest version of the host operating system as part of the migration effort Which is the FASTEST and MOST cost-effective way to perform the migration?
A) Run a physical-to-virtual conversion on the application server Transfer the server image over the internet and transfer the static data to Amazon S3
B) Run a physical-to-virtual conversion on the application server. Transfer the server image over AWS Direct Connect, and transfer the static data to Amazon S3
C) Re-platform the server to Amazon EC2, and use AWS Snowball to transfer the static data to Amazon S3
D) Re-platform the server by using the AWS Server Migration Service to move the code and data to a new Amazon EC2 instance
C) Re-platform the server to Amazon EC2, and use AWS Snowball to transfer the static data to Amazon S3
Q67 A company has an application that generates a weather forecast that is updated every 15 minutes with an output resolution of 1 billion unique positions, each approximately 20 bytes in size (20 Gigabytes per forecast) Every hour, the forecast data is globally accessed approximately 5 million times (1,400 requests per second), and up to 10 times more during weather events. The forecast data is overwritten every update.
Users of the current weather forecast application expect responses to queries to be returned in less than two seconds for each request. Which design meets the required request rate and response time?
A) Store forecast locations in an Amazon ES cluster Use an Amazon CloudFront distribution targeting an Amazon API Gateway endpoint with AWS Lambda functions responding to queries as the origin Enable API caching on the API Gateway stage with a cache-control timeout set for 15 minutes.
B) Store forecast locations in an Amazon EFS volume Create an Amazon CloudFront distribution that targets an Elastic Load Balancing group of an Auto Scaling fleet of Amazon EC2 instances that have mounted the Amazon EFS volume. Set the cache-control timeout for 15 minutes in the CloudFront distribution
C) Store forecast locations in an Amazon ES cluster Use an Amazon CloudFront distribution targeting an API Gateway endpoint with AWS Lambda functions responding to queries as the origin Create an Amazon Lambda (Edge function that caches the data locally at edge locations for 15 minutes
D) Store forecast locations in Amazon S3 as individual objects Create an Amazon CloudFront distribution targeting an Elastic Load Balancing group of an Auto Scaling fleet of EC2 instances, querying the origin of the S3 object Set the cache-control timeout for 15 minutes in the CloudFront distribution
A) Store forecast locations in an Amazon ES cluster Use an Amazon CloudFront distribution targeting an Amazon API Gateway endpoint with AWS Lambda functions responding to queries as the origin Enable API caching on the API Gateway stage with a cache-control timeout set for 15 minutes.
Q68. A company is using AWS CloudFormation to deploy its infrastructure. The company is concerned that, if a production CloudFormation stack is deleted, important data stored in Amazon RDS databases or Amazon EBS volumes might also be deleted. How can the company prevent users from accidentally deleting data in this way?
A) Modify the CloudFormation templates to add a Deletion policy attribute to RDS and EBS resources
B) Configure a stack policy that disallows the deletion of RDS and EBS resources
C) Modify IAM policies to deny deleting RDS and EBS resources that are tagged with an “aws:cloudformation: stack-name” tag
D) Use AWS Config rules to prevent deleting ROS and EBS resources
A) Modify the CloudFormation templates to add a Deletion policy attribute to RDS and EBS resources
Q69. A company would like to implement a serverless application by using Amazon API Gateway, AWS Lambda, and Amazon DynamoDB They deployed a proof of concept and stated that the average response time is greater than what their upstream services can accept Amazon CloudWatch metrics did not indicate any issues with DynamoDB but showed that some Lambda functions were hitting their timeout
Which of the following actions should the Solutions Architect consider improving performance? (Select TWO)
A) Configure the AWS Lambda function Io reuse containers to avoid unnecessary startup time
B) Increase the amount of memory and adjust the timeout on the Lambda function Complete performance testing to identify the ideal memory and timeout configuration for the Lambda function
C) Increase the amount of CPU, and adjust the timeout on the Lambda function Complete performance testing to identify the ideal CPU and timeout configuration for the Lambda function
D) Create an Amazon ElastiCache cluster running Memcached and configure the Lambda function for VPC integration with access to the Amazon ElastiCache cluster
E) Enable API cache on the appropriate stage in Amazon API Gateway and override the TIL for individual methods that require a lower TTL than the entire stage
B) Increase the amount of memory and adjust the timeout on the Lambda function Complete performance testing to identify the ideal memory and timeout configuration for the Lambda function
E) Enable API cache on the appropriate stage in Amazon API Gateway and override the TIL for individual methods that require a lower TTL than the entire stage
Q70. A company is using AWS to run an internet-facing production application written in Node.js, The Development team is responsible for pushing new versions of their software directly to production The application software is updated multiple times a day. The team needs guidance from a Solutions Architect to help them deploy the software to the production fleet quickly and with the least amount of disruption to the service Which option meets these requirements?
A) Prepackage the software into an AMI and then use Auto Scaling to deploy the production fleet. For software changes, update the AMI and allow Auto Scaling to automatically push the new AMI to production
B) Use AWS CodeDeploy to push the prepackaged AMI to production. For software changes, reconfigure CodeDeploy with new AMI identification to push the new AMI Io the production fleet
C) Use AWS Elastic Beanstalk to host the production application For software changes, upload the new application version to Elastic Beanstalk to push this to the production fleet using a blue/green deployment method
D) Deploy the base AMI through Auto Scaling and bootstrap the software using user data For software changes, SSH to each of the instances and replace the software with the new version
C) Use AWS Elastic Beanstalk to host the production application For software changes, upload the new application version to Elastic Beanstalk to push this to the production fleet using a blue/green deployment method
Q71. A company used Amazon EC2 instances to deploy a web fleet to host a blog site. The EC2 instances are behind an Application Load Balancer (ALB) and are configured in an Auto Scaling group. The web application stores all blog content on an Amazon EFS volume. The company recently added a feature for bloggers to add a video to their posts, attracting 10 times the previous user traffic at peak times of the day.
Users report buffering and timeout issues while attempting to reach the site or watch videos. Which is the MOST cost-efficient and scalable deployment that will resolve the issues for users?
A) Reconfigure Amazon EFS to enable maximum I/O
B) Update the blog site to use instance store volumes for storage Copy the site contents to the volumes at launch and to Amazon S3 at shutdown
C) Configure an Amazon CloudFront distribution Point the distribution to an S3 bucket and migrate the videos from EFS to Amazon S3
D) Set up an Amazon CloudFront distribution for all site contents and point the distribution at the ALB
C) Configure an Amazon CloudFront distribution Point the distribution to an S3 bucket and migrate the videos from EFS to Amazon S3
Q72. A company runs its containerized batch jobs on Amazon ECS. The jobs are scheduled by submitting a container image, a task definition, and the relevant data to an Amazon S3 bucket Container images may be unique per job Running the jobs as quickly as possible is of utmost importance, so submitting job artifacts to the S3 bucket triggers the job to run immediately Sometimes there may be no jobs running at all
However, jobs of any size can be submitted with no prior warning to the IT Opera include CPU and memory resource requirements What solution will allow the batch jobs to complete as quickly as possible after being scheduled?
A) Schedule the jobs on an Amazon ECS cluster using the Amazon EC2 launch type Use Service Auto Scaling to increase or decrease the number of running tasks to suit the number of running jobs
B) Schedule the jobs directly on EC2 instances Use Reserved instances for the baseline minimum load and use On-Demand Instances in an Auto Scaling group to scale up the platform based on demand
C) Schedule the jobs on an Amazon ECS cluster using the Fargate launch type Use Service Auto Scaling to increase or decrease the number of running tasks to suit the number of running jobs.
D) Schedule the jobs on an Amazon ECS cluster using the Fargate launch typo Use Spot Instances in an Auto Scaling group to scale the platform based on demand Use Service Auto Scaling to increase or decrease the number of running tasks to suit the number of running jobs
A) Schedule the jobs on an Amazon ECS cluster using the Amazon EC2 launch type Use Service Auto Scaling to increase or decrease the number of running tasks to suit the number of running jobs
Q73. A company receives clickstream data files to Amazon S3 every five minutes A Python script runs as a cron job once a day on an Amazon EC2 instance to process each file and load it into a database hosted on Amazon RDS. The cron job takes 15 to 30 minutes to process 24 hours of data. The data consumers ask for the data be available as soon as possible Which solution would accomplish the desired outcome?
A) Increase the size of the instance to speed up processing and update the schedule to run once an hour
B) Convert the cron job to an AWS Lambda function and trigger this new function using a cron job on an EC2 instance
C) Convert the cron job to an AWS Lambda function and schedule it to run once an hour using Amazon CloudWatch Events
D) Create an AWS Lambda function that runs when a file is delivered to Amazon S3 using S3 event notifications
D) Create an AWS Lambda function that runs when a file is delivered to Amazon S3 using S3 event notifications