lab challenge

AWS CDK Construct Testing Challenge

Difficulty: Intermediate
Duration: Up to 1 hour
Students: 46
Rating: 3/5
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.

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

Covered topics

Lab challenge UUID

Mission

0 of 1 steps completed.Use arrow keys to navigate between steps. Press Enter to go to a step if available.
  1. AWS CDK Construct Testing Challenge