Amazon Q Developer β What It Actually Does
Q Developer is a full AI coding assistant β not just autocomplete. Key capabilities:
Contextual code suggestions β understands YOUR project's codebase, not just generic patterns. It reads your existing code to give relevant suggestions.
Code generation + refactoring β generate new functions, refactor existing ones, rename variables across files.
API guidance β explains AWS service APIs and how to use them correctly in context.
Performance optimization β identifies bottlenecks and suggests improvements.
Security analysis β flags security issues in code (one of many capabilities, not the only one).
The exam tries to limit Q Developer to "security analysis only" or "just code completions and documentation lookups." Q Developer does all of the above plus code transformation, test generation, and modernization.
Key word: contextual β it understands your project's specific code, dependencies, and patterns. Not just generic AWS documentation lookups.
Inference Profiles for Cost Attribution
Inference profiles are a routing and tagging mechanism. When you invoke Bedrock through an inference profile, AWS automatically tags the API calls with the profile's metadata for cost reporting.
Create one inference profile per business unit / cost center / clinic. Invoke models via the profile ARN instead of the model ARN directly. AWS Cost Explorer shows costs broken down by profile.
Scenario: "medical company, multiple clinics, need to track Bedrock costs per clinic" β create one inference profile per clinic ID β each Lambda invocation uses the clinic's profile β cost reports per clinic.
Routing by S3 key prefix or tagging Lambda functions doesn't give you clean Bedrock cost attribution. Only inference profiles give you direct cost breakdown at the Bedrock API level.
Bedrock Flows vs Agents vs Strands β When to Use Each
| Service | Use For | Dynamic? |
| Bedrock Flows | Fixed multi-step LLM pipelines with predictable paths | No β steps predefined |
| Bedrock Agents | Single domain agent with defined action groups (tools) | Yes β LLM picks which tool |
| Strands SDK | Multi-specialist agents, MCP tool integration, complex orchestration | Yes β dynamic at runtime |
Fixed sequential document summarization pipeline β Flows.
Customer service bot that can look up orders OR check inventory β Bedrock Agent.
Platform with billing, tech support, AND account agents, each needing their own context β Strands.