Trusted Advisor

Difficulty: Beginner

Question

What does AWS Trusted Advisor do, and what kind of recommendations does it give you?

Answer

AWS Trusted Advisor is a service that scans your AWS account and flags resources that break AWS best practices, grouped into cost optimization, performance, security, fault tolerance, service limits and operational excellence. Think of it as an automated reviewer that says "this EBS volume is unattached and costing money" or "this security group allows SSH from 0.0.0.0/0". How many checks you see depends on your AWS Support plan.

What the check categories cover

CategoryExample checks
Cost optimizationIdle load balancers, low-utilization EC2 instances, unassociated Elastic IPs, underused EBS volumes
SecuritySecurity groups with unrestricted ports, root account without MFA, public S3 bucket permissions, exposed access keys
Fault toleranceEBS volumes without recent snapshots, RDS without Multi-AZ, EC2 spread over a single AZ
PerformanceHigh-utilization instances, CloudFront configuration issues, overutilized EBS
Service limitsUsage approaching a service quota, such as VPCs per Region or On-Demand vCPUs
Operational excellenceMissing logging (CloudTrail, ALB access logs), auto-scaling gaps

Each check returns a status: green (no problem), yellow (investigate) or red (action recommended), plus the list of affected resources and an estimated monthly saving for cost checks.

Why your support plan matters

This is the detail interviewers like to probe:

  • Basic and Developer support: only a small set of core checks, mainly the core security checks (root MFA, open security group ports, S3 bucket permissions, IAM use) and the service limit checks.
  • Business, Enterprise On-Ramp and Enterprise support: the full set of checks across all categories, programmatic access through the AWS Support API and the newer Trusted Advisor API, EventBridge integration, and the organizational view across all accounts in AWS Organizations.
  • Enterprise support also gets Trusted Advisor Priority, where your technical account manager surfaces prioritized, context-aware recommendations.

So when a startup on Basic support says "Trusted Advisor shows nothing wrong", it may simply be that most checks are not visible to them.

How teams actually use it

  1. Weekly cost reviews: a team running a food delivery backend can export the cost checks, find idle RDS instances from old experiments and delete them.
  2. Quota alerts before a sale: before a Big Billion Days style traffic spike, the service limits checks show whether you are near your vCPU or ELB quotas so you can raise them in Service Quotas in advance.
  3. Automated alerts: with Business support, check status changes are sent to EventBridge, which can notify Slack via SNS or trigger a Lambda to tag or stop resources.
  4. Security baseline: the free core security checks are a cheap first pass before you adopt Security Hub.

Limits and common misconceptions

  • Trusted Advisor gives recommendations, it does not fix anything on its own. Remediation is your job, or something you automate.
  • Checks refresh periodically; some can be refreshed manually from the console, so the data is not always real time.
  • It is not a replacement for AWS Config (continuous configuration history and custom rules), Security Hub (aggregated security findings and standards like CIS) or Compute Optimizer (ML-based right-sizing). Trusted Advisor actually pulls in some Compute Optimizer and Security Hub results.
  • The Support API endpoint for Trusted Advisor lives in us-east-1, so CLI calls need --region us-east-1.
From account scan to action. Trusted Advisor inspects resources, scores each check and hands the result to you or your automation.
  1. Your AWS resources: EC2, EBS, S3, IAM, RDS, quotas and more.
  2. Trusted Advisor checks: Each check compares resources against a best practice.
  3. Status: green, yellow, red: Affected resources and estimated savings are listed.
  4. EventBridge or console: Status changes can trigger alerts with Business support.
  5. Remediation: You or a Lambda fix the resource.

Code examples

Query Trusted Advisor checks from the CLI

# Requires Business, Enterprise On-Ramp or Enterprise support.
# The Support API is served from us-east-1.
aws support describe-trusted-advisor-checks \
  --language en --region us-east-1 \
  --query "checks[?category=='cost_optimizing'].[id,name]" \
  --output table

# Fetch the result of one check by its id
aws support describe-trusted-advisor-check-result \
  --check-id Qch7DwouX1 --language en --region us-east-1 \
  --query "result.{status:status,flagged:resourcesSummary.resourcesFlagged}"

The first command lists cost checks and their ids; the second pulls the status and number of flagged resources for one check (Qch7DwouX1 is the low-utilization EC2 check).

Key points

  • Six categories: cost optimization, performance, security, fault tolerance, service limits, operational excellence.
  • Basic and Developer support only see core security and service limit checks; Business and above get all checks plus API access.
  • Status is green, yellow or red, with affected resources and estimated savings.
  • It recommends but does not remediate; automate fixes with EventBridge and Lambda.
  • Complements, not replaces, AWS Config, Security Hub and Compute Optimizer.

Common follow-up questions

  • How is Trusted Advisor different from AWS Config?
  • Which Trusted Advisor checks are available on the Basic support plan?
  • How would you automatically act on a Trusted Advisor finding?
  • How do you check service quotas before a large traffic event?

Interview tips

  • Name the categories and give one concrete check for each; it shows you have actually opened the console.
  • Mention that check coverage depends on the support plan, which most candidates miss.
  • Position it correctly next to Config, Security Hub and Compute Optimizer instead of calling it a security scanner.

Concepts covered

Trusted Advisor Checks, Cost Optimization, Service Quotas, Support Plans, Well-Architected

More AWS & Cloud Fundamentals questions