ACTUAL QUESTIONS AND CORRECT
ANSWERS
What is a service in Cloud Foundry? - CORRECT ANSWERS✅✅Any type of add-on that
can be provisioned alongside your apps.
What is meant by ephemeral? - CORRECT ANSWERS✅✅Virtual machines and containers
are temporary.
What is an organization in Cloud Foundry? - CORRECT ANSWERS✅✅A development
account that an individual or multiple collaborators can own and use.
What is the difference between restarting and restaging? - CORRECT
ANSWERS✅✅Restart will stop an application and start it with the existing droplet,
restaging will stop the application and run the application through the process to create a new
droplet.
What is a droplet? - CORRECT ANSWERS✅✅A staged app packaged with everything
needed to run in a container.
How do you login to Cloud Foundry (command line)? - CORRECT ANSWERS✅✅cf login
What are three activities involved in deploying an application to Cloud Foundry? -
CORRECT ANSWERS✅✅upload, stage, start
What are routes in Cloud Foundry? - CORRECT ANSWERS✅✅A feature that defines how
to get to an application.
What is a space in Cloud Foundry? - CORRECT ANSWERS✅✅A feature that provides
users with access to a shared location for application development, deployment and
maintenance.
, How do you deploy an application to Cloud Foundry? (command line) - CORRECT
ANSWERS✅✅cf push
What are the two predefined environment variables available to any application? -
CORRECT ANSWERS✅✅VCAP_APPLICATION and VCAP_SERVICE
What cf command is used to view organizations? - CORRECT ANSWERS✅✅cf orgs
What does cf target do? - CORRECT ANSWERS✅✅It sets or views the targeted org or
space.
What cf command is used to select a space and/or organization to deploy to? - CORRECT
ANSWERS✅✅cf target [-o ORG] [-s SPACE]
What cf command is used to deploy an application? - CORRECT ANSWERS✅✅cf push
What cf command is used to view logs? - CORRECT ANSWERS✅✅cf logs APP_NAME
What cf command is used to view spaces? - CORRECT ANSWERS✅✅cf spaces
What cf command is used to view a single organization? - CORRECT ANSWERS✅✅cf org
ORG
What cf command is used to view routes? - CORRECT ANSWERS✅✅cf routes
What cf command is used to login to the Cloud Controller? - CORRECT ANSWERS✅✅cf
target [-a API_URL] [-u USERNAME] [-p PASSWORD] [-o ORG] [-s SPACE]
What cf command is used to start an application? - CORRECT ANSWERS✅✅cf start
APP_NAME