Certification : Get AWS Certified Solutions Architect in 1 Day (2018 Update) Set 14

Which feature in AWS allows 2 VPCís to talk to each other? Choose one answer from the options given below


Options are :

  • VPC Connection
  • VPN Connection
  • Direct Connect
  • VPC Peering (Correct)

Answer : VPC Peering

You are designing an architecture on AWS with disaster recovery in mind. Currently the architecture consists of an ELB and underlying EC2 Instances in a primary and secondary region. How can you establish a switch over in case of failure in the primary region?


Options are :

  • Use Route53 Health checks and then do a failover (Correct)
  • Use Cloudwatch metrics to detect the failure and then do a failover
  • Use scripts to scan Cloudwatch logs to detect the failure and then do a failover
  • Use Cloudtrail to detect the failure and then do a failover

Answer : Use Route53 Health checks and then do a failover

Is it true that EBS can always tolerate an Availability Zone failure?


Options are :

  • No, all EBS volume is stored in a single Availability Zone (Correct)
  • Yes, EBS volume has multiple copies so it should be fine
  • Depends on how it is setup
  • Depends on the Region where EBS volume is initiated

Answer : No, all EBS volume is stored in a single Availability Zone

Which feature in AWS is commonly used and best solution to store session data for web based applications?


Options are :

  • MySQL Installed on two Amazon EC2 Instances in a single Availability Zone
  • Amazon RDS for MySQL with Multi-AZ
  • Amazon ElastiCache (Correct)
  • Amazon DynamoDB

Answer : Amazon ElastiCache

In an Autoscaling policy what best describes what the purpose of a scaling policy is. Choose an answer from the options below.


Options are :

  • A set of CloudWatch metric thresholds that dictate when to add or remove instances from the Auto Scaling group. (Correct)
  • The IAM access policy granted to an Auto Scaling group.
  • The percentage at which an ELB will send traffic to an instance before it sends traffic to a different instance.
  • An SNS notification alert.

Answer : A set of CloudWatch metric thresholds that dictate when to add or remove instances from the Auto Scaling group.

In the event of an unplanned outage of your primary DB, AWS RDS automatically switches over to the secondary. In such a case which record in Route 53 is changed? Select one answer from the options given below


Options are :

  • DNAME
  • CNAME (Correct)
  • TXT
  • MX

Answer : CNAME

Which services allow the customer to retain full administrative privileges of the underlying EC2 instances?


Options are :

  • Amazon Relational Database Service
  • Amazon Elastic Map Reduce (Correct)
  • Amazon ElastiCache
  • Amazon DynamoDB

Answer : Amazon Elastic Map Reduce

If you cannot connect to your Ec2 instance via remote desktop, and you have already verified the instance has a public IP and the Internet gateway and route tables are in place, what should you check next? Choose one answer from the options given below


Options are :

  • Adjust the security group to allow traffic from port 22
  • Adjust the security group to allow traffic from port 3389 (Correct)
  • Restart the instance since there might be some issue with the instance
  • Create a new instance since there might be some issue with the instance

Answer : Adjust the security group to allow traffic from port 3389

As a solutions architect, it is your job to design for high availability and fault tolerance. Company-A is utilizing Amazon S3 to store large amounts of file data. What steps would you take to ensure that if an availability zone was lost due to a natural disaster your files would still be in place and accessible


Options are :

  • Copy the S3 bucket to an EBS optimized backed EC2 instance
  • Amazon S3 is highly available and fault tolerant by design and requires no additional configuration (Correct)
  • Enable AWS Storage Gateway using gateway-stored setup
  • None

Answer : Amazon S3 is highly available and fault tolerant by design and requires no additional configuration

You have create an AWS Lambda function that will write data to a DynamoDB table. Which of the following must be in place to ensure that the Lambda function can interact with the DynamoDB table.


Options are :

  • Ensure an IAM Role is attached to the Lambda function which has the required DynamoDB privileges (Correct)
  • Ensure an IAM User is attached to the Lambda function which has the required DynamoDB privileges
  • Ensure the Access keys are embedded in the AWS Lambda function
  • Ensure the IAM user password is embedded in the AWS Lambda function

Answer : Ensure an IAM Role is attached to the Lambda function which has the required DynamoDB privileges

For DynamoDB, what are the scenario’s in which you would want to enable Cross-region replication?


Options are :

  • Live data migration
  • Easier Traffic management
  • Disaster Recovery
  • All (Correct)

Answer : All

Currently a company makes user of EBS snapshots to back up their EBS Volumes. As part of the business continuity requirement, these snapshots need to be made available in another region. How can this be achieved?


Options are :

  • Directly create the snapshot in the other region
  • Create a snapshot and then create it in the new region (Correct)
  • Copy the snapshot to an S3 bucket and then enable cross region replication for the bucket.
  • Copy the EBS Snapshot to an EC2 instance in another region

Answer : Create a snapshot and then create it in the new region

A customer has enabled website hosting on a bucket named "devtoolslogging" in the Singapore region. What website URL is assigned to your bucket?


Options are :

  • devtoolslogging.s3-website-ap-southeast-1.amazonaws.com (Correct)
  • s3-website.devtoolslogging.amazonaws.com
  • s3-website.devtoolslogging.website-ap-southeast-1.amazonaws.com
  • devtoolslogging.ap-southeast-1.amazonaws.com

Answer : devtoolslogging.s3-website-ap-southeast-1.amazonaws.com

A t2.medium EC2 instance type must be launched with what type of Amazon Machine Image (AMI)?


Options are :

  • An Instance store Hardware Virtual Machine AMI
  • An Instance store Paravirtual AMI
  • An Amazon EBS-backed Hardware Virtual Machine AMI (Correct)
  • An Amazon EBS-backed Paravirtual AMI

Answer : An Amazon EBS-backed Hardware Virtual Machine AMI

You are planning on hosting an application on Ec2 Instances that will be used to process logs. This application is not that critical and can resume even after an interruption. Which of the following steps can help provide a COST effective solution.


Options are :

  • Ensure to use Reserved Instances for the underlying EC2 Instances
  • Ensure to use Provisioned IOPS for the underlying EBS volumes
  • Ensure to use Spot Instances for the underlying EC2 Instances (Correct)
  • Ensure to use S3 as the underlying data layer

Answer : Ensure to use Spot Instances for the underlying EC2 Instances

A company AWS account consist of approximately 300 IAM users. Now there is a mandate that an access change is required for 100 IAM users to have unlimited privileges to S3.As a system administrator, how can you implement this effectively so that there is no need to apply the policy at the individual user level?


Options are :

  • Create a new role and add each user to the IAM role
  • Use the IAM groups and add users, based upon their role, to different groups and apply the policy to group (Correct)
  • Create a policy and apply it to multiple users using a JSON script
  • Create an S3 bucket policy with unlimited access which includes each user's AWS account ID

Answer : Use the IAM groups and add users, based upon their role, to different groups and apply the policy to group

An application sends images to S3. The metadata for these images needs to be saved in persistent storage. The metadata needs to be indexed. Which of the following can be used for the underlying storage.


Options are :

  • AWS Aurora
  • AWS S3
  • AWS DynamoDB (Correct)
  • AWS RDS

Answer : AWS DynamoDB

What is the difference between an availability zone and an edge location? Choose the correct option


Options are :

  • An availability zone is a grouping of AWS resources in a specific region; an edge location is a specific resource within the AWS region
  • An availability zone is an isolated location within an AWS region, whereas an edge location will deliver cached content to the closest location to reduce latency (Correct)
  • Edge locations are used as control stations for AWS resources
  • None

Answer : An availability zone is an isolated location within an AWS region, whereas an edge location will deliver cached content to the closest location to reduce latency

A company has assigned two web serves instances to an Elastic Load Balancer. However, the instances and the ELB are not reachable via URL to the elastic load balancer serving the web app data from the EC2 instances. How might you resolve the issue so that your instances are serving the web app data to the public Internet? Choose the correct answer from the options given below


Options are :

  • Attach an Internet gateway to the VPC and route it to the subnet (Correct)
  • Add an elastic IP address to the instance
  • Use Amazon Elastic Load Balancer to serve requests to your instances located in the internal subnet
  • None

Answer : Attach an Internet gateway to the VPC and route it to the subnet

A Company provides an online service that utilizes SQS to decouple system components for scalability. The SQS consumer's EC2 instances poll the queue as often as possible to keep end-to-end throughput as high as possible. However, it is noticed that polling in tight loops is burning CPU cycles and increasing costs with empty responses. What can be done to reduce the number of empty responses? Choose the correct option.


Options are :

  • Scale the component making the request using Auto Scaling based off the number of messages in the queue
  • Enable long polling by setting the ReceiveMessageWaitTimeSeconds to a number > 0 (Correct)
  • Enable short polling on the SQS queue by setting the ReceiveMessageWaitTimeSeconds to a number > 0
  • Enable short polling on the SQS message by setting the ReceiveMessageWaitTimeSeconds to a number = 0

Answer : Enable long polling by setting the ReceiveMessageWaitTimeSeconds to a number > 0

You need to host a subscription service in AWS. Users can subscribe to this service and then get notifications on new updates to the service. Which of the following service can be used to fulfil this requirement


Options are :

  • Use the SQS service to send the notification
  • Host an EC2 Instance and use the Rabbit-MQ service to send the notification
  • Use the SNS service to send the notification (Correct)
  • Virtual Private Cloud (VPC) requires EBS backed instances.

Answer : Use the SNS service to send the notification

A company is generating large datasets with millions of rows that must be summarized by column. Existing business intelligence tools will be used to build daily reports. Which storage service meets the requirements?


Options are :

  • Amazon Redshift (Correct)
  • Amazon RDS
  • ElastiCache
  • DynamoDB

Answer : Amazon Redshift

A company is planning to run a number of Admin related scripts using the AWS Lambda service. There is a need to understand if there are any errors encountered when the script run. How can this be accomplished in the most effective manner.


Options are :

  • Use Cloudwatch metrics and logs to watch for errors (Correct)
  • Use Cloudtrail to monitor for errors
  • Use the AWS Config service to monitor for errors
  • Use the AWS Inspector service to monitor for errors

Answer : Use Cloudwatch metrics and logs to watch for errors

What is the maximum execution time for a Lambda function?


Options are :

  • 3 seconds
  • 300 seconds (Correct)
  • 24 hours
  • No limit

Answer : 300 seconds

What can be used to monitor your EC2 instances and warn the Operational Department in case there are any issues?


Options are :

  • AWS Cloudtrail
  • AWS Cloudwatch (Correct)
  • Configure scheduled jobs on the EC2 instance to notify the Ops department in case of any CPU utilization hikes.
  • AWS SQS

Answer : AWS Cloudwatch

A company has a requirement for having a file system which can be used across a set of instances. Which of the following storage options would be ideal for this requirement


Options are :

  • AWS S3
  • AWS EBS Volumes
  • AWS EFS (Correct)
  • AWS EBS snapshots

Answer : AWS EFS

Your company has an application hosted in AWS which makes use of DynamoDB. There is a requirement from the IT security department to ensure that all source IP addresses which make calls to the DynamoDB tables are recorded. Which of the following services can be used to ensure this requirement is fulfilled.


Options are :

  • AWS Code Commit
  • AWS Code Pipeline
  • AWS CloudTrail (Correct)
  • AWS Cloudwatch

Answer : AWS CloudTrail

What action is required to establish an VPC VPN connection between an onpremise data center and an VPC virtual private gateway?


Options are :

  • Assign a static internet-routable IP Address to an Amazon VPC customer gateway (Correct)
  • Modify the main route table to allow traffic to a network address translation instance.
  • Use a dedicated network address translation instance in the public subnet
  • Establish a dedicated networking connection using Direct Connect

Answer : Assign a static internet-routable IP Address to an Amazon VPC customer gateway

An EC2 instance retrieves a message from an SQS queue, begins processing the message, then crashes. What happens to the message? Choose the correct answer from the options below:


Options are :

  • When the message visibility timeout expires, the message becomes available for processing by other EC2 instances (Correct)
  • It will remain in the queue and still assigned to same EC2 instances when instances become online within visibility timeout.
  • The message is deleted and becomes duplicated when the EC2 instance comes online.

Answer : When the message visibility timeout expires, the message becomes available for processing by other EC2 instances

You have the following architecture deployed in AWS a) A set of EC2 Instances which sit behind an ELB b) A database hosted in AWS RDS Off late the performance on the database has been slacking due to the high number of read requests. Which of the following can be added to the architecture to alleviate the performance issue.


Options are :

  • Enable Multi-AZ to add a secondary read-only DB in another AZ
  • Use Elastic Cache in front of the database (Correct)
  • Use AWS Cloudfront in front of the database
  • Use DynamoDB to offload all the reads. Populate the common read items in a separate table.

Answer : Use Elastic Cache in front of the database