Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 2

Serverless Fresco Play Quiz

AWS Lambda requires you to set up virtual servers.

False

Serverless takes care of _________.

Both the options

Serverless Architecture never really has a server anywhere.

False

To use serverless CLI, ____________.

JavaScript runtime is required

This command installs the serverless framework correctly.

npm install -g serverless

Which one is not an example of serverless?

Azure ECS

________ prefix is used to load data from a json text file to a serverless.yaml property.

File

________ argument of sls create is used to specify the local path of the template.

Template

Serverless is also known as _______.

Function as a service

How to refer myprop defined in file props.yaml in serverless.yaml?

${file(props.yaml):myprop}

This syntax loads cron property value from config.js file, which is in the current directory.

${file(../config.js):cron}

Which command is used to call the function in serverless framework?

sls invoke

You can add multiple plugins for a service.

True

In Serverless, ____________________.

The cloud provider is responsible for setting up the environment


Serverless takes care of ___________.

Both the options

_________ folder will contain artifacts for deploy command.

.serverless

It is essential to create a service principal to use Azure functions with a serverless framework.

True

You can add multiple function definitions under functions section.

True

Which of these commands stream function fresco's outputs to stdout?

sls logs -f fresco

Azure functions cannot access documentDB.

False

_________ is not a valid argument for sls create command.

-p -- WRONG

The same Azure Function can handle multiple HTTP methods.

True

How to trigger HTTP events in serverless?

Using endpoints

Which one of the following options will not be taken care of by serverless.yaml?

Business logic specification

Serverless Architecture never really has a server anywhere.

False

AWS Lambda requires you to set up virtual severs.

False

You might also like