You have a Dockerfile that you need to deploy on Kubernetes Engine. What should you do?
A) Use kubectl app deploy <dockerfilename>. Use kubectl app deploy <dockerfilename>.
B) Use gcloud app deploy <dockerfilename>. gcloud app deploy <dockerfilename>.
C) Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file. Create a docker image from the Dockerfile and upload it to Container Registry. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file.
D) Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use kubectl to create the deployment with that file. Create a docker image from the Dockerfile and upload it to Cloud Storage. Create a Deployment YAML file to point to that image. Use
Correct Answer:
Verified
Q5: You need to create a custom VPC
Q6: Your company uses Cloud Storage to store
Q7: You have an instance group that you
Q8: You have a single binary application that
Q9: You create a new Google Kubernetes Engine
Q11: You have sensitive data stored in three
Q12: You need a dynamic way of provisioning
Q13: You have one GCP account running in
Q14: You have an object in a Cloud
Q15: You are the project owner of a
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents