Pivotal Cloud Foundry (PCF) Certification Exam Review Questions Set 2 - cf Command Line
Start
Congratulations - you have completed Pivotal Cloud Foundry (PCF) Certification Exam Review Questions Set 2 - cf Command Line.
You scored %%SCORE%% out of %%TOTAL%%.
Your performance has been rated as %%RATING%%
Your answers are highlighted below.
Question 1
What does cf target do?
A
it logs in to the target space
B
it sets or views the targeted org or space
C
it deploys to the target space
D
it routes to the target route
Question 2
What cf command is used to select a space and/or organization to deploy to?
A
cf target [-o ORG] [-s SPACE]
B
cf org ORG
C
cf space SPACE
D
cf push [-o ORG] [-s SPACE]
Question 3
What cf command is used to view a single organization?
A
cf org ORG
B
cf space SPACE
C
cf orgs
D
cf target [-o ORG]
Question 4
What cf command is used to view logs?
A
cf logs ORG_NAME
B
cf logs SPACE_NAME
C
cf log APP_NAME
D
cf logs APP_NAME
Question 5
What cf command is used to view routes?
A
cf login
B
cf routes
C
cf logs
D
cf push
Question 6
What cf command is used to deploy an application?
A
cf target
B
cf push
C
cf api
D
cf start
Question 7
What cf command is used to view organizations?
A
cf orgs
B
cf spaces
C
cf routes
D
cf push
Question 8
What cf command is used to start an application?
A
cf restart APP_NAME
B
cf push APP_NAME
C
cf start APP_NAME
D
cf stop APP_NAME
Question 9
What cf command is used to view spaces?
A
cf spaces
B
cf target
C
cf routes
D
cf orgs
Question 10
What cf command is used to login to the Cloud Controller?