Professional Documents
Culture Documents
11.other Mix PDF
11.other Mix PDF
Your company is planning on setting up a web-based application onto AWS. This would be a content-based
system wherein you have users across the world who would want to access the content. You have to ensure
that users across the world get a seamless user experience when using the web application. Which of the
below needs to be part of the architecture for this application
A. Amazon SES
B. Amazon Cloudtrail
C. Amazon CloudFront
D. Amazon S3
Explanation :
Answer – C
The AWS Documentation mentions the following
Amazon CloudFront is a web service that speeds up distribution of your static and dynamic web content, such as .html, .css, .js, and
image files, to your users. CloudFront delivers your content through a worldwide network of data centers called edge locations. When
a user requests content that you're serving with CloudFront, the user is routed to the edge location that provides the lowest latency
(time delay), so that content is delivered with the best possible performance.
Option A is invalid since this is an email service
Option B is invalid since this is an API monitoring service
Option D is invalid since this is an object storage service
For more information on Amazon Cloudfront, please visit the below URL
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Introduction.html
QUESTION 2 UNATTEMPTED
Your company is planning on setting up a web based application onto AWS. The application will be connected
to an AWS RDS instance. You need to ensure that performance of the database layer is up to the mark and if
possible to ensure that recently queries results are delivered in a faster manner. Which of the following would
be part of the architecture?
Explanation :
Answer – C
The AWS Documentation mentions the following
Amazon ElastiCache offers fully managed Redis and Memcached. Seamlessly deploy, operate, and scale popular open source
compatible in-memory data stores. Build data-intensive apps or improve the performance of your existing apps by retrieving data from
high throughput and low latency in-memory data stores. Amazon ElastiCache is a popular choice for Gaming, Ad-Tech, Financial
Services, Healthcare, and IoT apps
Option A is invalid since this would not help with the caching of data
Option B is invalid since this is used for fault tolerance
Option D is invalid since this is fully managed NoSQL database
For more information on AWS ElasticCache, please visit the below URL
https://aws.amazon.com/elasticache/
QUESTION 3 UNATTEMPTED
Your company is planning on setting up a web-based application onto AWS. The IT management has given
clear directions on ensuring that the application follows a serverless architecture in order to reduce
infrastructure costs. Which of the following services could be used in this regard. Choose 3 answers from the
options given below
Explanation :
Answer - A,B and C
The AWS Documentation mentions the following
Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure
APIs at any scale. With a few clicks in the AWS Management Console, you can create an API that acts as a “front door” for
applications to access data, business logic, or functionality from your back-end services, such as workloads running on Amazon
Elastic Compute Cloud (Amazon EC2), code running on AWS Lambda, or any web application.
AWS Lambda lets you run code without provisioning or managing servers. You pay only for the compute time you consume - there is
no charge when your code is not running.
Amazon DynamoDB is a fully managed NoSQL database service that provides fast and predictable performance with seamless
scalability. DynamoDB lets you offload the administrative burdens of operating and scaling a distributed database, so that you don't
have to worry about hardware provisioning, setup and configuration, replication, software patching, or cluster scaling
For more information on API gateway, Lambda and DynamoDB, please visit the below URL
https://aws.amazon.com/api-gateway/
QUESTION 4 UNATTEMPTED
Your company is planning on setting up a hybrid connection between their on-premises infrastructure and an
AWS VPC via AWS VPN managed connections. As an architect which of the following need to be in place
for the connection to be established. Choose 2 answers from the options given below
A. A hardware compatible VPN device
B. A Virtual private gateway
C. An AWS Direct connect device
D. Optical fibre cables
Explanation :
Answer - A and B
When defining a VPN connection between the on-premises network and the VPC, you need to have a customer gateway defined.
Since this is accessed over the internet, it needs to have a static internet-routable IP Address.
All other options are invalid since this is only required for an AWS Direct connect connection.
For more information on AWS VPN connections, please visit the below URL
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_VPN.html
QUESTION 5 UNATTEMPTED
Your company currently has setup their data store on AWS DynamoDB. One of your main revenue generating
applications uses the tables in this service. Your application is now expanding to 2 different other locations
and you want to ensure that the latency for data retrieval is the least from the new regions. Which of the
following can help accomplish this?
Explanation :
Answer - D
The AWS Documentation mentions the following
To illustrate one use case for a global table, suppose that you have a large customer base spread across three geographic areas—the US
east coast, the US west coast, and western Europe. Customers would need to update their profile information while using your
application. To address these requirements, you could create three identical DynamoDB tables named CustomerProfiles, in three
different AWS regions. These three tables would be entirely separate from each other, and changes to the data in one table would not
be reflected in the other tables. Without a managed replication solution, you could write code to replicate data changes among these
tables; however, this would be a time-consuming and labor-intensive effort.
Option A is incorrect since cloudfront should ideally be used in front of web distributions
Option B is incorrect since this is not an option for DynamoDB
Option C is incorrect since would not be affective for multiple regions
For more information on AWS DynamoDB global tables, please visit the below URL
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GlobalTables.html
QUESTION 6 UNATTEMPTED
A company is planning on moving their virtual servers from their on-premises infrastructure to the AWS
Cloud. They need to migrate their existing VM's to the cloud. Which of the following could help them in the
migration process?
A. AWS VM Import
B. AWS S3
C. AWS SQS
D. AWS EC2
Explanation :
Answer – A
The AWS Documentation mentions the following
VM Import/Export enables you to easily import virtual machine images from your existing environment to Amazon EC2 instances and
export them back to your on-premises environment. This offering allows you to leverage your existing investments in the virtual
machines that you have built to meet your IT security, configuration management, and compliance requirements by bringing those
virtual machines into Amazon EC2 as ready-to-use instances. You can also export imported instances back to your on-premises
virtualization infrastructure, allowing you to deploy workloads across your IT infrastructure.
Option B is incorrect since this is an object storage service
Option C is incorrect since this is a queuing service
Option D is incorrect since this would be the virtual server on the cloud but would not assist in the actual migration of the server
For more information on AWS VM Import, please visit the below URL
https://aws.amazon.com/ec2/vm-import/
A company is planning on moving their applications to the AWS Cloud. They have some large SQL data sets
that need to be hosted in a data store on the cloud. The data store needs to have features available for disaster
recovery as well. Which of the following service should be considered for this requirement.
A. Amazon DynamoDB
B. Amazon Redshift
C. Amazon Kinesis
D. Amazon Simple Queue Service
Explanation :
Answer – B
The AWS Documentation mentions the following
Amazon Redshift is a fully managed, petabyte-scale data warehouse service in the cloud. You can start with just a few hundred
gigabytes of data and scale to a petabyte or more. This enables you to use your data to acquire new insights for your business and
customers.
Option A is incorrect since this a NoSQL data store
Option C is incorrect since this is used for data streaming.
Option D is incorrect since this is used as a messaging service
For more information on AWS Redshift, please visit the below URL
https://docs.aws.amazon.com/redshift/latest/mgmt/welcome.html
QUESTION 8 UNATTEMPTED
Your company has a set of 100 servers hosted on the AWS Cloud. They need to stream the Logs from the
Instances for analysis purposes. This is being done from a security compliance perspective. Programs will
then run to analyse the data for any sort of abnormal behaviour. Which of the following would be used to
stream the log data?
A. Cloudfront
B. SQS
C. Kinesis
D. SES
Explanation :
Answer – C
The AWS Documentation mentions the following
Amazon Kinesis Data Streams enables you to build custom applications that process or analyze streaming data for specialized needs.
You can continuously add various types of data such as clickstreams, application logs, and social media to an Amazon Kinesis data
stream from hundreds of thousands of sources. Within seconds, the data will be available for your Amazon Kinesis Applications to
read and process from the stream.
Option A is incorrect since this a content distribution service
Option B is incorrect since this is used as a messaging service
Option D is incorrect since this is an email service
For more information on AWS Kinesis, please visit the below URL
https://aws.amazon.com/kinesis/data-streams/faqs/
QUESTION 9 UNATTEMPTED
You have been hired as an AWS Architect for a company. There is a requirement to host an application using
EC2 Instances. The Infrastructure needs to scale on demand and also be fault tolerant. Which of the following
would you include in the design? Choose 2 answers from the options below
A. AWS Autoscaling
B. AWS ECS
C. AWS Elastic Load Balancer
D. AWS Cloudwatch
Explanation :
Answer - A and C
The AWS Documentation mentions the following
You can automatically increase the size of your Auto Scaling group when demand goes up and decrease it when demand goes down.
As the Auto Scaling group adds and removes EC2 instances, you must ensure that the traffic for your application is distributed across
all of your EC2 instances. The Elastic Load Balancing service automatically routes incoming web traffic across such a dynamically
changing number of EC2 instances.
Option B is incorrect since this is used when you need a docker orchestration service
Option D is incorrect since this is a monitoring service
For more information on AWS Autoscaling and ELB, please visit the below URL
https://docs.aws.amazon.com/autoscaling/ec2/userguide/autoscaling-load-balancer.html
QUESTION 10 UNATTEMPTED
Your company has setup EC2 Instances in a VPC for their application. They now have a concern that not all of
the EC2 instances are being utilized. Which of the below mentioned services can help you find underutilized
resources in AWS? Choose 2 answers from the options given below
A. AWS Cloudwatch
B. SNS
C. AWS Trusted Advisor
D. Cloudtrail
Explanation :
Answer - A and C
The AWS Documentation mentions the following
"An online resource to help you reduce cost, increase performance,and improve security by optimizing your AWS environment,Trust
Advisor provides real time guidance to help you provison your resources following AWS best practices"
Amazon CloudWatch is a monitoring and management service built for developers, system operators, site reliability engineers (SRE),
and IT managers. CloudWatch provides you with data and actionable insights to monitor your applications, understand and respond to
system-wide performance changes, optimize resource utilization, and get a unified view of operational health.
Option B is incorrect since this is a notification service
Option D is incorrect since this is an API monitoring service
For more information on AWS Trusted Advisor and Cloudwatch, please visit the below URL
https://aws.amazon.com/premiumsupport/trustedadvisor/
https://aws.amazon.com/cloudwatch/
QUESTION 11 UNATTEMPTED
Your company has setup EC2 Instances in a VPC for their application. The IT Security department has
advised that all traffic be monitored to the EC2 Instances. Which of the following features can be used to
capture information for outgoing and incoming IP traffic from network interfaces in a VPC.
A. AWS Cloudwatch
B. AWS EC2
C. AWS SQS
D. AWS VPC Flow Logs
Explanation :
Answer – D
The AWS Documentation mentions the following
VPC Flow Logs is a feature that enables you to capture information about the IP traffic going to and from network interfaces
in your VPC. Flow log data can be published to Amazon CloudWatch Logs and Amazon S3. After you've created a flow log,
you can retrieve and view its data in the chosen destination.
Option A is incorrect since this is a monitoring service
Option B is incorrect since this is a compute service
Option C is incorrect since this is a messaging service
For more information on VPC flow logs, please visit the below URL
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html
QUESTION 12 UNATTEMPTED
Your company has setup EC2 Instances in a VPC for their application. The IT Security department needs to
understand what the security mechanisms are available to protect the Instances when it comes to traffic going
in and out of the instance. What are the two layers of security provided by AWS in the VPC? Choose 2
answers from the options given below
A. Security Groups
B. NACLs
C. DHCP Options
D. Route Tables
Explanation :
Answer - A and B
The AWS Documentation mentions the following
A security group acts as a virtual firewall for your instance to control inbound and outbound traffic. When you launch an instance in a
VPC, you can assign up to five security groups to the instance.
A network access control list (ACL) is an optional layer of security for your VPC that acts as a firewall for controlling traffic in and
out of one or more subnets. You might set up network ACLs with rules similar to your security groups in order to add an additional
layer of security to your VPC.
Option C is incorrect since this is used to decide on the DNS servers for the VPC
Option D is incorrect since this is used for routing traffic in the VPC
For more information on VPC security groups and NACL’s, please visit the below URL
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_SecurityGroups.html
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/VPC_ACLs.html
QUESTION 13 UNATTEMPTED
A company has recently chosen to use the AWS API Gateway service for managing their API's. Which of the
following services are automatically integrated with the API gateway service in the background to ensure
better response to calls made to the API Gateway?
A. AWS Cloudwatch
B. AWS Cloudfront
C. AWS Volume gateway
D. AWS Lambda
Explanation :
Answer – D
API Gateway is designed for web and mobile developers who want to provide secure, reliable access to back-end APIs for access from
mobile apps, web apps,etc.
The business logic behind the APIs can be provided by a publicly accessible endpoint that API Gateway proxies call, or it can be
entirely run as a Lambda function.
For example, an application can call an API in API Gateway to upload a user's annual income and expense data to Amazon S3 or
Amazon DynamoDB, process the data in AWS Lambda to compute tax owed, and file a tax return.
Option A is incorrect. Cloud Watch offers Cloud Monitoring services for the resources being used.
Option B is incorrect. AWS CloudFront is a web service that speeds up distribution of your static and dynamic web content, through a
worldwide network of edge locations where the contents are cached for 24 hours by default.
Option C is incorrect. AWS Storage Gateway service is used to store data in the AWS Cloud. It offers a scalable and cost effective
storage that maintains data security too.
For more information on the features of the API gateway , please refer to the below URL:
https://docs.aws.amazon.com/apigateway/latest/developerguide/welcome.html
QUESTION 14 UNATTEMPTED
A company has recently chosen to use the AWS API Gateway service for managing their API's. It needs to be
ensured that code hosted in other domains can access the API's behind the API gateway service. Which of the
below security features of the API gateway can be used to ensure that API's resources can receive requests
from a domain other than the API's own domain
A. API Stages
B. API Deployment
C. API CORS
D. API Access
Explanation :
Answer – C
The AWS Documentation mentions the following
When your API's resources receive requests from a domain other than the API's own domain, you must enable cross-origin resource
sharing (CORS) for selected methods on the resource. This amounts to having your API respond to the OPTIONS preflight request
with at least the following CORS-required response headers:
Access-Control-Allow-Methods
Access-Control-Allow-Headers
Access-Control-Allow-Origin
Option A and B are invalid because these are used to ensure users can call API’s.
Option D is invalid because there is no such thing as API Access.
For more information on enabling CORS, please refer to the below URL:
http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-cors.html
Your company is planning on developing and deploying an application onto AWS. The application will follow
a microservices based architecture which will involve the deployment of several docker containers. Which of
the following services is ideal for this scenario?
A. DynamoDB
B. Simple Queue Service
C. Elastic Container Service
D. CodeCommit
Explanation :
Answer - C
The AWS Documentation mentions the following
Amazon EC2 Container Service (Amazon ECS) is a highly scalable, fast, container management service that makes it easy to run,
stop, and manage Docker containers on a cluster of Amazon Elastic Compute Cloud (Amazon EC2) instances. Amazon ECS lets you
launch and stop container-based applications with simple API calls, allows you to get the state of your cluster from a centralized
service, and gives you access to many familiar Amazon EC2 features.
Option A is invalid because this is a fully managed NoSQL database
Option B is invalid because this is a messaging service
Option D is invalid because this is a code versioning service
For more information on Elastic Container service , please refer to the URL:
http://docs.aws.amazon.com/AmazonECS/latest/developerguide/Welcome.html
A company offers its customers short-lived, contests that require users to upload files in hopes of winning
prizes. These contests can last up to two weeks, with unknown uploads and the resulting file analysis can last
up to three months.
The company needs an economic, scalable object storage solution to hold its customers' files. The files will
accessed once and then deleted. The best solution for this company is:
A. Amazon Glacier
B. Elastic File System
C. Amazon S3 Standard
D. Amazon S3 Standard Infrequent Accessed
Explanation :
Answer:
D. S3 – IA for data that is accessed less frequently, but requires rapid access when needed
Incorrect:
A. Amazon Glacier is for data archiving and can be accessed within minutes
B. Elastic File System is file storage, not object storage as required
C. S3 standard is for frequently accessed data, and less economical than S3 - IA
Reference: https://aws.amazon.com/s3/storage- lasses/
https://aws.amazon.com/efs/when-to-choose-efs/
QUESTION 17 UNATTEMPTED
SPECIFY SECURE APPLICATIONS AND ARCHITECTURES
A company has been using AWS cloud services for six months and just finished a security review. Which
finding below is considered a best practice in the security pillar of the well-architected framework?
A. Using the root user to create all new user accounts, at any time
B. Monitoring and using alerts using CloudTrail and CloudWatch
C. Assigning Private IP address ranges to VPCs that do not overlap
D. Designing the system using elasticity to meet changes in demand
Explanation :
Answer:
B. Monitoring and alerting for key metrics and events is a best practice of the Security pillar
Incorrect:
A. For the root user, you should follow the best practice of only using this login to create another, initial set of IAM users and groups
for longer-term identity management operations
C. Non-overlapping Private IP addresses is in the Reliability pillar
D. Design using elasticity to meet demand is in the Performance Efficiency pillar (Design for Cloud
Operations)
Reference:
https://d1.awsstatic.com/whitepapers/architecture/AWS_Well-Architected_Framework.pdf
https://d1.awsstatic.com/whitepapers/architecture/AWS-Security-Pillar.pdf
A website is hosted on two EC2 instances that sit behind an Elastic Load Balancer. The response time of the
website has slowed dramatically, and customers are ordering less due to the wait time. Troubleshooting
showed one of the EC2 instances failed and left just one instance running. What is the best course of action to
prevent this from happening in the future?
A. Change the instance size to the maximum available to compensate for failure
B. Use CloudWatch to monitor the VPC Flow Logs for the VPC the instances are deployed in
C. Configure the ELB to perform health checks on the EC2 instances and implement auto-scaling
D. Replicate the existing configuration in several regions for failover
Explanation :
Answer:
Correct:
C. Using the elastic load balancer to perform health checks will determine whether or not to remove a non- or underperforming
instance and have the auto-scaling group launch a new instance.
Incorrect:
A. Increasing the instance size doesn’t prevent failure of one or both the instances, therefore the website can still become slow or
unavailable
B. Monitoring the VPC flow logs for the VPC will capture VPC traffic, not traffic for the EC2 instance. You would need to create a
flow log for a network interface.
D. Replicating the same two instance deployment may not prevent failure of instances and could still result in the website becoming
slow or unavailable.
Reference:
https://media.amazonwebservices.com/AWS_Building_Fault_Tolerant_Applications.pdf
https://docs.aws.amazon.com/AmazonVPC/latest/UserGuide/flow-logs.html#working-with-flow-logs
QUESTION 19 UNATTEMPTED
DESIGN COST-OPTIMIZED ARCHITECTURES
A small company started using EBS backed EC2 instances due to the cost improvements over running their
own servers. The company’s policy is to stop the development servers over weekend and restart them each
week. The first time the servers were brought back none of the developers were able to SSH into them. What
did the server most likely overlook?
A. The associated Elastic IP address has changed and the SSH configurations were not updated
B. The security group for a stopped instance needs to be reassigned after start
C. The public ip4 address has changed on server start and the SSH configurations were not updated
D. EBS backed EC2 instances cannot be stopped and were automatically terminated
Explanation :
Answer:
Correct:
C. The instance retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. AWS releases the public IPv4
address and assigns a new one when its restarted
Incorrect:
A. An EC2 instance retains its associated Elastic IP addresses.
B. Security groups do not need to be reassigned to instances that are restarted.
D. EBS backed instances are the only instance type that can be started and stopped.
Reference:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
You want to use AWS to host your own website with a unique domain name that uses the format
www.example.com. It needs to be deployed quickly and doesn’t require server-side scripting. What is your
best option?
A. Register a domain with Route53 and verify ahead of time that a unique S3 bucket name can be created
that matches the domain name.
B. Create an auto-scaling group of EC2 instances and manage the web hosting on these instances
C. Create one large EC2 instance to host the website and replicate it in every region
D. Create a Content Delivery Network (CDN) to deliver your images and files
Explanation :
Answer:
Correct:
A. S3 static webhosting is the quickest way to setup this website. Because bucket names are unique across all regions, its important to
know that your S3 bucket is available before purchasing a domain name.
Incorrect:
B. Hosting on EC2 is not necessary here as server-side scripting is not needed and S3 will scale automatically.
C. Hosting on EC2 is not necessary and this particular implementation can lead to different configurations on each server.
D. A CDN will improve the delivery time of your files and pages to the customer but is not a hosting solution itself.
Reference:
https://docs.aws.amazon.com/AmazonS3/latest/dev/WebsiteHosting.html
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/Welcome.html
https://docs.aws.amazon.com/AmazonS3/latest/dev/website-hosting-cloudfront-walkthrough.html