lab challenge

AWS CDK Construct Testing Challenge

Intermediate
Up to 1h
46
3/5
This lab is currently under maintenance and unavailable. We are actively working to resolve this issue and we apologize for any inconvenience.

Version 1 of the AWS Cloud Development Kit (AWS CDK) is now in maintenance mode.

Refer to the AWS Cloud Development Kit (AWS CDK) v2 Learning Path for updated CDK v2 Labs and Challenges. 

Get challenged in a real environmentProve your skills in a real-world, provisioned environment.
Push your limitsComplete an unguided mission within the time limit.
See resultsTest your problem-solving skills and track your progress.
Lab description

The AWS CDK incorporates the use of construct assertions with the popular Jest JavaScript testing framework to provide the same predictability and repeatability seen in application code development. The AWS CDK Assert library contains helpers for writing tests to evaluate the CloudFormation templates that are generated by the CDK project. These testing modules, paired with the practical testing capabilities provided by Jest, allow developers to implement various types of tests.

This hands-on IDE challenge assumes familiarity with performing the following actions within a TypeScript AWS CDK project:

  • Writing CDK construct snapshot tests
  • Writing CDK construct fine-grained assertion tests
  • Writing CDK construct validation tests

If you are unfamiliar with any of the above, Cloud Academy recommends completing the courses and labs mentioned in the prerequisites before attempting this lab challenge.

This challenge will test your practical ability to work within a CDK project and utilize the built-in Jest framework tools to satisfy a set of requirements in a production-like AWS environment. You will receive a task and a set of requirements you must fulfill to pass the challenge.

This is a real environment, which means you can prove your knowledge in an applied way, substituting multiple choice questions for a dynamic performance-based exam situation.

Prerequisites
  • Snapshot Testing AWS CDK Constructs
  • Evaluating CDK Constructs with Fine-Grained Assertions and Validation Tests
Intended audience
  • Cloud Architects
  • Software Engineers
  • DevOps Engineers
What will be assessed
  • AWS Cloud Development Kit (CDK)
  • TypeScript Programming
About the author
Avatar
Jun Fritz, opens in a new tab
Cloud Labs Developer
Students
39,514
Labs
106
Courses
1
Learning paths
6

Jun is a Cloud Labs Developer with previous experience as a Software Engineer and Cloud Developer. He holds the AWS Certified Solutions Architect and DevOps Engineer Professional certifications. He also holds the AWS Certified Solutions Architect, Developer, and SysOps Administrator Associate certifications. 

Jun is focused on giving back to the growing cloud community by sharing his knowledge and experience with students and creating engaging content. 

Covered topics
Mission
AWS CDK Construct Testing Challenge