Developers on a GenAI team spend hours writing boilerplate SDK code and unit tests. Which AWS tool can generate and refactor that code inside their IDE?
- Exam domain
- Implementation and Integration26% of the exam
- Difficulty
- Easy
- In this mock
- 19 questions on this domainPractise this domain
Why the exam asks this
Task 2.5: Implement application integration patterns and development tools.
Objective in the exam guide: Skill 2.5.4: Enhance developer productivity to accelerate development workflows for GenAI applications (for example, by using Amazon Q Developer to generate and refactor code).
Developer time is the scarcest resource on GenAI teams. Knowing the AWS tool that speeds up the coding itself is part of the role.
Why A is the answer
Amazon Q Developer
Amazon Q Developer is a generative AI assistant for software development that can generate, explain and refactor code.
Remember: AI help writing and refactoring code: Amazon Q Developer.
How it works
Amazon Q Developer is a generative AI assistant for software development.
It works in the IDE and console to generate code, explain it, refactor it and help write tests.
It speeds up work, but its output is reviewed like any other code.
Clues in the question
The words that point to the answer, and what each one tells you.
- Generate and refactor code inside their IDE
- An AI coding assistant.
In detail
- The exam guide lists Amazon Q Developer for code generation, refactoring and AI component testing.
- Generated code still needs review.
Side by side with look-alikes
| Tool | Job |
|---|---|
| Amazon Q Developer | Generate, explain and refactor code |
| Amazon Macie | Find sensitive data |
| AWS Artifact | Compliance reports |
| Amazon Polly | Text to speech |
Every option, checked
Knowing why each wrong option fails is how you rule it out on exam day.
A. Amazon Q DeveloperRight
AI help writing and refactoring code: Amazon Q Developer.
B. Amazon MacieWrong
Macie finds sensitive data in S3.
C. AWS ArtifactWrongMost tempting
Artifact provides compliance reports.
Why it tempts: The word "artifact" is common in build tooling, so it can sound like a developer tool. But AWS Artifact provides compliance reports.
D. Amazon PollyWrong
Polly turns text into speech.
In practice
- Review and test generated code before merging it.
Use case
An illustrative scenario, not a real incident.
A developer asks Amazon Q Developer to write a Converse API call with retries, then to generate tests for it, and reviews both.
See how it works
flowchart LR T["Task"] --> Q["Amazon Q Developer drafts code and tests"] Q --> R["Developer reviews and edits"] R --> C["Commit and pipeline tests"]
How to read this chart
- Read it in order: Task, then Amazon Q Developer drafts code and tests, then Developer reviews and edits, then Commit and pipeline tests.