Google Container Engine Interview Questions and Answers
Google Container Engine Interview Questions and Answers
Answers
1) What commands would you use to make your Google Container Registry
publicly accessible?
3) What flag would you use to create a pod or service using a YAML file?
A) -f
4) What command would you use to get the details of a container cluster?
A) A service defines a logical set of pods and a way to access them using an IP address
and port number pair.
6) What command would you use to login to the Google Container Registry?
7) What command would you run to create a container cluster in more than
one zone?
A) gcloud container clusters create <CLUSTER> –zone <PRIMARY_ZONE> –
additional-zones=<SECONDARY_ZONE, SECONDARY_ZONE>
A) gsutil mb gs://[BUCKET_NAME]/
11) What command would you use to list your images in the Google
Container Registry?
12) What command would you use to push an image to the Google
Container Registry?
A) cloud.google.com
17) What command would you run to list the configuration for the Google
Cloud SDK?
18) How would you tag an image in preparation for pushing it to the Google
Container Registry?
19) What command would you use to set the default zone for the Google
Cloud SDK?
21) What are core technology the container cluster nodes built on?
A) Kubernetes
24) What command would you use to list your container clusters?
Google Container Engine Interview Questions 25) What does GKE stand
for?
26) What address would you use to access the Kubernetes Dashboard?
A) <FQDN>:8001/ui
or
<IP>:8001/ui
Where you are running the dashboard from.
27) What command would you use to authenticate the Google Cloud SDK
with the Google Cloud Platform?
28) What are command line tools installed by the Google Cloud SDK?
A) gcloud
gsutil
bq
29) On CentOS, what command would you run to install the Kubernetes
command line tool?
32) How would you list all of the container clusters in a specific zone?
33) What command would you use to get the node a pod is running on?
Google Container Engine Interview Questions 34) What flag would you use
with gcloud to specify a zone?
A) –zone <ZONE>
35) What command would you use to pull an image from the Google
Container Registry?
36) What command would you use to initialize the Google Cloud SDK?
A) gcloud init
37) What command would you use to describe an image in the Google
Container Registry?
A) –machine-type <TYPE>
40) What command would you use to create a service using a load balancer
for a pod?
41) What command would you use to delete an image from the Google
Container Registry?
42) What command would you use to get the details of a service?
44) What command would you use to create a container cluster with
autoscaling?
45) What command would use use to create an additional node pool for an
existing container cluster?
47) What command would you use to ssh into a container cluster node?
48) What commands would you use to make a publicly accessible Google
Container Registry private?
49) What flag would you use to set the number of nodes when creating a
container cluster?
A) –num-nodes <NUMBER>
51) What command would you use to start the Kubernetes Dashboard?