Amazon (SAP-C01) Exam Questions And Answers page 54
A user is hosting a public website on AWS. The user wants to have the database and the app server on the AWS VPC. The user wants to setup a database that can connect to the Internet for any patch upgrade but cannot receive any request from the internet. How can the user set this up?
Setup DB in a public subnet with the security group allowing only inbound data.
Setup DB in a local data center and use a private gateway to connect the application with DB.
Setup DB in a private subnet which is connected to the internet via NAT for outbound.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Designing enterprise-wide scalable operations on AWS
A user is planning to host a Highly Available system on the AWS VPC. Which of the below mentioned statements is helpful in this scenario?
Create VPC subnets in two separate availability zones and launch instances in different subnets.
Create VPC with only one public subnet and launch instances in different AZs using that subnet.
Create two VPCs in two separate zones and setup failover with ELB such that if one VPC fails it will divert traffic to another VPC.
Create VPC with only one private subnet and launch instances in different AZs using that subnet.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Designing enterprise-wide scalable operations on AWS
A user is planning to host a web server as well as an app server on a single EC2 instance which is a part of the public subnet of a VPC.
How can the user setup to have two separate public IPs and separate security groups for both the application as well as the web server?
How can the user setup to have two separate public IPs and separate security groups for both the application as well as the web server?
Launch VPC with two separate subnets and make the instance a part of both the subnets.
Launch a VPC instance with two network interfaces. Assign a separate security group and elastic IP to them.
Launch a VPC instance with two network interfaces. Assign a separate security group to each and AWS will assign a separate public IP to them.
Launch a VPC with ELB such that it redirects requests to separate VPC instances of the public subnet.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Designing enterprise-wide scalable operations on AWS
A user is planning to launch multiple EC2 instance same as current running instance.
Which of the below mentioned parameters is not copied by Amazon EC2 in the launch wizard when the user has selected the option "Launch more like this"?
Which of the below mentioned parameters is not copied by Amazon EC2 in the launch wizard when the user has selected the option "Launch more like this"?
Shutdown behavior
Termination protection
Tenancy setting
Storage
Designing highly available, cost-efficient, fault-tolerant, scalable systems
A user is planning to use EBS for his DB requirement. The user already has an EC2 instance running in the VPC private subnet.
How can the user attach the EBS volume to a running instance?
How can the user attach the EBS volume to a running instance?
The user can create EBS in the same zone as the subnet of instance and attach that EBS to instance.
It is not possible to attach an EBS to an instance running in VPC until the instance is stopped.
The user can specify the same subnet while creating EBS and then attach it to a running instance.
The user must create EBS within the same VPC and then attach it to a running instance.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Designing for security and compliance
A user is running a batch process on EBS backed EC2 instances. The batch process launches few EC2 instances to process Hadoop Map reduce jobs which can run between 50 ?600 minutes or sometimes for even more time. The user wants a configuration that can terminate the instance only when the process is completed.
How can the user configure this with CloudWatch?
How can the user configure this with CloudWatch?
Configure a job which terminates all instances after 600 minutes
It is not possible to terminate instances automatically
Configure the CloudWatch action to terminate the instance when the CPU utilization falls below 5%
Set up the CloudWatch with Auto Scaling to terminate all the instances
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Designing enterprise-wide scalable operations on AWS
A user is running a critical batch process which runs for 1 hour and 50 mins every day at a fixed time. Which of the below mentioned options is the right instance type and costing model in this case if the user performs the same task for the whole year?
Instance store backed instance with spot instance pricing.
EBS backed instance with standard reserved upfront instance pricing.
EBS backed scheduled reserved instance with partial instance pricing.
EBS backed instance with on-demand instance pricing.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Implementing cost control strategies
A user is sending a custom metric to CloudWatch. If the call to the CloudWatch APIs has different dimensions, but the same metric name, how will CloudWatch treat all the requests?
It will reject the request as there cannot be a separate dimension for a single metric.
It will group all the calls into a single call.
It will treat each unique combination of dimensions as a separate metric.
It will overwrite the previous dimension data with the new dimension data.
Designing highly available, cost-efficient, fault-tolerant, scalable systems
A user is thinking to use EBS PIOPS volume.
Which of the below mentioned options is a right use case for the PIOPS EBS volume?
Which of the below mentioned options is a right use case for the PIOPS EBS volume?
Analytics
System boot volume
Mongo DB
Log processing
Designing highly available, cost-efficient, fault-tolerant, scalable systems
A user is trying to create a PIOPS EBS volume with 3 GB size and 90 IOPS. Will AWS create the volume?
No, since the PIOPS and EBS size ratio is less than 30
Yes, since the ratio between EBS and IOPS is less than 30
No, the EBS size is less than 4GB
Yes, since PIOPS is higher than 100
Designing highly available, cost-efficient, fault-tolerant, scalable systems
Comments