Full AWS Practitioner Certification Question

The source code for an application is stored in a file named index.js that is in a folder along with a template file that includes the following code: AWSTemplateFormatVersion : '2010-09-09' Transform : 'AWS::Serverless-2016-10-31' Resources : LambdaFunctionWithAPI : Type : AWS :: Serverless :: Function Properties : Handler : index . handler Runtime : nodejs12 . x What does a Developer need to do to prepare the template so it can be deployed using an AWS CLI command?