Lab Challenge

AWS CDK Construct Testing Challenge

Push your skills to the next level in a live environment

Lab Steps

lock
AWS CDK Construct Testing Challenge

The hands-on lab is part of this learning path

Start Lab Challenge
Difficulty

Intermediate

Time Limit

1h

Students

11

01
About Lab Challenges

Lab challenges are hands-on labs with the gloves off. You jump into an auto-provisioned cloud environment and are given a goal to accomplish. No instructions, no hints. To pass, you'll have a limited time to demonstrate your problem-solving skills and get the checks that inspect the state of your lab environment.

02
Challenge 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.

What will be assessed

  • AWS Cloud Development Kit (CDK)
  • TypeScript Programming

Intended audience

  • Cloud Architects
  • Software Engineers
  • DevOps Engineers

Prerequisites

  • Snapshot Testing AWS CDK Constructs
  • Evaluating CDK Constructs with Fine-Grained Assertions and Validation Tests
03
About the Author
Students12750
Labs36
Learning paths1

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.