Prev Next

Cloud / Amazon Q Developer Interview questions

Last updated

1. What is Amazon Q Developer? 2. What are the key features of Amazon Q Developer? 3. What is the difference between Amazon Q Developer and CodeWhisperer? 4. What IDEs does Amazon Q Developer support? 5. What programming languages does Amazon Q Developer support? 6. What are inline code suggestions in Amazon Q Developer? 7. How do you accept, reject, or trigger an inline suggestion? 8. What is the Amazon Q chat panel used for? 9. What are the Explain, Refactor, Fix, and Optimize actions? 10. What is the /dev command in Amazon Q Developer? 11. What is the /test command in Amazon Q Developer? 12. What is the /review command in Amazon Q Developer? 13. What is the /doc command in Amazon Q Developer? 14. What is the /transform command in Amazon Q Developer? 15. What are the Amazon Q Developer pricing tiers? 16. How do you sign in to Amazon Q Developer? 17. What is reference tracking in Amazon Q Developer? 18. What is Amazon Q Developer in the AWS Management Console? 19. What is the Amazon Q Developer CLI? 20. What are the @workspace, @file, and @folder context commands? 21. How does Amazon Q Developer handle code privacy and data usage? 22. Explain the execution flow of the /dev agent? 23. Explain the execution flow of /transform for Java upgrades? 24. How does /test generate unit tests? 25. How do security scans in Amazon Q Developer work? 26. Why do we use Amazon Q Developer customizations? 27. How do you create an Amazon Q Developer customization from private repositories? 28. How do project rules shape Amazon Q Developer responses? 29. What is the difference between Amazon Q Developer and GitHub Copilot? 30. When would you choose Amazon Q Developer over Amazon Q Business? 31. How does Amazon Q Developer diagnose AWS console errors? 32. How do you use Amazon Q Developer to ask about your AWS resources? 33. What happens when Amazon Q Developer IDE plugins reach end of support? 34. How does Amazon Q Developer integrate with GitHub and GitLab? 35. How do you administer Amazon Q Developer Pro for a team? 36. How is Amazon Q Developer used for.NET modernization? 37. What is agentic coding in Amazon Q Developer? 38. How does MCP work in Amazon Q Developer? 39. Explain the internal working of @workspace in Amazon Q Developer? 40. How do you troubleshoot missing inline suggestions in Amazon Q Developer? 41. How can you write effective prompts for Amazon Q Developer? 42. How do you safely review code generated by Amazon Q Developer /dev? 43. How can you improve the success rate of /transform on large Java applications? 44. How do you troubleshoot a failed /transform job? 45. How do you handle licensing risk in code generated by Amazon Q Developer? 46. How do you use Amazon Q Developer to write infrastructure as code? 47. Which is better for team conventions: customizations or project rules? 48. What are the limitations of Amazon Q Developer? 49. How do you measure the productivity impact of Amazon Q Developer? 50. How do you migrate from Amazon Q Developer to Kiro?

1. What is Amazon Q Developer?

Amazon Q Developer is AWS's generative AI assistant for software development. It works in your IDE, on the command line, and in the AWS Management Console to suggest code, answer questions, and carry out multi-step tasks such as writing features, tests, and documentation.

It became generally available in April 2024 as the successor to Amazon CodeWhisperer, and it is tuned for AWS work: SDK calls, infrastructure-as-code templates, IAM policies, and troubleshooting.

Status note: AWS blocked new Q Developer signups on May 15, 2026 and will end support for the IDE plugins on April 30, 2027, pointing developers to Kiro. The Q Developer experience inside the AWS Console is not part of that sunset.

Take quiz
Amazon Q Developer is best described as:
a managed vector database for semantic search
a CI/CD service that builds container images
an AWS generative AI assistant for coding and AWS tasks
a billing tool that forecasts monthly AWS spend
Which product does AWS recommend as the successor to the Q Developer IDE plugins?
AWS Cloud9
Amazon CodeCatalyst
AWS CodeBuild
Kiro

2. What are the key features of Amazon Q Developer?

Amazon Q Developer bundles several capabilities under one assistant:

  • Inline code suggestions as you type, from single lines to whole functions
  • Chat in the IDE, CLI, and AWS Console
  • Agent commands: /dev, /test, /review, /doc, /transform
  • Security scanning for vulnerabilities, secrets, and IaC issues
  • Reference tracking for suggestions that resemble open-source code
  • Customizations that adapt suggestions to your private repositories (Pro)
  • Agentic coding and MCP support in the IDE and CLI

Not every feature is equally available on the Free tier, and the IDE-based features are covered by the 2027 end-of-support date.

Take quiz
Which feature flags suggestions that resemble open-source code?
customizations
the /doc agent
workspace indexing
reference tracking
Which of these is a real Q Developer agent command?
/transform
/deploy
/provision
/rollback

3. What is the difference between Amazon Q Developer and CodeWhisperer?

Amazon Q Developer is the renamed and expanded version of Amazon CodeWhisperer. CodeWhisperer focused on inline completions, security scans, and reference tracking. Q Developer kept all of that and added conversational chat, agents, console integration, and a CLI.

CodeWhisperer Amazon Q Developer
Inline suggestions, security scans, reference tracker All of those, plus chat, /dev, /test, /review, /doc, /transform
IDE-centric IDE, CLI, AWS Console, GitHub, and GitLab
Individual and Professional tiers Free and Pro tiers

The switch happened around April 2024, when Q Developer reached general availability.

Take quiz
What happened to CodeWhisperer in April 2024?
it was folded into Amazon Q Developer with chat and agent features added
it was retired with no replacement
it was renamed Kiro
it became a console-only feature
Which capability was NOT part of the original CodeWhisperer?
inline code suggestions
conversational chat in the IDE
reference tracking
security scanning

4. What IDEs does Amazon Q Developer support?

Amazon Q Developer ships as a plugin for four IDE families: Visual Studio Code, JetBrains IDEs (IntelliJ IDEA, PyCharm, WebStorm, and others), Visual Studio, and Eclipse. Support depth varies, since some agent features landed first in VS Code and JetBrains.

It also appears in AWS-hosted environments such as SageMaker AI Studio, JupyterLab, and AWS Glue Studio notebooks.

If you are planning a move to Kiro, note that Kiro IDE is a VS Code-based editor and has no native plugins for Visual Studio or Eclipse. JetBrains users can use Kiro CLI or add Kiro as an agent in JetBrains AI Assistant.

Take quiz
Which IDE pair has no native Kiro plugin?
VS Code and IntelliJ IDEA
Visual Studio and Eclipse
PyCharm and WebStorm
SageMaker Studio and JupyterLab
Q Developer can also be used in which AWS-hosted notebook environments?
only the Lambda console editor
none, notebooks are unsupported
SageMaker AI Studio, JupyterLab, and Glue Studio notebooks
only AWS CloudShell

5. What programming languages does Amazon Q Developer support?

For inline suggestions, Q Developer covers more than 15 languages, including Python, Java, JavaScript, TypeScript, C#, Go, Rust, PHP, Ruby, Kotlin, C, C++, Scala, SQL, and shell scripting. It also handles IaC formats such as CloudFormation, AWS CDK, and Terraform.

Agent commands are narrower. When they launched, /dev targeted Java, Python, JavaScript, and TypeScript, and /test targeted Java (JUnit, Mockito) and Python (pytest, unittest). Check the current docs for your IDE, since coverage has grown over time.

In practice, suggestion quality is strongest for the most widely used languages, so expect noticeably weaker results in niche ones.

Take quiz
The /test command originally targeted which languages?
Go and Rust
C# and PHP
Java and Python
Ruby and Kotlin
Beyond application code, inline suggestions also help with:
only Markdown documents
only spreadsheet formulas
only shell one-liners
IaC such as CloudFormation, CDK, and Terraform

6. What are inline code suggestions in Amazon Q Developer?

Inline suggestions are real-time code completions shown as grey ghost text while you type. They can be a single line or an entire function, and they are based on the current file and surrounding code.

Writing a descriptive comment is the easiest way to get a block-level suggestion:

# upload a local file to S3 and return its object URL
def upload_to_s3(path, bucket, key):
    import boto3
    s3 = boto3.client("s3")
    s3.upload_file(path, bucket, key)
    return f"https://{bucket}.s3.amazonaws.com/{key}"

Only the comment is typed by you in this example; the function body is what Q would typically propose.

Take quiz
What most reliably triggers a block-level suggestion?
a pull request description
a CloudWatch alarm firing
committing to the main branch
a descriptive comment above the code
Inline suggestions are generated from:
the current file and the code around your cursor
only the language's standard library docs
only your last git commit message
your clipboard history

7. How do you accept, reject, or trigger an inline suggestion?

The default controls are the same idea across VS Code and JetBrains, though keybindings can be customized:

Action Default
Accept the suggestion Tab
Reject it Esc, or keep typing
Cycle between suggestions Left and right arrow keys
Trigger manually Option+C (macOS) or Alt+C (Windows/Linux)

You can also pause automatic suggestions from the Amazon Q item in the IDE status bar, which helps when you want to type without interruptions.

If a keybinding clashes with another extension, change it in the IDE's keyboard shortcut settings by searching for Amazon Q.

Take quiz
Which shortcut manually triggers a suggestion on Windows?
Alt+C
Ctrl+Shift+Q
Alt+Enter
Ctrl+F9
Which key accepts the visible suggestion?
Ctrl+Enter
Tab
F5
Shift+Delete

8. What is the Amazon Q chat panel used for?

The chat panel is a conversational interface inside the IDE. You use it to ask coding questions, explain unfamiliar code, generate snippets, debug errors, and get AWS guidance without leaving the editor.

It automatically uses your active file or selected code as context. You can widen that context with @workspace, @file, and @folder, and start agent commands with a slash such as /dev or /test. Code blocks in answers can be copied or inserted at your cursor.

Take quiz
What editor context does chat use automatically?
your entire AWS bill
the active file or selected code
every repository in your GitHub org
your browser history
Code blocks in a chat answer can typically be:
deployed to production with one click
committed to main automatically
copied or inserted at the cursor
exported only as CloudFormation

9. What are the Explain, Refactor, Fix, and Optimize actions?

Select code, right-click, and open the Amazon Q submenu to get quick actions that skip the need to write a prompt.

Action What you get
Explain a plain-language walkthrough of the selection
Refactor a cleaner version with the same behavior
Fix a proposed correction for bugs or errors
Optimize suggestions to improve performance
Send to prompt copies the selection into chat so you can ask your own question

Each result appears in the chat panel, where you can ask follow-up questions.

Take quiz
Which quick action targets a bug in selected code?
Explain
Optimize
Fix
Send to prompt
Explain returns:
a performance profile
a generated unit test file
a dependency upgrade plan
a plain-language walkthrough of the selected code

10. What is the /dev command in Amazon Q Developer?

/dev starts the software development agent. You describe a feature or change in plain English, and it reads your workspace, proposes edits across multiple files, and shows them as a diff you can accept or refine.

It does not commit or merge anything on its own. A setting can allow it to run code and test commands to validate its work. Languages at launch were Java, Python, JavaScript, and TypeScript.

Note that /dev is within the scope of the IDE plugin sunset, so Kiro is the long-term replacement.

Take quiz
After /dev finishes, you normally:
wait for an automatic merge to main
approve it in AWS CodeDeploy
do nothing, files are overwritten silently
review the diff and accept it or ask for changes
/dev is designed for:
implementing a feature across several files from a prompt
autocompleting a single line as you type
auditing IAM policies for drift
forecasting cloud costs

11. What is the /test command in Amazon Q Developer?

/test generates unit tests for a selected function, class, or file and raises test coverage without you writing boilerplate.

  1. Open the file or highlight the code to test.
  2. Type /test in the chat panel.
  3. Review the generated test file as a diff.
  4. Accept it, then run the tests yourself.

Java support covers JUnit 4/5 and Mockito. Python support covers pytest and unittest. Always run and read the tests, since generated assertions can encode the current behavior, including its bugs.

Select one method rather than a whole module, and name the cases you care about, to get focused tests.

Take quiz
Which frameworks does /test name for Java?
JUnit and Mockito
Jest and Mocha
RSpec and Capybara
Cypress and Playwright
Where do you start test generation?
by running q test in CloudShell
by typing /test in the chat panel
by creating a Jenkins job
from the AWS Config console

12. What is the /review command in Amazon Q Developer?

/review runs a code review on your active file or entire project. It looks for security vulnerabilities, hard-coded secrets, IaC misconfigurations, and code quality problems.

Findings are listed with severity and location, and can be grouped by severity or by file. For many findings Q offers a suggested fix that you can apply or send to chat for discussion.

A practical habit is to run it before opening a pull request. Fixing a flagged secret or injection risk locally is far cheaper than finding it in a later audit, and you can rescan after each fix to confirm the finding is gone.

Take quiz
/review can scan:
only commit messages
the active file or the whole project
only Lambda runtime logs
only your billing alarms
Review findings can be grouped by:
author name
AWS Region
severity or file location
CloudTrail event name

13. What is the /doc command in Amazon Q Developer?

/doc generates or updates documentation for a codebase, most commonly a README that explains what the project does, how it is structured, and how to run it.

It lets you either create new docs or update existing ones, and it shows the changes as a diff first. It targeted Java, Python, JavaScript, and TypeScript projects at launch.

Run it after a big refactor, when the old README no longer matches the folder layout. Because the output is a diff, keep the parts that read well and rewrite anything off, since generated docs can state wrong assumptions about behavior.

Take quiz
The main output of /doc is:
a signed SDK release
an architecture cost estimate
README and documentation updates for a project
a unit test report
/doc lets you choose between:
Markdown and Word output
AWS and Azure templates
public and private repositories
creating new docs and updating existing docs

14. What is the /transform command in Amazon Q Developer?

/transform runs the code transformation agent, mainly used to upgrade Java 8 or 11 applications to newer Java versions such as 17 or 21. A related capability ports .NET Framework apps to cross-platform .NET.

It builds your project, analyzes it, produces a plan, applies changes, and returns a diff plus a summary. Free tier users get 1,000 lines of code per month, and Pro users get 4,000 per user, pooled at the payer account.

Code transformation is covered by the 2027 end-of-support notice for the IDE plugins.

Take quiz
Which projects are eligible for the Java upgrade?
Node.js 12 projects
Python 2 scripts
PHP 5 sites
Java 8 or 11 projects
What does /transform return when it finishes?
a code diff and a summary of changes
a deployed CloudFormation stack
a signed container image
a new IAM role

15. What are the Amazon Q Developer pricing tiers?

Free Pro
Price $0 $19 per user per month
Sign-in AWS Builder ID IAM Identity Center
Agentic requests 50 per month much higher limits
Transformation 1,000 lines per month 4,000 lines per user, pooled; $0.003 per extra line
Extras - admin controls, customizations, IP indemnity

Since May 15, 2026 AWS has blocked new Free tier and new Pro subscriptions. Existing Pro subscribers can keep using the plugins until April 30, 2027.

Allowances are separate: chat, agentic requests, and transformation lines are counted differently, so a team doing a big Java migration can exhaust transformation lines long before touching the agentic request limit.

Take quiz
The Pro tier overage rate for transformation is:
$0.003 per line of code
$0.03 per line of code
$19 per request
$1 per project
Pro tier costs:
$9 flat per organization
$19 per user per month
$39 per user per month
nothing, it is free

16. How do you sign in to Amazon Q Developer?

The method depends on your tier.

  1. Install the Amazon Q extension in your IDE and open the Amazon Q panel.
  2. Free tier: choose personal sign-in and authenticate with an AWS Builder ID, a free identity that is not tied to an AWS account.
  3. Pro tier: choose organization sign-in, enter your IAM Identity Center start URL and region, then authenticate.
  4. Approve the browser prompt, return to the IDE, and the panel becomes active.

Admins assign Pro subscriptions to users or groups in the Q Developer console before the user can sign in.

Take quiz
Pro users authenticate with:
a Builder ID only
IAM Identity Center
the root account email
an SSH key pair
An AWS Builder ID is:
an IAM role ARN
an S3 access key
a free personal identity not tied to an AWS account
a CloudFormation stack name

17. What is reference tracking in Amazon Q Developer?

Reference tracking flags inline suggestions that resemble public, open-source training data. For each match it shows the license and the repository URL, so you can decide whether to use the code and how to attribute it.

You can also choose to suppress public-code suggestions altogether. On Pro, administrators can enforce that setting for the whole organization.

This helps in regulated or open-source-sensitive projects, because a visible license such as GPL or Apache 2.0 lets legal review happen at coding time rather than at release. It only covers matches it detects, so it complements license scanning in CI.

Take quiz
What does the reference tracker show for a flagged suggestion?
the version of the underlying model
the AWS Region where it was trained
the license and source repository of the matching public code
the original author's email address
If public-code suggestions are suppressed:
all suggestions are disabled
chat stops working
usage billing doubles
matching suggestions are filtered out

18. What is Amazon Q Developer in the AWS Management Console?

It is a chat assistant built into the AWS Console, usually opened from a side panel. You can ask how services work, which resources exist in your account, what a bill line item means, or how to fix an error.

It also powers Diagnose with Amazon Q for console errors, and is reachable from the AWS Console Mobile App and from Slack or Microsoft Teams through AWS chat applications.

This console experience is not part of the IDE plugin end-of-support announcement.

Take quiz
The console experience is affected by the IDE plugin sunset:
Yes, it ends on the same date
Yes, but only the mobile app
Only the Slack integration is affected
No, it continues
Which console-side feature helps with errors?
Diagnose with Amazon Q
Auto Scaling Advisor
CloudFormation Drift Sync
Trusted Advisor Rewrite

19. What is the Amazon Q Developer CLI?

It was a terminal tool offering agentic chat and command-line help. Typical uses were q chat for multi-step tasks with file and shell access, and q translate to turn a plain-English request into a shell command. It also provided autocomplete for hundreds of CLIs.

q chat
q translate "list s3 buckets sorted by creation date"

The Q Developer CLI has since been renamed Kiro CLI. Kiro provides an upgrade guide covering configuration migration and command changes.

Check the Kiro upgrade guide before scripting around the old command names.

Take quiz
The Q Developer CLI was renamed to:
Kiro CLI
Bedrock CLI
CodeWhisperer Shell
AWS Copilot CLI
q translate is used to:
deploy a stack to another Region
turn a plain-English request into a shell command
translate app strings into other languages
export chat history to S3

20. What are the @workspace, @file, and @folder context commands?

These @ commands tell chat where to look before it answers.

Command Effect
@workspace searches the indexed project and includes relevant snippets
@file adds one named file as context
@folder adds a whole folder as context
@prompt inserts a saved reusable prompt

Use @workspace for broad questions like how a feature works end to end, and @file when the answer lives in a known place.

A useful pattern is to start with @workspace to locate the right area, then switch to @file on the file it names so follow-up answers stay precise.

Take quiz
Which command adds one named file to the context?
@workspace
@file
@folder
@repo
Which command pulls in relevant code from the whole indexed project?
@file
@prompt
@workspace
@clipboard

21. How does Amazon Q Developer handle code privacy and data usage?

The two tiers differ. On Pro, your content is not used to improve the service or train underlying models. On the Free tier, content may be used for service improvement unless you opt out in the IDE settings.

Pro also adds IP indemnity, meaning AWS defends eligible customers against claims that generated suggestions infringe, and lets administrators set organization-wide policies such as suppressing public-code matches.

Regardless of tier, treat prompts as data leaving your machine. Do not paste secrets or regulated data into chat, and use your organization's approved tier and sign-in method.

For high-sensitivity code, ask your security team whether Pro-only access and an organization policy are required before rollout.

Take quiz
On the Pro tier, your content is:
always used to retrain public models
published to a shared snippet library
not used to improve the service
stored in your S3 bucket for billing
Which benefit comes with the Pro tier but not Free?
unlimited transformation lines
a dedicated GPU
free AWS credits
IP indemnity

22. Explain the execution flow of the /dev agent?

The /dev agent runs a plan-generate-review loop that ends with you approving the result.

flowchart TD
  A["User types /dev and describes the task"] --> B["Agent scans workspace for relevant files"]
  B --> C["Agent drafts a plan and code changes"]
  C --> D["Changes shown as a diff"]
  D --> E{Accept?}
  E -- Yes --> F["Files written to workspace"]
  E -- No --> G["User gives feedback"]
  G --> C
  1. Prompt: you describe the feature in natural language.
  2. Context gathering: the agent reads relevant workspace files.
  3. Generation: it proposes edits across files, optionally running code or tests if that setting is on.
  4. Review: you inspect the diff and either accept or give feedback for another pass.

Nothing is committed or pushed automatically.

Take quiz
In the /dev loop, what ends the cycle?
a CloudWatch alarm clears
the agent merges to main on its own
a Lambda timeout expires
you accept the proposed diff
If you reject a /dev result, the agent:
uses your feedback to generate another attempt
deletes the workspace
opens a support case
reverts your last git commit

23. Explain the execution flow of /transform for Java upgrades?

A Java upgrade job is a build, analyze, plan, transform, verify pipeline.

sequenceDiagram
  participant Dev as Developer
  participant IDE as IDE plugin
  participant Q as Transformation agent
  Dev->>IDE: /transform, choose module and target Java version
  IDE->>IDE: Build project locally
  IDE->>Q: Upload code and build output
  Q->>Q: Analyze dependencies, produce plan
  Q->>Q: Apply changes, build, fix errors
  Q-->>IDE: Diff and summary
  Dev->>IDE: Review and accept
  1. Q first builds the project locally to prove the starting point compiles.
  2. The code and dependency information go to the agent, which creates a transformation plan.
  3. It applies updates, rebuilds, and tries to fix compile errors iteratively.
  4. You get a diff and a summary to review before accepting.

Jobs often take minutes to hours, depending on the size of the codebase.

Take quiz
The first step of a Java upgrade job is:
building the project locally
deploying to production
creating an IAM role
running a load test
What do you receive at the end of the job?
a new Maven repository
a diff and summary to review
a hosted staging URL
an AMI containing the upgraded app

24. How does /test generate unit tests?

/test reads the selected code and its surrounding project context, works out inputs, branches, and dependencies, then writes tests that exercise those paths.

For Java it targets JUnit and Mockito, mocking collaborators where needed. For Python it targets pytest or unittest. The output arrives as a new or updated test file you review as a diff.

Treat the result as a head start. Generated assertions often mirror current behavior, so a bug in the code can be baked into the test. Add edge cases and negative cases yourself.

To improve results, select a single method, mention cases such as null inputs or timeouts, and ask Q to extend the tests after you review the first pass.

Take quiz
Why must you review generated tests carefully?
they always delete existing tests
assertions may simply mirror current behavior, including bugs
they cannot compile
they run only in production
For collaborators in Java code, /test typically uses:
Terraform modules
CloudFormation macros
Mockito mocks
Lambda layers

25. How do security scans in Amazon Q Developer work?

Security scanning looks for issues such as injection flaws, insecure crypto, hard-coded credentials, and risky IaC settings. It can run on the active file as you work, or on the whole project via /review.

Each finding lists severity, file, and a description, and often a proposed fix. You can apply the fix, send it to chat for discussion, or ignore it.

A scan is a first line of defense. It does not replace SAST in CI, dependency scanning, or human review, so keep your pipeline checks in place.

Fix by severity, with secrets and injection first. After applying a fix, rescan the file, and rotate any real credential that was ever committed, because deleting it from code does not make it safe.

Take quiz
Which problem can a Q security scan detect?
slow DNS lookups
unused IAM users in the console
hard-coded credentials
idle EC2 instances
Security scanning should be treated as:
a complete replacement for SAST
a runtime WAF
a license auditor
a first line of defense alongside CI checks

26. Why do we use Amazon Q Developer customizations?

A customization makes suggestions follow your internal libraries, APIs, and coding conventions instead of only public patterns. Without one, Q does not know that your team wraps logging in a company SDK or that a particular internal client exists.

It is a Pro feature. Admins build it from your private code, evaluate it, and activate it for chosen users or groups. Developers then see more relevant inline and chat suggestions, with less manual correction of naming and API usage.

A typical example is an internal HTTP client or a shared logging wrapper. Without a customization Q might suggest raw requests calls, while with one it can suggest your wrapper with the right method names. The benefit grows with the size and uniqueness of your internal code.

Take quiz
What problem do customizations mainly solve?
slow IDE start times
missing AWS Region support
lack of a dark theme
suggestions ignoring your internal libraries and conventions
Which tier offers customizations?
Pro
Free only
neither tier
only the CLI

27. How do you create an Amazon Q Developer customization from private repositories?

  1. An admin opens the Q Developer console and chooses Customizations.
  2. Select the data source: an S3 bucket or a repository connection through AWS CodeConnections (for example GitHub, GitLab, or Bitbucket).
  3. Grant the required access and start the build.
  4. Review the evaluation results to judge quality.
  5. Activate the customization and assign it to users or groups.

Good source code matters. Clean, representative, well-maintained repositories give better results than a dump of legacy code, and updating the customization as your code evolves keeps it fresh.

The connection only needs read access to the chosen repositories. The evaluation helps you decide whether the customization really beats the base model before developers get it, and it is worth rebuilding periodically as the repositories change.

Take quiz
A customization can pull source from:
an S3 bucket or a code repository connection
only a local USB drive
CloudTrail logs
only Parameter Store values
Before activating, an admin should:
delete the repositories
review the evaluation results
disable IAM Identity Center
convert all code to Java

28. How do project rules shape Amazon Q Developer responses?

Project rules are Markdown files stored in .amazonq/rules/ that tell Q how your project works. Q reads them and applies them to chat and agent responses.

# .amazonq/rules/python-style.md
- Use type hints on every public function.
- Prefer boto3 resources over raw clients in new code.
- Never log request bodies.

Because the files live in the repository, the whole team shares them through version control. Keep each rule short, specific, and testable; vague rules like 'write good code' do nothing.

Rules can also state project facts, like the test command to run or folders to ignore, which saves repeating them in every prompt. Review them when conventions change so Q does not follow stale instructions.

Take quiz
Where are project rules stored?
in an S3 bucket named q-rules
in .amazonq/rules as Markdown files
inside the CloudFormation template
in IAM policy documents
Why are project rules easy to share?
they sync through Route 53
they are stored in DynamoDB
they live in the repo and travel with version control
they are emailed nightly

29. What is the difference between Amazon Q Developer and GitHub Copilot?

Both offer inline completions, chat, and agent features. The differences are mostly ecosystem and positioning.

Amazon Q Developer GitHub Copilot
Deep AWS knowledge: services, IAM, IaC, console troubleshooting Broad general-purpose coding focus tied to GitHub
Java and .NET transformation agents No equivalent upgrade agent of the same kind
Pro priced at $19 per user per month with IP indemnity Tiered individual, business, and enterprise plans
IDE plugins end support April 30, 2027; Kiro is the successor Actively developed across many editors

For a team heavily invested in AWS, Q's console and infrastructure help was a draw. Today the sunset timeline is a major factor in any evaluation.

Take quiz
A distinctive Q Developer strength is:
native Xbox integration
photo editing
AWS-specific help such as IAM, IaC, and console troubleshooting
a built-in spreadsheet engine
What must you factor into a 2026 evaluation of Q Developer?
the product has no chat feature
it cannot run in VS Code
it supports only Python
IDE plugin support ends April 30, 2027

30. When would you choose Amazon Q Developer over Amazon Q Business?

Pick Q Developer when the users are builders working on code, infrastructure, or AWS troubleshooting. Pick Q Business when employees need answers from company knowledge such as wikis, tickets, and documents.

Q Developer Q Business
Audience developers and operators general employees
Data your code and AWS environment enterprise content connectors
Where IDE, CLI, console web app and integrations

They are different products with different pricing and administration.

Rule of thumb: 'why does this Lambda fail' or 'write this function' is a Developer question, while 'what is our travel policy' or 'summarize this ticket thread' is a Business question. Some organizations run both, since the audiences and billing are separate.

Take quiz
Which product is aimed at answering employee questions from company documents?
Amazon Q Developer
AWS CodeArtifact
Amazon Inspector
Amazon Q Business
Q Developer is meant for:
developers writing code and operating AWS
HR policy lookup
payroll processing
email marketing

31. How does Amazon Q Developer diagnose AWS console errors?

When a console action fails, an error banner can offer Diagnose with Amazon Q. Q reads the error context, explains the likely cause, and proposes next steps, such as a missing IAM permission, a service quota, or a misconfigured resource.

It is most useful for permission denials and configuration mistakes. You should still confirm the suggested fix against the service documentation before changing production settings, and apply least privilege rather than broad wildcard policies.

Typical findings include a Lambda execution role missing an action, a service quota being hit, or a security group blocking traffic. Treat Q's explanation as a hypothesis and confirm it in CloudTrail or the service's own error detail when stakes are high.

Take quiz
A typical cause Q might identify for a failed console action is:
a missing IAM permission
a typo in your IDE theme
a stale browser font
an unused Git tag
When Q suggests a fix for a permission error, you should:
attach AdministratorAccess immediately
verify it and keep permissions least-privilege
delete the role
disable CloudTrail

32. How do you use Amazon Q Developer to ask about your AWS resources?

In the console chat you can ask natural-language questions such as which of my S3 buckets are public or what EC2 instances are running in us-east-1. Q calls the relevant AWS APIs using your permissions and summarizes the result.

This means answers are limited by your IAM access. If you lack permission to list a service, Q cannot show it either. Cost questions follow the same pattern, drawing on billing data when your role allows it.

Treat answers as a snapshot at question time, and verify in the owning service's console before acting on them, especially for cost or security decisions.

Take quiz
Q answers questions about your resources using:
a hidden admin role
your own IAM permissions
public AWS documentation only
data from other customers
If you lack permission to list a service, Q:
lists them anyway
grants you the permission
cannot show those resources to you
emails an admin

33. What happens when Amazon Q Developer IDE plugins reach end of support?

On April 30, 2027, AWS stops supporting the Q Developer IDE plugins and paid subscriptions. The plugins stay listed on IDE marketplaces with a deprecation notice, and critical bug fixes continue until then.

  1. May 15, 2026: new Free tier and new subscription signups blocked.
  2. May 29, 2026: the newest frontier models moved to Kiro only.
  3. April 30, 2027: end of support for the plugins, including /dev, customizations, and code transformation delivered through the plugins.

Not affected: Q Developer in the AWS Management Console, the Console Mobile App, and chat integrations for Slack and Teams.

Plan the exit early: inventory who uses which plugin, check that no workflow depends on /transform or customizations, and decide per team whether to move to Kiro or another tool before the deadline.

Take quiz
When do the Q Developer IDE plugins reach end of support?
December 31, 2026
May 15, 2026
April 30, 2027
June 30, 2028
Which experience continues after the sunset?
the VS Code plugin
the Eclipse plugin
the JetBrains plugin
Q Developer in the AWS Management Console

34. How does Amazon Q Developer integrate with GitHub and GitLab?

GitHub: a preview let you install the Q app on a repository, label an issue, and have the agent open a pull request, for feature work or Java transformation. Progress shows up as issue comments.

GitLab: GitLab Duo with Amazon Q brought /dev-style feature work, code review, and Java upgrades into merge request workflows.

In both cases the result is a pull or merge request that humans review. Check the current status of these integrations, because they were preview-stage and may be affected by the move to Kiro.

An admin has to install or connect each integration with limited repository permissions. Review that scope, and keep branch protection requiring human approval so agent pull requests cannot merge unreviewed.

Take quiz
In the GitHub integration the agent delivers its work as:
a direct push to main
a CloudFormation stack
an S3 object
a pull request for review
GitLab's integration was branded as:
GitLab Duo with Amazon Q
GitLab Lambda Runner
Amazon CodeCommit Duo
Q for GitLab Pages

35. How do you administer Amazon Q Developer Pro for a team?

  1. Enable IAM Identity Center and create users or groups.
  2. In the Q Developer console, subscribe those users or groups to Pro.
  3. Set organization policies such as public-code suppression and telemetry settings.
  4. Optionally create and assign customizations.
  5. Share the Identity Center start URL so developers can sign in from the IDE.

The admin dashboard shows usage data such as active users and accepted suggestions. Subscriptions bill per user per month, and transformation lines are pooled at the payer account. Remember that new subscription creation has been blocked since May 15, 2026.

Check the dashboard regularly for inactive seats, because unused subscriptions still bill per user per month.

Take quiz
Pro subscriptions are assigned to:
IAM Identity Center users or groups
EC2 instance IDs
S3 bucket names
CloudFront distributions
Transformation line limits for Pro are pooled at:
each IDE window
the payer account level
each Git branch
each AWS Region only

36. How is Amazon Q Developer used for.NET modernization?

The .NET transformation capability ports .NET Framework applications to cross-platform .NET so they can run on Linux and in containers. It analyzes projects and dependencies, rewrites incompatible APIs, and reports what needs manual attention.

It was available through Visual Studio and a web experience. Broader modernization work such as mainframe and VMware migrations moved to the separate AWS Transform service, so check which product owns the workload before planning.

Like all transformation output, the result needs a build and a full test run.

A typical sequence is to pick a low-risk project first, run the port, work through the manual items the report lists, and run the app on Linux before touching larger systems.

Take quiz
The .NET capability ports apps from:
C# to Java
.NET Framework to cross-platform .NET
ASP.NET to PHP
.NET Core to VB6
Mainframe and VMware modernization are handled by:
AWS Config
Amazon Macie
AWS Transform
AWS Backup

37. What is agentic coding in Amazon Q Developer?

Agentic coding lets Q act, not just answer. In the IDE chat it can read and write files, list directories, search the project, and run shell commands, then use the results to decide its next step.

The difference from /dev is the loop. /dev plans and proposes a diff in one round. Agentic chat iterates: it edits, runs the tests, sees a failure, edits again, and keeps going. It asks permission before sensitive actions like running commands, and you can trust specific tools to reduce prompts.

Because it can execute commands, give it a clean git branch and review every change.

Typical uses are fixing a failing test, adding a small endpoint, or renaming a symbol across many files. For large architectural changes, plan the steps yourself and have Q carry them out one at a time. Review each requested command, and avoid blanket-trusting destructive tools such as ones that delete files or push to remote repositories.

Take quiz
What can Q do in agentic mode that plain chat cannot?
only suggest the next word
bill you in real time
read and write files and run commands, then iterate
deploy to every Region
A sensible safeguard before agentic runs is:
disable version control
run with root on the server
turn off all tests
use a clean git branch and review all changes

38. How does MCP work in Amazon Q Developer?

MCP (Model Context Protocol) lets Q connect to external tools and data through MCP servers. Q acts as an MCP client: it discovers the tools a server exposes and calls them when a task needs them, such as querying a database or reading tickets.

Servers are declared in a JSON file, usually global in your AWS config folder or per-workspace under .amazonq/:

{
  "mcpServers": {
    "docs": {
      "command": "npx",
      "args": ["-y", "my-docs-mcp-server"]
    }
  }
}

Only add servers you trust. A server can run local commands and read data, so review what each tool does and prefer least-privilege credentials.

Typical servers connect Q to issue trackers, internal documentation, databases, or cloud APIs. You can disable tools you do not need. When something fails, first check that the server starts from a terminal, since most failures are a missing runtime such as Node or Python on the PATH.

Take quiz
In MCP, Amazon Q acts as the:
DNS resolver
load balancer
IAM policy engine
client that calls tools from servers
Why must you trust the MCP servers you add?
they can run local commands and access data
they change your Git history format
they raise your Free tier limit
they reset your IAM Identity Center password

39. Explain the internal working of @workspace in Amazon Q Developer?

@workspace uses retrieval. Q builds an index of your project files on your machine. When you ask a question with @workspace, it searches that index for the most relevant chunks of code and docs, then sends those snippets along with your question to the model.

  1. Indexing: project files are scanned and indexed in the IDE.
  2. Retrieval: your question is matched against the index.
  3. Prompt assembly: top matches plus your question form the prompt.
  4. Answer: the model responds, citing the files it used.

There is a toggle for workspace indexing in settings, and large repositories can make indexing heavy on CPU and memory. Excluding build folders and dependencies improves both speed and answer quality.

If answers seem to miss relevant code, confirm the index finished building and that the files are not excluded by ignore rules. Narrower questions also help, because retrieval returns only a limited number of chunks.

Take quiz
@workspace works by:
retrieving relevant indexed snippets and adding them to the prompt
uploading your whole disk each time
recompiling the project
copying the repo into S3
What improves indexing speed and answer quality?
indexing node_modules too
excluding build output and dependency folders
renaming every file
closing the IDE during chat

40. How do you troubleshoot missing inline suggestions in Amazon Q Developer?

Work from the simplest cause outward:

  1. Authentication: confirm you are signed in and the session has not expired.
  2. Toggle: check the status bar that auto-suggestions are not paused. Try the manual trigger.
  3. File type: make sure the language is supported and the file is not excluded or huge.
  4. Conflicts: disable other completion plugins that fight for the same shortcut.
  5. Network: check proxy, firewall, and VPN rules for the Q endpoints.
  6. Permissions (IAM users): the identity needs the relevant codewhisperer actions.
  7. Subscription: confirm Pro assignment, and check whether your free quota or account state changed.

Check the IDE's Amazon Q log output for the actual error before reinstalling the plugin.

A quick isolation test is to open a brand-new empty file in a supported language. If suggestions appear there, the problem is project-specific, such as exclusions or a very large file, not your account.

Take quiz
What is a good first check when suggestions vanish?
reformat the disk
confirm you are still signed in and not paused
rotate your IAM access keys
rebuild the AMI
Where can you find detailed error information?
the Route 53 console
an S3 inventory report
the Amazon Q log output in the IDE
AWS Budgets

41. How can you write effective prompts for Amazon Q Developer?

Good prompts are specific, scoped, and grounded in context.

  • Name the language, framework, and version.
  • State inputs, outputs, and constraints, such as 'no new dependencies'.
  • Point at context with @file or @workspace instead of pasting.
  • Break big tasks into steps and verify each one.
  • Give a short example of the expected style.
Weak Better
Make an upload function Write a Python 3.12 function using boto3 that uploads a file to S3 with server-side encryption and raises on failure

If the first answer is off, refine with a follow-up rather than starting over.

Prompts can also set a role and a format, such as a short diff-style answer or a table of trade-offs. When a result misses, say exactly what is wrong, like 'this swallows exceptions', rather than rephrasing the same request. Saved prompts via @prompt keep your best ones reusable across the team.

Take quiz
Which prompt will most likely give a good result?
a single vague word
a full-page unrelated essay
one naming language, version, and constraints
an empty message
To supply existing code context efficiently you should:
retype it from memory
email it to yourself
post it to a public gist
reference it with @file or @workspace

42. How do you safely review code generated by Amazon Q Developer /dev?

Treat the output like a pull request from a new teammate: useful, but unverified.

  1. Start from a clean branch so you can discard everything easily.
  2. Read the full diff, including deleted lines and config changes.
  3. Check dependencies it added, especially unfamiliar packages, for legitimacy and licenses.
  4. Run the build, unit tests, linters, and a /review scan.
  5. Look for hard-coded values, broad IAM permissions, and missing error handling.
  6. Merge only through your normal PR and CI process.

Never let generated code skip the checks that human code goes through.

Watch for side effects the diff may hide: changed build files, loosened lint rules, new environment variables, or tests weakened to make them pass. Ask Q to explain any change you do not understand, and keep pull requests small so reviewers can check them properly.

Take quiz
Before running /dev, a good habit is to:
delete the .git folder
run it as an administrator
disable all tests
work on a clean branch
Which diff detail deserves extra suspicion?
newly added unfamiliar dependencies
added blank lines
renamed local variables only
a changed code comment

43. How can you improve the success rate of /transform on large Java applications?

Most failures come from builds that were already fragile, so prepare first.

  • Make sure it builds cleanly with the documented JDK and build tool before starting.
  • Transform module by module instead of the whole monolith in one shot.
  • Remove or replace unmaintained dependencies that block newer Java versions.
  • Keep an eye on the lines-of-code limits for your tier, since large submissions can exceed them.
  • Commit a clean baseline and run the full test suite before and after.

Smaller, compilable units also make the diff reviewable. If a project is too large for the Free tier limit, split it or move to Pro.

After a run, compare dependency versions in the diff against your approved list. Some libraries need a major upgrade that changes APIs Q may only partly migrate, so reserve time for manual fixes and test the running app, not just the compile.

Take quiz
A recommended approach for a big monolith is to:
transform it module by module
transform it all in one go with failing builds
delete the tests first
switch JDK vendors mid-run
What should be true before you start a transformation?
the repo is empty
the project builds cleanly
all unit tests are removed
the code is written in COBOL

44. How do you troubleshoot a failed /transform job?

First read the job summary and logs, since they usually name the failing step.

  1. Local build failure: fix compile errors or missing JDK and build tool setup, then retry.
  2. Unsupported dependency: upgrade or replace the blocker manually, then rerun.
  3. Size limit: reduce the submitted code or move to a tier with higher limits.
  4. Partial result: accept the changes that work and finish the remaining files by hand.
  5. Persistent failures: collect logs and contact AWS Support.

Remember the plugins reach end of support on April 30, 2027, so plan long-running migrations with that date in mind.

Keep notes on which module failed and why. The same root cause, such as an old Lombok or Spring version, often appears in several modules and can be fixed once in the parent build file.

Take quiz
The first place to look for why a job failed is:
Route 53 hosted zones
the job summary and logs
AWS Budgets
the Trusted Advisor dashboard
If the project is too large for your limit, you can:
rename the repo
turn off the IDE
split it or use a tier with higher limits
switch the keyboard layout

45. How do you handle licensing risk in code generated by Amazon Q Developer?

Combine tooling with process.

  1. Keep reference tracking on so matches to public code show their license and source.
  2. Consider suppressing public-code suggestions if your policy forbids copyleft code.
  3. Review any flagged snippet and attribute or rewrite it as your policy requires.
  4. Run license and SCA scanning in CI, since dependencies matter as much as snippets.
  5. On Pro, note that IP indemnity covers eligible claims, but it does not remove your duty to review.

Document your policy so developers know what to do when a suggestion carries a license notice.

For high-risk work, such as proprietary or safety-critical products, keep a record of reviewed flagged snippets as evidence of due diligence. If a snippet matches a copyleft license you cannot accept, rewrite it from the requirement instead of editing the generated version.

Take quiz
A flagged suggestion tells you its:
compiler flags
CI runtime
license and source repository
author's phone number
IP indemnity on Pro means:
you never need to review code
it removes all license obligations
it applies to all third-party libraries
AWS defends eligible claims, but you should still review

46. How do you use Amazon Q Developer to write infrastructure as code?

Q understands CloudFormation, AWS CDK, and Terraform. Describe the architecture in a comment or chat prompt, and let it generate the resource definitions, then check the details.

# CloudFormation: private S3 bucket with versioning and encryption
Resources:
  DataBucket:
    Type: AWS::S3::Bucket
    Properties:
      VersioningConfiguration:
        Status: Enabled
      BucketEncryption:
        ServerSideEncryptionConfiguration:
          - ServerSideEncryptionByDefault:
              SSEAlgorithm: AES256
      PublicAccessBlockConfiguration:
        BlockPublicAcls: true
        BlockPublicPolicy: true
        IgnorePublicAcls: true
        RestrictPublicBuckets: true

Run /review to catch misconfigurations, then validate with cfn-lint or terraform validate before deploying. Check IAM statements for overly broad actions.

Be careful with security-sensitive defaults. Check IAM policies for wildcard actions, security groups for open CIDR ranges, and encryption and logging settings, since a template that deploys is not necessarily secure. Terraform users should read the plan before applying, and CDK users can inspect the synthesized template.

Take quiz
After Q generates a template, you should:
deploy it directly to production
delete the stack first
remove all encryption settings
lint, review, and validate before deploying
Which setting in the example prevents public bucket access?
PublicAccessBlockConfiguration
VersioningConfiguration
BucketName
DeletionPolicy

47. Which is better for team conventions: customizations or project rules?

Start with project rules, and add a customization when rules are not enough.

Project rules Customization
Setup a Markdown file in the repo admin builds from private code
Tier any user Pro
Best for explicit style and process instructions learning internal APIs and patterns from code
Update edit and commit rebuild or refresh

Rules are cheap, transparent, and version-controlled, so they win for style guides. Customizations help most when the main pain is that Q does not know your internal libraries. Many teams use both.

A sensible path is to start with a short rules file, see where Q still gets internal APIs wrong, and only then justify building a customization. Both depend on the IDE plugins, which end support on April 30, 2027, so plan how the same guidance will be expressed as Kiro steering files.

Take quiz
Which option is best for teaching Q your internal API usage from code?
a customization
a README typo fix
a CloudWatch dashboard
an S3 lifecycle rule
Project rules are best described as:
an admin-only console job
version-controlled Markdown instructions in the repo
a Lambda extension
a billing alert

48. What are the limitations of Amazon Q Developer?

Know these before relying on it:

  • Can be wrong. Output may look right but contain bugs or outdated APIs.
  • Context limits. It sees a slice of a big codebase, not all of it.
  • Tier limits. Free caps agentic requests and transformation lines.
  • Language coverage differs between inline suggestions and agents.
  • Plugin lifecycle. Signups are closed and IDE support ends April 30, 2027.
  • Editor gaps. Kiro has no Visual Studio or Eclipse plugin.

Use it to speed up work, and keep tests, review, and security gates in place.

None of these are reasons to avoid the tool. They are reasons to add checks: tests, review, security scanning, and a migration plan for the tooling itself. Compare it against Kiro or other assistants with those limits in mind.

Take quiz
A realistic limitation of Q's generated code is that it:
is always production ready
may look correct but still contain bugs
cannot be edited
is auto-merged
Which lifecycle fact limits long-term planning?
Q has no inline suggestions
Q works only offline
IDE plugin support ends April 30, 2027
Q supports only COBOL

49. How do you measure the productivity impact of Amazon Q Developer?

Use a mix of tool metrics and delivery metrics.

  • Tool metrics: the admin dashboard shows active users and how many suggestions were accepted.
  • Delivery metrics: cycle time, pull request lead time, and defect rates before and after rollout.
  • Survey data: developer satisfaction and perceived time saved.

Acceptance rate alone can mislead, since accepted code might be edited later or be low value. Compare a pilot group with a control group over several sprints and watch quality indicators like escaped bugs, not only speed.

A practical pilot lasts a month or two, uses the same team's earlier numbers as a baseline, and tracks a small set of metrics decided before starting. Avoid judging by anecdotes from the most enthusiastic users, who are not representative.

Take quiz
Why is acceptance rate alone a weak metric?
it is always 100%
it measures server uptime
accepted code may later be rewritten or be low value
it counts IAM roles
A fair way to judge impact is to:
ask one developer once
only count lines of code
ignore bug rates
compare a pilot group with a control group

50. How do you migrate from Amazon Q Developer to Kiro?

The path depends on how you use Q today.

Current use Move to
VS Code plugin Kiro IDE (VS Code-based; extensions, themes, and settings carry over)
JetBrains plugin Kiro IDE, or Kiro CLI alongside your editor
Q Developer CLI Kiro CLI; follow the Q CLI upgrade guide
Visual Studio or Eclipse no native Kiro plugin; use Kiro IDE or CLI, or evaluate alternatives

  1. Install Kiro and sign in with your Kiro subscription.
  2. Move project guidance from .amazonq/rules into Kiro steering files.
  3. Re-create MCP server configuration.
  4. Replace customizations with steering and specs.
  5. Run both tools in parallel, then retire Q before April 30, 2027.

Confirm each step against the current Kiro migration guide, since details change.

Do not delete your Q configuration until Kiro is verified. Run both side by side and test the workflows your team depends on most, such as test generation, review, and Java upgrades, because the feature mapping is not one to one.

Take quiz
Kiro IDE is based on:
the Eclipse platform
Visual Studio 2022
AWS Cloud9
a VS Code foundation
Where does project guidance move to in Kiro?
steering files
CloudFormation outputs
Route 53 records
DynamoDB tables
«
»

Comments & Discussions