Troubleshooting and Maintenance Flashcards

1
Q

Q: What is AWS CloudWatch used for in troubleshooting?

A

A: It monitors AWS resources and applications, providing metrics, logs, and alarms for performance and operational insights.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Q: How does AWS CloudTrail help with troubleshooting?

A

A: By providing a detailed record of API calls and account activity for auditing and debugging.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Q: What are the common steps for troubleshooting in AWS?

A
  • Identify the issue (logs, metrics).
  • Analyze recent changes.
  • Check configurations.
  • Review network connectivity.
  • Test solutions incrementally.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Q: What are the steps to troubleshoot EC2 connectivity issues?

A
  • Verify security group and NACL rules.
  • Check the instance’s public/private IP.
  • Confirm route table configurations.
  • Test network paths using ping and traceroute.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Q: How do you troubleshoot VPC network connectivity issues?

A
  • Verify route tables, NACLs, and security groups.
  • Check VPC peering or Transit Gateway configurations.
  • Analyze VPC Flow Logs for dropped traffic.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Q: How do you troubleshoot AWS Lambda function errors?

A
  • Check the execution logs in CloudWatch Logs.
  • Verify IAM roles and permissions.
  • Review the function timeout and memory settings.
  • Analyze error messages and stack traces.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Q: How do you troubleshoot “Access Denied” errors in S3?

A
  • Check bucket policies and IAM user permissions.
  • Verify object ACLs.
  • Ensure requests are signed with valid credentials.
  • Enable and review S3 access logs.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Q: What are common causes of RDS connectivity issues?

A
  • Incorrect security group settings.
  • Misconfigured subnet or route table.
  • Database not publicly accessible.
  • Exceeding max connections limit.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Q: How do you resolve IAM permission issues?

A
  • Use the IAM Policy Simulator to test policies.
  • Check for conflicting explicit denies in policies.
  • Verify trust relationships for cross-account roles.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Q: How do you troubleshoot autoscaling issues?

A
  • Check scaling policies and alarms.
  • Verify instance launch templates/configurations.
  • Analyze failed lifecycle hooks or insufficient capacity errors.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Q: What are common steps to troubleshoot ELB issues?

A
  • Verify target group health checks.
  • Check listener and rule configurations.
  • Analyze access logs for errors.
  • Ensure security group rules allow ELB traffic.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Q: How do you troubleshoot DNS issues in Route 53?

A
  • Verify DNS record configurations.
  • Test DNS resolution using nslookup or dig.
  • Check health check status for failover records.
  • Confirm TTL values for propagation delays.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Q: How do you troubleshoot CloudFormation stack errors?

A
  • Review the stack events for error messages.
  • Validate templates with the AWS CLI.
  • Check resource quotas for exceeded limits.
  • Resolve dependency errors in resources.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Q: How do you address application performance issues?

A
  • Monitor metrics in CloudWatch (e.g., CPU, memory).
  • Scale resources using Auto Scaling or Spot Instances.
  • Optimize database queries and indexing.
  • Use caching solutions like ElastiCache.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Q: What is AWS Trusted Advisor?

A

A: A tool that provides recommendations for cost optimization, security, fault tolerance, performance, and service limits.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Q: How do you troubleshoot issues with ECS or EKS?

A
  • Check task/service logs in CloudWatch.
  • Verify IAM roles for tasks and nodes.
  • Ensure correct networking and cluster configuration.
  • Use the AWS CLI to describe tasks and services.
17
Q

Q: How do you handle resource limit errors in AWS?

A
  • Check service quotas in the AWS Management Console.
  • Use Trusted Advisor for quota alerts.
  • Request quota increases if necessary.
18
Q

Q: How do you troubleshoot unexpected AWS costs?

A
  • Review detailed billing reports.
  • Analyze service usage with Cost Explorer.
  • Set up AWS Budgets and alarms for cost tracking.
19
Q

Q: What causes slow data transfer rates in AWS?

A
  • Network congestion or bottlenecks.
  • Misconfigured MTU settings.
  • Insufficient EC2 instance networking capacity.
  • Use S3 Transfer Acceleration for faster uploads.
20
Q

Q: How do you troubleshoot DynamoDB performance issues?

A
  • Check provisioned capacity and throttling errors.
  • Optimize table partitioning and indexing.
  • Monitor metrics like ConsumedReadCapacityUnits.
21
Q

Q: How do VPC Flow Logs help in troubleshooting?

A

A: They capture IP traffic information to and from network interfaces, helping diagnose connectivity or security issues.

22
Q

Q: How do you manage patching for AWS resources?

A
  • Use AWS Systems Manager Patch Manager.
  • Automate patch compliance scans.
  • Schedule regular patching for instances.
23
Q

Q: How do you monitor serverless applications in AWS?

A
  • Use CloudWatch Logs and X-Ray for tracing.
  • Monitor API Gateway metrics like latency and 5xx errors.
  • Analyze Lambda execution metrics and durations.
24
Q

Q: What are steps to troubleshoot Elastic Beanstalk issues?

A
  • Check environment health status.
  • Review application and instance logs.
  • Verify deployment configurations and scaling policies.
25
Q

Q: How does AWS Config assist in troubleshooting?

A

A: It tracks resource configurations and changes, enabling quick identification of non-compliant or misconfigured resources.

26
Q

Q: How do you troubleshoot AWS authentication failures?

A
  • Check IAM policies and permissions.
  • Verify credentials or access keys.
  • Confirm MFA configurations and session expiration.
27
Q

Q: Why might an Auto Scaling group fail to replace unhealthy instances?

A
  • Health check grace period misconfiguration.
  • Failed ELB health checks.
  • Insufficient capacity in the selected AZ.
28
Q

Q: How do you troubleshoot cross-region connectivity issues?

A
  • Verify global services (e.g., Route 53, S3 replication).
  • Check VPC Peering or Transit Gateway configurations.
  • Use AWS Global Accelerator for optimized routing.
29
Q

Q: What is AWS X-Ray used for?

A

A: A service for tracing and debugging distributed applications, identifying bottlenecks and dependencies.

30
Q

Q: How do you troubleshoot OpenSearch performance?

A
  • Monitor cluster health and shard distribution.
  • Optimize index mappings and query patterns.
  • Scale nodes based on usage.