Monitoring and reporting Flashcards
What does cloudwatch monitor by default for EC2?
Host level metrics CPU Network Disk Status check
What are not default EC2 metrics
Ram utilization
Disk utilization
How long will cloudwatch metrics be retained?
Indefinitely by default
This also includes terminated instances
What is the minimum granularity you can have for a metric?
1 min
Is Ram utilization a custom metric?
Yes
You are using AWS and also have on-prem infrastructure. You would like a new solution to monitor on-perm systems. Can you use cloudwatch?
Yes. Just install the SSM agent
Best use of PIOPS disk
Large databases
+10,000 IOPS
160 MB/s throughput
Best use case for throughout optimized disk?
Big data
Streaming workloads
Data warehouses
Best use for HDD cold
Low cost
Infrequently access
You have a 1 GB volume. What IOPS burst is available?
3 IOPS per GB = 3 IOPS
Burst max is 3000
Burst = 3000-3=2997
How can you achieved desired IOPS if below 10,000
Select the correct volume size
1 GB = 3 IOPS
Describe 2 characteristics of how IOPS credits work?
When not bursting you are earning credits
Initial balance is 5.4 million,
What are the key cloudwatch metrics for EBS disk
Volumereadbytes
Volumewritebytes
Volumequeuelength
What are the EBS volume states?
Normal - ok
Degraded - warning
Stalled - impaired, not available
Insufficient data - insufficient data
Do you need to detach a EBS volume to modify?
No
What are the 4 EBS volume types?
General purpose
provisioned IOPS
Throughout optimized hdd
Cold hdd
What EBS disk types cannot be used as root volumes?
HDD
Cold and throughout optimized
What are the 3 ELB types
Application
Network
Classic
What options are available to monitor ELBs?
Cloudwatch
Access logs
Request tracing
Cloudtrail logs
What ELB monitoring option would you use if you need detailed information on requests, clients IP, latencies, request paths
Access logs
You have an EC2 instance that is deleted. You find out after there was a performance issue and want to investigate further. What option will you have needed to review?
Access logs
Where are ELB access logs stored?
S3
You need to track http requests from clients to ELB
Request tracing
Application LB only
You need to track detailed information about calls made to ELB API and stored them. What monotony option will you use?
Cloudtrail
Your elasticache memchached deploy has loads up to 90%. What should you do to improve performance
Add more nodes to the cluster
Which elasticahce option is not multi-threaded?
Reddis
The elasticache swap usage is high. What should you do to improve?
Increase the memcached_connections_overhead parameter
What is an eviction in elasticache?
Items in memory
You see a high number of evictions in memcached. How can you optimize?
Scale up or scaled out
You see a high number of evictions in reddis. How can you optimize?
Scale out - add read replicas
You created a metric, then changed regions and cannot see the metric to add to a dashboard. Why?
Dashboards are global, but to add a new widget, you must be in the region where it was created.
Your company bought another company and you want to centrally manage their AWS account as well as you own. What AWS service would you use?
AWS Organizations
You need to ensure compliance of the AWS infrastructure and audit all changes. What services can you use?
AWS config will capture all changes and write to an S3 bucket. Lambda can then be used to trigger a report
What trigger options are available with AWS config?
Periodic and config changes
What permissions are needed for AWS config?
IAM role with read access to the resource
Write access to S3
Publish access to SNS
What metric would provide oversight, of server errors of registered instances?
HTTPCode_Backend_5XX
What value will always be displayed for the DiskREadOps metric on a EBS backed EC2 instance?
0
What cost tool provides reports?
Cost Optimizer Monitor
Wha tool will help identify issues with underlying AWS hardware that will affect your systems?
AWS Personal dashboard