The scenario checks each incoming lead against the list in Azure Cosmos DB and stores the qualifying records in Microsoft SQL.