Practice Exam - 1 Flashcards
You have a corporate intranet web application that required 500GB of block storage at 1000 IOPS throughout the day apart from 40 minutes at night when you run a schedule batch process to generate reports during which you require 3000 IOPS. Which Amazon EBS volume will be cost effective?
- General Purpose SSD (gp2)
- Provisioned IOPS SSD (io1)
- Throughput Optimized HDD (st1)
- Cold HDD (sc1)
- General Purpose SSD (gp2)
- Provisioned IOPS SSD (io1)
- Throughput Optimized HDD (st1)
- Cold HDD (sc1)
Rama creates a S3 bucket ‘mywestwebsite’ in ‘us-west-1’ region. Which of these are correct url to access this bucket? Choose 3.
- https://amazonaws. s3.us-west-1.com/mywestwebsite
- https://s3.us-west-1.amazonaws.com/mywestwebsite
- https://s3.amazonaws.com/mywestwebsite
- https://mywestwebsite.s3.amazonaws.com
- https://mywestwebsite.s3.us-west-1.amazonaws.com
- https://amazonaws. s3.us-west-1.com/mywestwebsite
- https://s3.us-west-1.amazonaws.com/mywestwebsite
- https://s3.amazonaws.com/mywestwebsite
- https://mywestwebsite.s3.amazonaws.com
- https://mywestwebsite.s3.us-west-1.amazonaws.com
You have developed a web application and plan to deploy it in your VPC in us-west region. Your VPC has three subnets mapped to three availability zones: us-west-1a, us-west-1b, us-west-1c. Your application requires in normal scenario nine servers but can run on a minimum 66 percent capacity. How many web server instances should you deploy in each of three AZ so that you can meet the above availability requirements in a cost effective way?
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, four in us-west-1b, four in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
- Six in us-west-1a, six in us-west-1b, six in us-west-1c.
- Two in us-west-1a, two in us-west-1b, four in us-west-1c.
- Four in us-west-1a, four in us-west-1b, four in us-west-1c.
- Three in us-west-1a, three in us-west-1b, three in us-west-1c.
Your company is planning to use WordPress hosted on AWS for corporate website. You are planning to run your WordPress site using an auto scaling group of Amazon EC2 instances and database layer on Amazon RDS Aurora. Which Amazon service you should use to store shared, unstructured WordPress data like php files, config themes, plugin etc. This storage service should be accessible by multiple WordPress EC2 instances.
- Amazon S3
- Amazon RDS
- Amazon EFS
- Amazon EBS
- Amazon S3
- Amazon RDS
- Amazon EFS
- Amazon EBS
You have deployed a fleet of EC2 instances using an auto scaling group based on target tracking dynamic scaling. Recently you notice that scaling policy is launching, terminating and relaunching many instances in an hour. This has led to increased cost as you are getting billed for every instance which is getting launched for few seconds to few minutes. What should you do so that frequency of launching and termination of instances is optimized? Choose 2
- Scale out quickly but scale in slowly. Increase the duration of cooldown period.
- Scale out slowly and scale in quickly. Decrease the duration of cooldown period.
- Change the target tracking scaling metric
- Analyze and change the target tracking metric target value.
- Scale out quickly but scale in slowly. Increase the duration of cooldown period.
- Scale out slowly and scale in quickly. Decrease the duration of cooldown period.
- Change the target tracking scaling metric
- Analyze and change the target tracking metric target value.
Which AWS service you will use to direct your users to application based on their geographic location, application health, and weights that you can configure. You also want to use static IP addresses that are globally unique for your application so that there is no need to update clients as your application scales. Your application has Application Load Balancers.
- CloudFront
- Route53
- Application Load Balancer
- Global Accelerator
- CloudFront
- Route53
- Application Load Balancer
- Global Accelerator
You have purchased an a1.large Linux Standard Reserved Instance in us-west-1a. Which of the following ways you can modify the reservation? Choose 3.
- Change it into windows instance
- Change it in a1.xlarge
- Change the region to us-east and AZ to us-east-1a
- Change the AZ to us-west-1b
- Change it into two a1.medium instances.
- Change it into windows instance
- Change it in a1.xlarge
- Change the region to us-east and AZ to us-east-1a
- Change the AZ to us-west-1b
- Change it into two a1.medium instances.
Which of the following statements is incorrect as the suitable scenario for using ENI vs EN vs EFA?
- Use ENI when you need basic networking and want to create a separate management network at low cost.
- Use ENI when you need to accelerate High Performance Computing and machine learning application.
- Use EN (Enhanced Networking) when you need speeds between 10GBps and 100 GBps with high throughput.
- Use EFA when you need to accelerate High Performance Computing and machine learning application
- Use ENI when you need basic networking and want to create a separate management network at low cost.
- Use ENI when you need to accelerate High Performance Computing and machine learning application.
- Use EN (Enhanced Networking) when you need speeds between 10GBps and 100 GBps with high throughput.
- Use EFA when you need to accelerate High Performance Computing and machine learning application
You are migrating your on premise Windows-based custom build .Net applications to AWS cloud platform using Lift-and-Shift strategy. These applications require shared file storage provided by Windows-based file systems (NTFS) and that uses the SMB protocol. Which AWS services you will use? Choose 2.
- Lambda
- EFS
- EBS
- EC2
- FSx for Windows File Server
- Lambda
- EFS
- EBS
- EC2
- FSx for Windows File Server
You recently launched your website to your global users. After few hours you got to know that some of the static images you are distributing through Cloudfront needs to be changed as they are of older version. You know that default expiration of content served from Cloudfront edge server is 24 hours. What should you do so that new version of images are immediately reflected in user requests? Choose 2.
- Invalidate the file from edge caches.
- Validate the file from edge caches.
- Replace the files in the origin servers with new files having same name.
- Use file versioning to serve a different version of the file that has a different name.
- Invalidate the file from edge caches.
- Validate the file from edge caches.
- Replace the files in the origin servers with new files having same name.
- Use file versioning to serve a different version of the file that has a different name.
You have a web app that provides video transcoding services. The videos uploaded by the users are first stored in a S3 bucket where you have configured “An object created event” notification to a SQS queue. There are fleet of EC2 instances which picks up the videos from the queue and places it in another S3 bucket after transcoding the file. These consumer fleet of EC2 instance also has dynamic auto scaling policy based on custom metric ‘backlog per instance’. Which type of EC2 instances you will use which will be most cost effective given that you don’t have defined duration in which you have to complete the transcoding for an uploaded file?
- Reserved Instances
- On-demand Instances
- Saving plans Instances
- Spot Instances
- Reserved Instances
- On-demand Instances
- Saving plans Instances
- Spot Instances
Which Amazon EBS volume type you will use for Streaming workloads requiring consistent, fast throughput at a low price Big data or Data warehouses Log processing
- General Purpose SSD (gp2)
- Provisioned IOPS SSD (io1)
- Throughput Optimized HDD (st1)
- Cold HDD (sc1)
- General Purpose SSD (gp2)
- Provisioned IOPS SSD (io1)
- Throughput Optimized HDD (st1)
- Cold HDD (sc1)
You are using Amazon SQS in your ecommerce application to send order confirmation email asynchronously. You have created a program which polls the SQS queue frequently for new order message and then sends the email after fetching new order message from the queue. You observe that at times the program is getting empty response to the ReceiveMessage request. What should you do to eliminate empty responses to reduce cost?
- Create a delay queue.
- Increase the duration of visibility timeout value to higher number.
- Make wait time for the ReceiveMessage API action is greater than 0 to effect long polling.
- Make wait time for the ReceiveMessage API action is greater than 0 to effect short polling.
- Create a delay queue.
- Increase the duration of visibility timeout value to higher number.
- Make wait time for the ReceiveMessage API action is greater than 0 to effect long polling.
- Make wait time for the ReceiveMessage API action is greater than 0 to effect short polling.
You are developing a mobile application that will enable user to login using their userids in Facebook, Amazon and Google. In the cloud backend you will have Serverless architecture. For backend application data storage you want to use a RDBMS database. What is the minimum set of AWS services you will need for your mobile application and backend cloud application?
- Lambda, Cognito, API Gateway, DynamoDB
- Lambda, Cognito, API Gateway, Aurora Serverless
- Elastic Beanstalk, Cognito, API Gateway, Aurora
- Lambda, Fargate, API Gateway, DynamoDB
- Lambda, Cognito, API Gateway, DynamoDB
- Lambda, Cognito, API Gateway, Aurora Serverless
- Elastic Beanstalk, Cognito, API Gateway, Aurora
- Lambda, Fargate, API Gateway, DynamoDB
You are solution architect for a Stock Trading web application provider company. Financial regulation mandates them to keep the trading data for five years. From analysis of past internal and customer access behavior you are certain that data more than two year old is unlikely to be accessed, data less than two year old but more than six months old is infrequently accessed. Any data less than six months old will need to have faster access. Currently 150 TB data are stored in in-premise data storage which company is planning to move to AWS cloud storage to save cost. Which is the most cost effective option?
- Store the data on Amazon S3 with lifecycle policy that change the storage class from Standard to Standard-IA in six months, from Standard-IA to Glacier in 1.5 years and expiration in 3.5 years.
- Store the data on Amazon S3 with lifecycle policy that change the storage class from Standard to Standard-IA in six months, from Standard-IA to Glacier in two year and expiration in five years.
- Store all the data in Redshift data warehouse
- Store all the data in EBS general purpose volume attached to EC2 cheapest instance
- Store the data on Amazon S3 with lifecycle policy that change the storage class from Standard to Standard-IA in six months, from Standard-IA to Glacier in 1.5 years and expiration in 3.5 years.
- Store the data on Amazon S3 with lifecycle policy that change the storage class from Standard to Standard-IA in six months, from Standard-IA to Glacier in two year and expiration in five years.
- Store all the data in Redshift data warehouse
- Store all the data in EBS general purpose volume attached to EC2 cheapest instance
Which AWS service lets you monitor the HTTP and HTTPS requests that are forwarded to an Amazon API Gateway, Amazon CloudFront or an Application Load Balancer and gives you control over which traffic to allow or block to your web applications by defining customizable web security rules?
- AWS Shield
- AWS Cloudtrail
- AWS Cloudwatch
- AWS WAF
- AWS Shield
- AWS Cloudtrail
- AWS Cloudwatch
- AWS WAF
What are the two steps you will take regarding your instances if your application requirement is low network latency, high network throughput, majority of the network traffic is between the instances in the group and require highest packet-per-second network Performance? Choose 2.
- Use Cluster placement groups
- Use Spread Placement groups
- Choose an instance type that supports enhanced networking
- Choose an instance type that supports performance networking
- Use Cluster placement groups
- Use Spread Placement groups
- Choose an instance type that supports enhanced networking
- Choose an instance type that supports performance networking
You are the architect of a payment gateway provider and anticipating a fivefold increase in traffic in the upcoming shopping season. You are using RDS with MySQL as database engine. During load testing you notice a decrease in query performance with increase in traffic. Which of the following options you could do immediately to increase database performance?
- Instead of MySQL use Oracle or SQL Server.
- Instead of MySQL use DynamoDB.
- Use Multi-AZ deployment option to increase read and write performance.
- Use Read Replicas and redirect read queries to those replicas.
- Instead of MySQL use Oracle or SQL Server.
- Instead of MySQL use DynamoDB.
- Use Multi-AZ deployment option to increase read and write performance.
- Use Read Replicas and redirect read queries to those replicas.
John hosts his personal blog website as static website on S3. The bucket name he uses to store his website files is ‘west-bucket’ in ‘us-west-2’ region. The photos are uploaded under the main bucket folder using the S3 console. What is the url of john’s static website?
- A. http:// s3-us-west-2.amazonaws.com/ west-bucket
- B. http://west-bucket.s3-us-west-2.amazonaws.com/
- C. http://west-bucket.s3-website-us-west-2.amazonaws.com/
- D. http:// s3-website-us-west-2.amazonaws.com/west-bucket
- A. http:// s3-us-west-2.amazonaws.com/ west-bucket
- B. http://west-bucket.s3-us-west-2.amazonaws.com/
- C. http://west-bucket.s3-website-us-west-2.amazonaws.com/
- D. http:// s3-website-us-west-2.amazonaws.com/west-bucket
You are creating proof of concept web application and want to quickly deploy and manage applications in the AWS Cloud without having to learn about the infrastructure that runs those applications. You don’t want to handle the details of capacity provisioning, load balancing, scaling, and application health monitoring. Which AWS services you should leverage?
- EC2, ELB, Auto Scaling
- AWS Elastic Beanstalk
- Lambda, ELB, Auto Scaling
- EC2, S3, ELB, Auto Scaling
- Lambda, ELB, Auto Scaling, CloudFormation
- EC2, ELB, Auto Scaling
- AWS Elastic Beanstalk
- Lambda, ELB, Auto Scaling
- EC2, S3, ELB, Auto Scaling
- Lambda, ELB, Auto Scaling, CloudFormation
You are running the following On-Demand Instances in account A:
4 x m3.large Linux, default tenancy instances in Availability Zone us-east-1a
2 x m4.xlarge Amazon Linux, default tenancy instances in Availability Zone us-east-1b
1 x c4.xlarge Amazon Linux, default tenancy instances in Availability Zone us-east-1c
You purchase the following Reserved Instances in account A:
4 x m3.large Linux, default tenancy Reserved Instances in Availability Zone us-east-1a (capacity is reserved)
4 x m4.large Amazon Linux, default tenancy Reserved Instances in Region us-east-1
1 x c4.large Amazon Linux, default tenancy Reserved Instances in Region us-east-1
How the reserved instances are applied? Choose 3.
- reservation of the four m3.large zonal Reserved Instances is used by the four m3.large instances
- m4.large regional Reserved Instances billing discount applies to 100% usage of 2 x m4.xlarge Amazon Linux, default tenancy
- m4.large regional Reserved Instances billing discount applies to 50% usage 2 x m4.xlarge Amazon Linux, default tenancy
- c4.large regional Reserved Instance billing discount applies to 50% of c4.xlarge usage.
- c4.large regional Reserved Instance billing discount applies to 100% of c4.xlarge usage.
- reservation of the four m3.large zonal Reserved Instances is used by the four m3.large instances
- m4.large regional Reserved Instances billing discount applies to 100% usage of 2 x m4.xlarge Amazon Linux, default tenancy
- m4.large regional Reserved Instances billing discount applies to 50% usage 2 x m4.xlarge Amazon Linux, default tenancy
- c4.large regional Reserved Instance billing discount applies to 50% of c4.xlarge usage.
- c4.large regional Reserved Instance billing discount applies to 100% of c4.xlarge usage.
A law firm has an internal tablet/mobile application used by employees to download large word documents in their devices for offline review. These document’s size are in the range of 10-20 MB. The employees save the document in local device storage, edit it in offline mode and then use the feature in app to upload file to cloud storage. Most of the time users are expected to be in area of high mobile bandwidth of LTE or WIFI but some time they may be in area using a slow speed network (EDGE) or 3G with lots of fluctuations. The files are stored in AWS S3 buckets. What approach should the architect recommend for file upload in application?
- Use Single PUT operation to upload the files to S3
- Use Multipart upload to upload the files to S3
- Use Amazon S3 Transfer Acceleration to upload the files
- Use Single POST operation to upload the files to S3
- Use Single PUT operation to upload the files to S3
- Use Multipart upload to upload the files to S3
- Use Amazon S3 Transfer Acceleration to upload the files
- Use Single POST operation to upload the files to S3
Because of a new regulatory compliance requirement you have to encrypt all your encrypted existing application RDS DB instances. You know that in AWS RDS DB instance you can only enable encryption for an Amazon RDS DB instance when you create it, not after the DB instance is created. What steps you should take to meet the compliance requirements?Choose 2.
- Step1: You create a new DB instance with encryption enabled
- Step 2: Copy data from the old DB instance to new encrypted DB instance
- Step1: You can create a snapshot of your DB instance, and then create an encrypted copy of that snapshot.
- Step2: You can then restore a DB instance from the encrypted snapshot, and thus you have an encrypted copy of your original DB instance.
- Step1: You create a new DB instance with encryption enabled
- Step 2: Copy data from the old DB instance to new encrypted DB instance
- Step1: You can create a snapshot of your DB instance, and then create an encrypted copy of that snapshot.
- Step2: You can then restore a DB instance from the encrypted snapshot, and thus you have an encrypted copy of your original DB instance.
When should you use EFS vs FSx for Windows vs FSx for Lustre? Choose 3.
- Use EFS, for Windows Applications and Windows instances when you need simple, scalable, fully managed elastic NFS file.
- Use FSx for Windows File Server, for Linux based application when you need centralized storage having native support for POSIX file system features and support for network access through industry-standard Server Message Block (SMB) protocol.
- Use EFS, for Linux Applications and Linux instances when you need simple, scalable, fully managed elastic NFS file.
- Use FSx for Windows File Server, for Windows based application when you need centralized storage having native support for Windows file system features and support for network access through industry-standard Server Message Block (SMB) protocol.
- Use FSx for Lustre, when you need to launch and run the popular, high-performance Lustre file system for workloads where speed matters, such as machine learning, high performance computing (HPC), video processing, and financial modeling.
- Use EFS, for Windows Applications and Windows instances when you need simple, scalable, fully managed elastic NFS file.
- Use FSx for Windows File Server, for Linux based application when you need centralized storage having native support for POSIX file system features and support for network access through industry-standard Server Message Block (SMB) protocol.
- Use EFS, for Linux Applications and Linux instances when you need simple, scalable, fully managed elastic NFS file.
- Use FSx for Windows File Server, for Windows based application when you need centralized storage having native support for Windows file system features and support for network access through industry-standard Server Message Block (SMB) protocol.
- Use FSx for Lustre, when you need to launch and run the popular, high-performance Lustre file system for workloads where speed matters, such as machine learning, high performance computing (HPC), video processing, and financial modeling.
Your Amazon ECS service can optionally be configured to use Elastic Load Balancing to distribute traffic evenly across the tasks in your service.
- TRUE
- FALSE
- TRUE
- FALSE
What is a ‘fan out ‘scenario?
- A publisher sends same message to multiple SNS topics or SQS queues
- Amazon SNS message is sent to a topic and then replicated and pushed to multiple Amazon SQS queues, HTTP endpoints, or email addresses.
- Message is sent to a SQS queue and then replicated and pushed to multiple Amazon SNS topics.
- Message is sent to a SQS queue and then replicated and pushed to multiple Amazon SQS queues.
- A publisher sends same message to multiple SNS topics or SQS queues
- Amazon SNS message is sent to a topic and then replicated and pushed to multiple Amazon SQS queues, HTTP endpoints, or email addresses.
- Message is sent to a SQS queue and then replicated and pushed to multiple Amazon SNS topics.
- Message is sent to a SQS queue and then replicated and pushed to multiple Amazon SQS queues.