AWS CDK Supported Programming Languages
Which programming languages does AWS Cloud Development Kit (AWS CDK) currently support? (Choose two.)
Community Votes
100% of anonymous learners picked answer AC. Votes are pick records left by other test-takers — they are not the verified answer.
Community Insight
The question tests knowledge of AWS CDK's language ecosystem, with the common trap being confusion with other AWS SDKs or general cloud tools that might support different languages like Ruby or PHP.
This question addresses the programming languages supported by the AWS Cloud Development Kit (AWS CDK). It establishes that TypeScript and Python are among the officially supported first-class languages for infrastructure-as-code.
Learners often incorrectly select Ruby or PHP, assuming broader language support similar to older IaC tools or general-purpose cloud APIs, rather than knowing the specific first-class list.
Community Discussion (3 comments)
Comments & Corrections
No comments yet — spotted an error or have a note? Share it below.
Expert Analysis
Why the Answer Is Correct
The AWS Cloud Development Kit (AWS CDK) provides first-class support for TypeScript, JavaScript, Python, Java, C#/.NET, and Go. Therefore, selecting TypeScript (C) and Python (A) is correct as they are both primary languages for CDK development. The documentation explicitly lists these as the core supported environments.Why the Other Options Are Wrong
Swift (B), Ruby (D), and PHP (E) are not currently supported by AWS CDK. While you can technically use the AWS CLI or SDKs in any language, CDK constructs are specifically built and typed for the supported set. Choosing these options reflects a misunderstanding of the tool's current capabilities.Community Comment Notes
Community consensus strongly supports AC. As user d00b229 noted, "Languages like Swift, Ruby, and PHP are not supported by AWS CDK at this time." Another comment provided a direct link to the official docs confirming the list includes TypeScript, JavaScript, Python, Java, C#, and Go.Official Reference
Exam Strategy
Memorize the list of first-class languages for AWS CDK: TypeScript, JavaScript, Python, Java, C#, and Go. Do not assume support for languages commonly used in web development like Ruby or PHP unless explicitly stated in recent updates.
Frequently Asked Questions
Does AWS CDK support Java?
Yes, Java is a first-class language supported by AWS CDK, along with TypeScript, JavaScript, Python, C#, and Go.
Can I use Ruby for AWS CDK?
No, Ruby is not currently a supported language for AWS CDK. You must use one of the first-class languages listed in the documentation.
Related Analysis
Practice All CLF-C02 Questions
Access 120 questions with complete answers and detailed explanations.
View Full CLF-C02 Practice Test →