Severless FP:-
Serverless takes care of _________. ans: both
           Serverless Framework is open source. ans: yes
           It is essential to create a service principal to use Azure functions with a
           serverless framework. ans:true
           In Serverless, _______________________.ans: The cloud provider is responsible
           for setting up the environment
           Which is not a feature of a serverless framework? ans: provider dependent
           Serverless Architecture never really has a server anywhere. ans: false
           A serverless cost model is __________. ans: Pay per execution
           AWS Lambda requires you to set up virtual servers. ans:       false
           Which one is not an example of serverless? ans: aws ecs
           To use serverless CLI, ____________. ans: none
           This command installs the serverless framework correctly. ans:       npm
           install g serverless
           Serverless is also known as _______. ans: function as a service
                                                    m
                                              er as
                                                  co
                                            eH w
                                                o.
           The serverless cost model is _____________. ans:Pay per execution
                                          rs e
                                        ou urc
           It is essential to create a service principal to use Azure functions with a
           serverless framework. ans:true
                                            o
           You can add dynamic data to serverless.yaml file. ans:true
                                      aC s
                                    vi y re
           Serverless Framework is open source. ans:true
                                ed d
           Which section of serverless.yaml file specifies the cloud vendor details?
           Vendor
                              ar stu
           Provider
           Plugins-ans
           Cloud
                                  is
           How    to search for a specific plugin in serverless?
                    Th
           sls    search --query <plugin_name>-ans
           sls    plugin --search <plugin_name>
           sls    plugin search --query <plugin_name>
           sls    plugin find <plugin_name>
                                sh
           Serverless is also known as _______. ans:                                   Function as a service
           0 0/1 * ? * * * - This cron expression denotes to ___________.
           Run every minute-ans
           Run every hour
This study source was downloaded by 100000828551850 from CourseHero.com on 06-29-2021 08:20:04 GMT -05:00
https://www.coursehero.com/file/58061030/Severless-FPdocx/
           Run every second
           Run always
           The same Azure Function can handle multiple HTTP methods. ans:                                           True
           How to trigger HTTP events in serverless? -correct
           None of the options-ans
           Using endpoints
           Using blob storage
           Using cosmosdb http hook
           How    to search for a specific plugin in serverless? -correct
           sls    search --query <plugin_name>
           sls    plugin --search <plugin_name>
           sls    plugin find <plugin_name>
           sls    plugin search --query <plugin_name> -ans
                                                    m
                                              er as
           The same Azure Function can handle multiple HTTP methods. ans:                                           True
                                                  co
           -correct
                                            eH w
           Which section of serverless.yaml file specifies the cloud vendor details?
                                                o.
           -correct
           Cloud
                                          rs e
                                        ou urc
           Provider-ans
           Vendor
           Plugins
                                            o
           How to refer schedule defined under the custom section as the value to timer
                                      aC s
           property in serverless.yaml? -correct
                                    vi y re
           ${this:custom.schedule}
           ${this.custom.schedule}
           ${custom.schedule}
           ${self:custom.schedule}-ans
                                ed d
                              ar stu
           0 0/1 * ? * * * - This cron expression denotes to ___________. -correct
           Run every hour
           Run always
           Run every second
                                  is
           Run every minute-ans
                    Th
           __________________ file manages IAC in a serverless framework. -correct
           None of the options
           package.json
                                sh
           handler.js
           serverless.yaml-ans
           Azure functions cannot access documentDB. ans:-                                         False –correct
           You can add multiple plugins for a service. ans:                                        True -correct
This study source was downloaded by 100000828551850 from CourseHero.com on 06-29-2021 08:20:04 GMT -05:00
https://www.coursehero.com/file/58061030/Severless-FPdocx/
           _________ command creates Azure JavaScript service in the current directory.
           sls create -template azure-javascript
           sls create -template azure-nodejs
           sls create --template azure-javascript
           sls create --template azure-nodejs-ans
           _________ folder will contain artifacts for deploy command.
           service
                                                    m
           .artifacts
                                              er as
           .service
                                                  co
           .serverless-ans
                                            eH w
                                                o.
           Which of these commands stream function fresco's outputs to stdout?
           sls logs -f fresco-ans
                                          rs e
                                        ou urc
           sls std -f fresco
           Sls stream -f fresco
           Sls out -f fresco
                                            o
           How to refer myprop defined in file props.yaml in serverless.yaml?
                                      aC s
           ${file(props.yaml):myprop}-ans
                                    vi y re
           ${props.yaml:myprop}
           ${file(props.yaml.myprop)}
           ${self(props.yaml):myprop}
                                ed d
           _______ is not a valid Azure Function Event Trigger.
                              ar stu
           vm creations-ans
           blob storage
           http
           cron schedules
                                  is
                    Th
           How to refer a property in serverless.yaml file?
           Using self-ans
           Using this
           Accessing directly with property name
                                sh
           Using file
           _________ is not a valid argument for sls create command.
           -tp -ans
           -p
           -n
           -t
This study source was downloaded by 100000828551850 from CourseHero.com on 06-29-2021 08:20:04 GMT -05:00
https://www.coursehero.com/file/58061030/Severless-FPdocx/
           Which one of the following options will not be taken care of by
           serverless.yaml?
           Business logic specification-ans
           Vendor details
           Function specification
           Service declaration
           ________ prefix is used to load data from a json text file to a
           serverless.yaml property.
           text
           file-ans
           self
           json
                                                    m
           Which command is used to call the function in serverless framework?
                                              er as
           sls invoke-ans
                                                  co
           Sls call
                                            eH w
           sls start
           sls create
                                                o.
                                          rs e
                                        ou urc
           How to trigger HTTP events in serverless?
           None of the options
           Using cosmosdb http hook
           Using blob storage
                                            o
           Using endpoints-ans
                                      aC s
                                    vi y re
           Which of these argument syntaxes provide data from data.json to function
           fresco?
           None of the options
           --path data.json-ans
                                ed d
           --data data.json
           --data ./data.json
                              ar stu
           _________ command is used to deploy function fresco.
           sls deploy -function fresco
                                  is
           sls deploy --function fresco
           sls deploy
                    Th
           sls deploy function -f fresco-ans
           What is service in serverless.yaml?
                                sh
           Function name
           Vendor details
           Function grouping-ans
           Subscription specification
           Which subsection of functions specifies the function to be attached from
           handler.js?
This study source was downloaded by 100000828551850 from CourseHero.com on 06-29-2021 08:20:04 GMT -05:00
https://www.coursehero.com/file/58061030/Severless-FPdocx/
                                              Provider
                                              Events
                                              Function
                                              Handler-ans
                                              ________ argument of sls create                       is used to specify the local path of the
                                              template.
                                              Template-path
                                              name
                                              path-ans
                                              template
                                                                                       m
                                                                                 er as
                                                                                     co
                                                                               eH w
                                                                                   o.
                                                                             rs e
                                                                           ou urc
                                              This syntax loads cron property value from config.js file, which is in the current directory.
                                              ${file(../config.js):cron}
                                                                               o
                                                                         aC s
                                                                       vi y re
                                                                   ed d
                                                                 ar stu
                                                                     is
                                                       Th
                                                                   sh
                                   This study source was downloaded by 100000828551850 from CourseHero.com on 06-29-2021 08:20:04 GMT -05:00
                                   https://www.coursehero.com/file/58061030/Severless-FPdocx/
Powered by TCPDF (www.tcpdf.org)