Font size
WorksheetsAISS - AWS SA - AWS_Pillars
Total questions: 64
Worksheet time: 3hrs 30mins
(from linux academy - Operation Exellence Pillar)
You business operates in a very secure sensitive industry. You are looking at how to secure a small VPC. Your environment consists of a single S3 bucket, and an EC2 instance running in a internet connected VPC. What is the best way to lock down the environment, allowing access to S3 but keeping the environment as secure as possible?
Create an S3 VPC endpoint. Apply a policy restricting access to the S3 bucket from the VPC endpoint.
Create an S3 VPC endpoint. Apply a policy restricting access to the S3 bucket from the VPC endpoint, and remove the internet gateway. Setup a VPN Endpoint and client to securely SSH into the EC2 instance when needed.
Provision a privately addressable S3 bucket in your VPC. Migrate the contents of the public bucket and update the application. Remove the internet gateway to isolate the VPC.
Create a new security group, denying all IP's except the EC2 instance, and associate it with the S3 bucket.
(from linux academy - Operation Exellence Pillar)
Your existing custom NACL currently allows all Internet web traffic into the subnet. As part of a project implementation, you need to block IP traffic from a subnet to a specific internet IP address. How can this be accomplished?
Create a Security group, add a DENY rule to it, and attach to the subnet.
Attach a NACL to the subnet and add a DENY rule to it.
Attach a NACL to the VPC and add a DENY rule.
Create a Security group, add a DENY rule, and attach it to any resources in the subnet which need the DENY rule applied.
(from linux academy - Operation Exellence Pillar)
Which of the following events can be logged using CloudTrail. (Choose all that apply)
CLI Calls to the AWS Account
API Calls to the AWS Account
SSH Connections to EC2 Instances
Operations on S3 Objects
(from linux academy - Operation Exellence Pillar)
You need to migrate a legacy application into AWS. It currently runs on a Linux operating system and has a requirement for iSCSI based block storage. Which AWS Service would you utilise to meet this requirement?
EFS
S3
Storage Gateway
EBS
(from linux academy - Operation Exellence Pillar)
Which of the following are AWS managed services that can allow host access to instances running on the respective services? (Choose all that apply)
DynamoDB
Amazon EC2
Amazon RDS
Amazon EMR
ElastiCache
(from linux academy - Operation Exellence Pillar)
You are designing a VPC to host a small application. The VPC will be connected back to your on-premises network using a VPN. An EC2 instance runs the application, and will only need to connect to the internet for software updates. You have a list of the software update DNS names. How can you restrict this within the AWS VPC?
Place the EC2 instance in a public subnet and add an internet gateway.
This restriction isn't possible using an AWS VPC.
Add an internet gateway to the VPC, and a proxy service running on a EC2 instance in a public subnet with an elastic IP.
Use the DNS filtering option on a NAT gateway to restrict internet access to just the software updates.
(from linux academy - Operation Exellence Pillar)
You've been asked to host a docker container within your AWS environment. What is the most appropriate product to use for this task?
Lambda
EC2
Opsworks
ECS
(from linux academy - Operation Exellence Pillar)
You are designing a VPC for a small application. It will operate in a private subnet and needs internet access to software updates and other communications with internet IPs. Your security team is happy that there are no restrictions in the application server's internet access. Which AWS products are needed to allow this solution. The priority is using the least amount of services. Assume the EC2 instance and any NACL's, routes, and Security groups are included implicitly.
VPC, Subnets, Route Table(s), Nat Gateway, and Internet Gateway.
VPC, Subnets, Route Tables, VPC Peering, and Virtual Private Gateway
VPC, Subnets, Route Table(s), and NAT Gateway
VPC, Subnets, Route Table(s), and Internet Gateway
(from linux academy - Operation Exellence Pillar)
Which of the following AWS storage services are able to be natively mounted as mount points on a Linux system.
EBS and Instance Store only
Glacier, Instance Store, and EBS
Instance Store, EBS, and EFS
Instance Store, EBS, S3, Glacier, and EFS
(from linux academy - Operation Exellence Pillar)
You run a single instance application on an EC2 instance in AWS. Your architecture teams are looking to make changes and convert the application to operate on multiple servers. The app runs on Linux and currently accesses millions of flat file data files in the /data/... folder structure. This database is stored on an EBS volume attached to the EC2 instance. How can this be moved to work on multiple servers, with as little application changes as possible? What product would you suggest?
EFS
Use EBS to mount the existing volume on all the new instances.
S3
EMR and HDFS
(from linux academy - Operation Exellence Pillar)
Your business generates a large amount of financial data within its SQL-backed financial application. You have been asked to suggest an AWS product which will allow storage of that data to be used for long term reporting, querying, forecasting, and business intelligence. Which AWS product should you suggest?
Athena
Glacier
EMR
Redshift
(from linux academy - Operation Exellence Pillar)
You business has two EC2 instances, one is located in us-east, the other in us-west. You want to allow both machines to communicate with each other. Instances in either VPC need to be able to communicate with each other as if they are within the same network. What solution would you recommend?
Configure a Hardware VPC VPN between the VPC in us-east-1 and the VPC in us-west-1.
Configure an inter-region VPC peer between the VPCs and allow communications using the private IP addresses of the instances.
Communication between VPCs in different regions is not possible with AWS.
Ensure that each VPC has a IGW attached and each machine has a public IP address. Configure communications between those public IP addresses.
(from linux academy - Operation Exellence Pillar)
What steps are required to allow an EC2 instance to access the internet while being as secure as possible? Assume all security rules/ACL's and subnets are in place already. (Choose all that apply)
Create a default route from the EC2 instance's subnet to the NAT Gateway.
Add a NAT gateway
Attach an internet gateway to the VPC.
Create a default route from the NAT gateway's subnet to the Internet Gateway.
Provide the instance with a Public or Elastic IP address.
(from linux academy - Reliability pillar)
Your businesses risk team has asked you to add additional resiliency to a critical business application. The application uses RDS and the MySQL engine and is based in us-east-1. The risk team would like to protect the application against an AZ failure and region issues, and wants to do it in a way which is as cost effective as possible. What two options could you suggest?
Enable Multi-AZ mode in three AZs to protect against an AZ failure within the us-east-1 region
Enable Multi-AZ mode in two AZs to protect against an AZ failure within the us-east-1 region.
Add one or more read replicas in other regions.
Add one or more read replicas in us-east-1.
Enable Multi-AZ mode, but select the cross region option to allow synchronous replication to another global region.
(from linux academy - Reliability pillar)
Which of the following services or service features are natively highly available in a region and can cope with a AZ failure without itself failing. (Choose all that apply)
Software VPN (Open VPN running on EC2)
Internet Gateway
Dynamic Hardware VPC VPN
Virtual Private Gateway
(from linux academy - Reliability pillar)
What happens if you reboot an instance store-backed EC2 instance with a Public IP?
The instance store volume is wiped.
The instance remains in the running state.
The Public IP changes and the instance store volume is wiped.
The Public IP changes
(from linux academy - Reliability pillar)
You have designed a small VPC deployment for a highly-available web application. The VPC is in a Three Availability Zone region, and you have created nine subnets. Three are private (one per AZ), three are public (one per AZ), and three are database subnets (one per AZ). You have provisioned the three web servers in the public subnets, three application servers in the private subnets, and a three-node Aurora cluster. How many load balancers do you need to create, and in what subnets should they be placed, to ensure each tier is highly available?
2 - One placed in the public subnets, the other in the private
3 - One placed in each tier
9 - One placed in each subnet in each tier
2 - One placed in the private subnet, the other placed in the DB subnet
(from linux academy - Reliability pillar)
Why does stopping and starting an instance usually fix a System Status Check error?
Stopping and starting an instance causes the instance to be provisioned on different AWS hardware.
Stopping and starting an instance causes the instance to change the AMI.
None of the these
Stopping and starting an instance reboots the operating system.
(from linux academy - Reliability pillar)
You are designing an environment with four VPCs serving unique functions. Each VPC is in a four-AZ region and has four subnets, one in each AZ.
You need to ensure that the public subnets in those VPCs can access the internet. What is the minimum number of internet gateways required to provide internet access to all VPCs, while being able to deal with availability zones within any of them?
The business is budget conscious and wants the minimum number possible.
4
1
16
0
(from linux academy - Reliability pillar)
You have been asked to design an upgrade to a legacy environment running in an AWS VPC. The environment is currently using a single NAT instance running on EC2. The region the environment is in has four AZs. The VPC has eight subnets, four private (one in each AZ) and four public (one in each AZ). You have been asked to ensure the solution uses NAT gateways and that if any AZ fails, an instance in the other AZs can ALWAYS access the internet. What is the minimum number of NAT Gateways required?
1 - It spans all four public subnets. All private subnets use the single NAT gateway.
2 - Each one is located in a single public subnet, but not the same one. Private subnets are set to round robin across them both.
2 - Each spans two different public subnets, with private subnets set to round robin across them both.
4 - Each is located in a single , but different public subnet. Each private subnet is set to use the NAT gateway in the same AZ.
(from linux academy - Reliability pillar)
You are designing an application with three components: an app server running on EC2, a media store running on S3, and a database running on DynamoDB. You have been asked to make sure your design allows a single AZ to fail without impacting service. Which option is correct?
No specific changes are required. EC2, S3, and DynamoDB are all region resilient and will operate fine if an AZ fails.
Edit the configuration of the EC2 instance, enable the AZ roaming option, and pick all the availability zones.
S3 and DynamoDB are resilient to an AZ failure by design. Provision EC2 using a Launch Configuration and an Auto Scaling group to ensure it can cope with an AZ failure and auto-heal if needed.
Leave EC2 set up using defaults, enable AZ replication on S3, and set up master/slave replication on DynamoDB.
(from linux academy - Reliability pillar)
Which of the following services/service features is natively highly available in a region, and can cope with a AZ failure without itself failing?
VPC Subnet
EC2
DynamoDB
S3
(from linux academy - Reliability pillar)
Which of the following services or service features are natively highly available in a region and can cope with a AZ failure without itself failing.
EBS Snapshot
EBS
VPC
NAT Gateway
(from linux academy - Reliability pillar)
You need to design a VPC which is resilient to AZ failure from an internet access perspective. The VPC is in a four AZ region. How many Internet gateways are required to ensure multiple AZ failures won't disrupt internet connectivity.
1
2
0
4
(from linux academy - Reliability pillar)
Your company is moving a legacy application from an on-premises data center to the cloud. The legacy application requires a static IP address hard-coded into the backend onto a single instance. What options do you have to maximize the availability of this application? (Choose 2)
Associate an Elastic IP with a Network Load Balancer and target multiple instances in the AZ running the application.
Create an AMI of the instance and launch it using Auto Scaling, which will deploy the instance again if it becomes unhealthy.
Associate an Elastic IP with a CloudFront distribution that uses an EC2 instance running your application as the origin for all requests.
Associate an Elastic IP address to an instance running the application, then enable EC2 Auto-recovery.
Do not migrate the application to the cloud until it can be converted to work with the ELB and Auto Scaling.
(from linux academy - Reliability pillar)
Your company is concerned with EBS volume backups on Amazon EC2, and wants to ensure they have proper backups so that the data is durable. What solutions could you implement (choose two)?
Using CloudWatch Events, schedule a rule that calls the EC2 CreateSnapshot API.
Write a cronjob on the server that compresses any data that needs to be backed up using gzip compression. Then use AWS CLI to copy the data into an S3 bucket for durability.
Use a lifecycle policy for EBS Snapshots.
Configure Amazon Storage Gateway with EBS volumes as the data source, and store the backups on premise through the storage gateway.
(from linux academy - Security pillar)
Your company has just employed ten student for one week, and it is your task to provide them with access to AWS through IAM. Your supervisor has come to you and said that he wants to be able to track these students as a group, rather than individually. Because of this, he has requested for them to all have the same login ID but completely different passwords. Which of the following is the best way to achieve this?
It isn't possible to have the same login ID for multiple IAM users of the same account.
Use Multi Factor Authentication to verify each user, and they will all be able to use the same login.
Create various groups. and add each user with the same login ID to different groups. The user can login with their own group ID
Create a separate login ID, but give each IAM user the same alias so that each one can login with their alias.
(from linux academy - Security pillar)
You have an EC2 instance located in a private subnet. The instance is using an private IP Version 4 address in the 10.0.0.0/24 range and has no public IP or elastic IP attached. NACLs and Security Groups are configured to allow the needed traffic. How can you provide this instance with access to the internet for updates.
Attach an internet gateway to the VPC, provision a NAT gateway, then update routes.
Attach an internet gateway to the VPC and update routes.
Use privatelink to access AWS provided update servers.
Provision a NAT gateway into the VPC.
(from linux academy - Security pillar)
You are an EC2 administrator. You create an EC2 instance, and attach an EBS volume. Two weeks later, your supervisor informs you that the data on the EBS volume must be encrypted. What must you do to encrypt the existing EBS volume?
In the EC2 Dashboard, select the EBS volume, and under Actions select the Encrypt volume option.
You can enable encryption on a volume by changing the volume type to an instance store volume. Instance store volumes are automatically encrypted.
It is not possible to encrypt an existing EBS volume. You must delete the existing volume and all existing data will be lost. You will have to recreate the data on the new encrypted volume.
It is not possible to encrypt an existing EBS volume. You can take a snapshot of the unencrypted volume. Once the snapshot is taken, copy the snapshot and enable encryption on the copy so that the target snapshot is encrypted. Once the target snapshot is created, you can attach a new encrypted volume to the EC2 instance, and restore the encrypted snapshot to a new volume.
(from linux academy - Security pillar)
Your CRM application running on EC2 needs to store and retrieve contract documents in an S3 bucket. How can your application get these permissions?
Create an IAM role with a suitable permissions policy, and a trust policy specifying the EC2 service.
EC2 instances automatically have access to S3 buckets.
Embed the developer’s access keys into the application code.
Create a bucket policy and grant read and write permissions to the ARN for your application.
(from linux academy - Security pillar)
You are about to create an AWS Lambda function, and need to give it the permissions to access Amazon S3. How do you best perform this (pick the best approach)
Create an IAM user, create access keys, and enter them into your function code.
Store the credentials inside an S3 bucket and have the Lambda function retrieve them upon execution
Create an IAM role, assign a policy to the role, and set the Lambda function to use the role
Create an IAM user, set the username and password in the Lambda function authentication options, and then set the method to interactive
(from linux academy - Security pillar)
You have a requirement to design a security architecture in AWS capable of allowing IP traffic using stateful intelligence from an EC2 instance. That is, for outgoing traffic which is allowed, then also allow the incoming return traffic. Which AWS product allows stateful security control ?
AWS Shield
NACL
Security Groups
AWS WAF
(from linux academy - Security pillar)
You have been asked to advise a junior colleague how to explicitly deny traffic from an EC2 instance to a specific remote internet FQDN. What advice would you give?
Use a security group attached to the VPC and explicitly deny traffic to the FQDN.
Use a security group attached to the instance and explicitly deny traffic to the FQDN.
Implement a proxy service in the VPC, adjust route tables, and use the proxy server to deny access to the remote hostname.
Use a NACL on the subnet that the EC2 instance is on, and deny traffic from the EC2 instance to the FQDN.
(from linux academy - Security pillar)
One of your environments utilizes DynamoDB as a database. You need to ensure that it can only be accessed by a select number of people using specific IP addresses. What design changes do you suggest?
Create a security group, add allow rules for the IPs who need access, and attach the SG to DynamoDB
Configure a group of IAM users (for each level of access) for the people who need access. Give those groups access to the DynamoDB operations they need, but add a condition to the policy so that it has to match the specific IP address.
Create an isolated VPC that is not connected to the internet, provision a private DynamoDB instance in the VPC, and allow those "select people" to connect to the VPC using a VPN.
Using the AWS console or CLI, edit the table(s) requiring the restrictions, set the default security to Deny, and add the IPs they'll be coming in from.
(from linux academy - Security pillar)
Multiple directors in your company have opened AWS accounts. The Chief Security Officer has expressed a concern that accounts may be using unapproved AWS services and wants your advice. What would you recommend?
Create a new Account. Contact AWS Support and have them move all IAM Users into the new Account.
Create a Lambda function to delete the IAM users in each account.
Create a CloudTrail trail to monitor the API calls in each account.
Create a root account as the Master in AWS Organizations, and have each account join your organization. Then apply Service Control Policies to the child accounts.
(from linux academy - Security pillar)
You are the system administrator for your company's AWS account, and it has approximately 200 IAM users. Your company has just introduced a new policy that will change the access for 50 of the IAM users to have unlimited access to S3 buckets. How can you implement this effectively so that there is no need to apply the policy at the individual user level?
Create a new role and add each user to the IAM role.
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.
Create an IAM group, add the 50 users, and apply the policy to group
(from linux academy - Security pillar)
You operate a commercial stock images website with millions of images. Watermarked preview images are available via an EC2 instance application. Full resolution versions are stored on an EBS volume. The EBS volume is attached to the EC2 instance and delivered by the application. You have been asked to find a cheaper solution that can scale. Which option is the most suitable.
Move the images to S3 and add read permissions for everyone.
Move the images to S3 and enable FTP read support.
Add a storage optimized EBS volume to the EC2 instance.
Move the images to S3 and Use pre-signed URL's
(from linux academy - Security pillar)
Your information security officer has asked for modifications to an application running on an EC2 instance, to ensure that it uses regular key rotation for its interaction with AWS. What is the key point to let her know?
The application is running on an EC2 instance, and uses the IAM username and password of a service account to log in to AWS. The account options can be modified to enable key rotation.
The application is running on an EC2 instance and uses the access keys of an IAM user. The account options can be modified to enable key rotation.
The application is running on an EC2 instance, and uses the access keys of an IAM user. Key rotation is automatic with this configuration
The application is running on an EC2 instance and uses an instance role. Key rotation is automatic and handled by IAM/STS.
(from linux academy - Performance Efficiency pillar)
Your autoscaling group launches instances that use provisioned IOPS EBS secondary data volumes. They are in a RAID 0 configuration, and serve 20TB of files. Whenever new instances are added to the group, they perform very slowly compared to the already running instances. What is the most likely problem?
The EBS volumes have run out of credits.
The EBS volumes are being encrypted.
The Elastic Network Interface takes several minutes to provide full network throughput capacity
The EBS volumes containing the files are created from snapshots.
(from linux academy - Performance Efficiency pillar)
Your application needs to perform 100 eventually consistent reads per second from DynamoDB. Each read is 7KB is size. What is the minimum number of RCUs required to meet this demand?
200
350
700
100
(from linux academy - Performance Efficiency pillar)
You've been asked to upgrade an old AWS environment (T series EC2 instances) which is suffering from slow internet throughput. Which option below represents a potential solution?
Add a virtual private gateway to the VPC.
Change the NAT instance from T2 large to T2 medium.
Replace the NAT instance in the VPC with a NAT Gateway.
Enable enhanced networking on the Nat instance.
Add another internet gateway to the VPC, for a total of two, which will provide twice the current internet throughput.
(from linux academy - Performance Efficiency pillar)
Which of the following is true regarding S3 Request Rate Performance?
Amazon S3 provides at least 5,500 requests per second to retrieve data
You MUST randomize object prefixes to achieve faster performance
Amazon S3 provides at least 3,500 requests per second to add data
You should avoid sequential naming patterns in S3 object naming to achieve faster performance.
(from linux academy - Performance Efficiency pillar)
You have been asked to design some scaling upgrades on a legacy web application which utilises a MySQL RDS instance. The application is suffering from increasing reports of performance issues during peak periods. The application is used for archival information storage, where data is reviewed constantly and very rarely updated. Which option provides the best possibility of performance improvements for the least cost?
Upgrade the application server instance and the DB instance, picking a size four to eight times the size, to allow for ongoing growth.
Enable Multi-AZ. This adds a second read/write instance, and has the benefit of adding resiliency for no extra cost.
Add additional read/write nodes to the MySQL cluster, picking disks with read performance preference.
Add RDS read replicas, and adjust the application to move a percentage of reads to the read replica.
(from linux academy - Performance Efficiency pillar)
You are in the middle designing a media processing application, which runs on a fleet of EC2 instances. You need to make a choice on the most suitable EBS disk type to utilize. The business is concerned first about meeting its performance requirements, and second about being as cost effective as possible.
The business needs storage which can provide 500 MB/s. The IOPS requirements are a secondary consideration, so around 500 is fine. Which volume type is required?
SC1
IO1
GP2
ST1
(from linux academy - Performance Efficiency pillar)
You are in the middle designing a media processing application, which runs on a fleet of EC2 instances. You need to make a choice on the most suitable EBS disk type to utilize. The business is concerned first about meeting its performance requirements, and second about being as cost effective as possible.
The business needs storage which can provide 20,000 IOPS on a single volume. Which storage type should be used?
SC1
GP2
ST1
IO1
(from linux academy - Performance Efficiency pillar)
You have an application which demands extreme database performance. It needs to handle millions of read operations per second, and offer low latency. What product or combination of products would you suggest?
DynamoDB and DAX
Aurora and SQS
Aurora and SNS
DynamoDB
(from linux academy - Performance Efficiency pillar)
Your business has a image processing application. It runs on a single x1.16xl EC2 instance. The instance is extremely expensive, and operations staff have noticed that CPU and memory usage fluctuates between around 20-30% during non busy periods and 100% at other times.
The application consists of two components, one allows image uploading, and one processes the images. You have been asked to rearchitect the application, aiming for reduced costs and optimized performance. What AWS products would you select?
(Choose all that apply)
Auto Scaling Group
Cloudwatch
Elastic Transcoder
Launch Configuration
SQS
(from linux academy - Performance Efficiency pillar)
You are the solutions architect for a busy photo management website. Your business receives about 200 high resolution photo uploads per minute, and you store these in an S3 bucket. The business wants to do some analysis on all uploaded photos, then store the metadata in DynamoDB. They have asked you to suggest the cheapest option that can scale as the business grows.
Use Data Pipeline to constantly scan S3, and run an EMR cluster to perform the analysis.
Create a Lambda function that is capable of processing metadata, so that when a new object is uploaded to S3, the Lambda function will be invoked. The data from processing will then be uploaded into DynamoDB.
Create an EC2 instance running the AWS CLI. Have it constantly poll the S3 Bucket, listing the objects in there, then locating new images and processing them all before terminating.
Create a Lambda function which is capable of processing metadata. Scheduled it to run once a minute, listing the objects in the S3 bucket, locating new images and processing them all before terminating.
(from linux academy - Performance Efficiency pillar)
An application that retrieves data from an external web site is running on a single M5 large instance with a private IP. During peak loads, users report very long delays and timeouts. CloudWatch reports the CPU usage never climbs above 60%. What could be causing the issue?
The ENI for the instance could be at maximum capacity. You need multiple ENIs to get the maximum network performance for an instance.
A larger instance is needed, to increase the CPU capacity.
The ELB may need to be resized.
The instance could be sending outbound requests through a NAT instance which may be undersized.
(from linux academy - Performance Efficiency pillar)
You've been asked to design a solution for a high volume website, and it needs to be highly available. In your proof of concept environment, you chose to use RDS using the MySQL engine. In your failover testing, you have noticed that when a failover occurs, there is sometimes data loss. It's as though the DB instance which takes over is behind the primary instance. What options do you have to resolve this?
Migrate to Aurora, which uses a higher performing shared storage architecture.
Migrate from MySQL to PostgresSQL, which offers zero-latency replication between master and slave.
Use the privatelink feature to improve the latency between the Master and Slave instances.
Create additional read replicas of the database. This will extend the capacity and allow replication to occur with less lag.
(from linux academy - Performance Efficiency pillar)
You run a small WordPress site focusing on photography. The site only experiences light usage, but has over 1TB of media files. The files are currently stored on an EC2 attached EBS volume. How can you reduce costs and improve performance. Which products can help?
CloudFront
Glacier
S3
EFS
(from linux academy - Cost Optimization Pillar)
To reduce costs, you have been asked to revamp the design for an existing application. The system consists of four instances, all the same size, which are constantly powered on and are currently using an on-demand billing model. The CIO wants to reduce costs, but also wants to reserve the capacity that the four instances use. Reserve capacity in another AZ should be guaranteed by AWS. What suggestion should you make?
Purchase zonal Reserved Instances.
Purchase regional Reserved Instances.
You should inform the CIO that the environment is efficient as is. There's nothing more that needs to be done.
Change the on-demand model to use Spot instances. The cost savings are always substantial.
(from linux academy - Cost Optimization Pillar)
As an AWS consultant, you have been tasked with finding ways to quickly lower a client's AWS monthly bill. What is the first thing you should ask them for?
Ask them to run a complete inventory breakdown in AWS Config.
Ask them to create an IAM User in their account and send you the password.
Ask them to enable S3 access logs, so you can find out about S3 storage usage.
Ask them to run a Trusted Advisor report and send you the results.
(from linux academy - Cost Optimization Pillar)
A client has asked you to advise them on some AWS cost related questions. The client has over 1000 EC2 instances that are preconfigured and used during peak periods of the year for their application. Those are currently in a stopped state now, but they are still incurring costs in that region. What's a possible reason for this?
Every EC2 instance performs automatic snapshots as a backup mechanism, The costs are for snapshots on S3.
The instances have attached EBS volumes, and those come with monthly charges while the volumes exist.
EC2 instances in a stopped state still have an hourly cost. Terminate the instances to resolve this.
The cost is for the VPC that the instances operate in.
(from linux academy - Cost Optimization Pillar)
You have been asked for your advice on optimizing a client's EC2 costs. The client has 20 EC2 instances which are used 24/7/365. The EC2 instances are generally the same size and are spread across multiple availability zones. The client wants to achieve the maximum possible savings and doesn't care about capacity reservations. What would you suggest?
Purchase zonal Reserved Instances.
Purchase regional Reserved Instances.
Purchase Convertible Reserved Instances.
Purchase Scheduled Reserved Instances.
(from linux academy - Cost Optimization Pillar)
You are designing infrastructure for an application which handles multiple petabytes per month of data transfer. It's utilized by customers globally, and you have been asked to develop a solution that provides the lowest costs and best user experience. The data consists of static large video clips. You already have datacenter infrastructure, and the business is keen to use that if possible. Which option would you suggest, in order to meet the requirements?
Migrate the media to an EC2 instance, store the media on an attached PIOPS EBS volume, and configure CloudFront to use that server as an origin.
Use internal servers within your datacenter and serve the content from a single location.
Store the media on an on-premises web server and configure CloudFront to use that server as an origin.
Migrate the media to AWS S3, and Configure CloudFront to use that server as an origin.
(from linux academy - Cost Optimization Pillar)
Your operations team is using several EC2 instances for running scheduled maintenance scripts on your infrastructure. What are two ways you could possibly reduce costs for them?
Store the scripts in S3 buckets and execute them with CloudFront.
Consider changing the instances to an older instance type.
Reserve the instance capacity.
Move the scripts to Lambda Functions.
Run the instances outside of a VPC.
(from linux academy - Cost Optimization Pillar)
You have an environment which consists of ten classic load balancers, each serving HTTPS requests to two EC2 instances each. Multiple hostnames are in use. You have been asked to reduce costs while maintaining high availability. What would you suggest?
Merge the ten classic load balancers into two Application Load Balancers.
Merge the ten classic load balancers into a single classic load balancer.
Purchase a commercial load balancer and submit a request for AWS support to install it in the AWS datacenter for your region.
Inform the business that the solution cannot be optimised from a cost perspective.
(from linux academy - Cost Optimization Pillar)
A client has asked you to advise them on some AWS cost related questions. The client has over 1000 preconfigured EC2 instances that are used during peak periods of the year for their application. The client has decided to perform an upgrade of their application before the next peak period, and so has terminated all 1000 EC2 instances. They report still being charged a fee on an ongoing basis. Which option below is a possible reason?
Terminations take 30 days to process, and billing continues for 30 days after termination.
The instances have been unterminated and started back up without your knowledge, potentially by an IT support engineer, for backup verification reasons.
When terminating an EC2 instance, you can either terminate attached volumes or not. EBS is a potential cause of the charges. They may not have been deleted.
The machines are in an autoscaling group, which has a base charge even if it contains no running instances.
(from linux academy - Cost Optimization Pillar)
You have millions of objects in an S3 bucket. You are storing irreplaceable data that requires real-time access on rare occasions. Which of the following is the cheapest suitable storage class to use?
Amazon S3 One Zone-Infrequent Access
Amazon Glacier
Amazon S3 Standard-Infrequent Access
Amazon S3 Standard
(from linux academy - Cost Optimization Pillar)
You've been asked to review the architecture of an application within a client's AWS environment. It runs as a web app, with a DynamoDB backend. DynamoDB stores hundreds of millions of items of information, and each one is about 350KB in size. Most of every item is a satellite image of a plot of land, and could be anywhere on the earth's surface. The information is generated from a satellite image, and can't be regenerated. The data is read constantly, and is costing the business a fortune. On top of this, it's impacting read performance. What would you suggest as a quick potential way to reduce costs?
Adjust the DynamoDB table. Remove the satellite image data, replace it with an S3 URL, then move the data to an S3 bucket with static hosting enabled and use the STANDARD storage class. Drop the RCU on the table.
Adjust the DynamoDB operations to exclude the image attribute, unless it's requested.
Move all the data to S3 Standard. Store the information in a JSON file, and the image data in a separate JPG object. Adjust the web app to use S3 as a data source. Remove the DynamoDB table.
Adjust the DynamoDB table. Remove the satellite image data, replace it with an S3 URL, then move the data to an S3 bucket with static hosting enabled and use the STANDARD_IA storage class. Drop the RCU on the table.
(from linux academy - Cost Optimization Pillar)
Your business needs a small database for storing simple names, addresses, and ID picture information for 1000 employees. The usage will be low, queries will occur every day, and the business wants the most suitable low cost solution available within AWS. Which database would you suggest?
DynamoDB
Elasticache
RDS Aurora
Redshift
(from linux academy - Cost Optimization Pillar)
Your business stores high resolution media imaging in one of its S3 buckets accessible internally to it's applications. The number of objects increase daily, and approximately 100,000 objects are added daily. After discussing the situation with your medical consultants you have learned a few things. First, images are used extensively for 7 days, after that those images may or may not need to be accessed extensively for up to 60 days after arrival. Beyond that point, images are only accessed for scheduled consultations. What is the most economical solution to these mounting costs?
Hire a small team of admin staff to move images to archival storage when they are no longer used.
Transition Images from S3 Standard to Glacier after 7 days.
Transition images from Standard to Standard_IA after 30 days. After another 30 days, transition them from Standard_IA to Glacier. Glacier objects can be accessed from the S3 console if necessary.
Implement an S3 lifecycle policy to move images between storage classes, Standard, Standard_IA and Glacier. Train staff to access images via the Glacier console once archived.
(from linux academy - Cost Optimization Pillar)
You are designing the storage needs for a movie processing application. Large videos are uploaded to your website and stored on S3. AWS Elastic Transcoder processes these master copies out into multiple formats and stores them on S3. The master copies can be used directly up to a year, sometimes less. There are over 20 size and bitrate variations for each master movie file. 90% of users of your website use only two of these size variants. Storage costs are increasing rapidly, and you have been asked to optimize the running costs.
Store the master video files on Glacier immediately, and all resized versions on S3 One Zone-IA
Store the master video files on S3 One Zone-IA and migrate them to Glacier after 12 months. Store the resized versions on S3 Standard-IA.
Store the master video files on S3 Standard-IA, and migrate them to Glacier after 12 months. Store the popular resized versions on S3 Standard, and the less popular resized versions on S3 One Zone-IA.
Store the master video files on Glacier immediately, and all resized versions on S3 Standard.
