ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 211 - Associate Cloud Engineer discussion

Report
Export

You created a cluster.YAML file containing

resources:

name: cluster

type: container.v1.cluster

properties:

zone: europe-west1-b

cluster:

description: My GCP ACE cluster

initialNodeCount: 2

You want to use Cloud Deployment Manager to create this cluster in GKE. What should you do?

A.
gcloud deployment-manager deployments create my-gcp-ace-cluster --config cluster.yaml
Answers
A.
gcloud deployment-manager deployments create my-gcp-ace-cluster --config cluster.yaml
B.
gcloud deployment-manager deployments create my-gcp-ace-cluster --type container.v1.cluster --config cluster.yaml
Answers
B.
gcloud deployment-manager deployments create my-gcp-ace-cluster --type container.v1.cluster --config cluster.yaml
C.
gcloud deployment-manager deployments apply my-gcp-ace-cluster --type container.v1.cluster --config cluster.yaml
Answers
C.
gcloud deployment-manager deployments apply my-gcp-ace-cluster --type container.v1.cluster --config cluster.yaml
D.
gcloud deployment-manager deployments apply my-gcp-ace-cluster --config cluster.yaml
Answers
D.
gcloud deployment-manager deployments apply my-gcp-ace-cluster --config cluster.yaml
Suggested answer: D

Explanation:

gcloud deployment-manager deployments create creates deployments based on the configuration file. (Infrastructure as code). All the configuration related to the artifacts is in the configuration file. This command correctly creates a cluster based on the provided cluster.yaml configuration file.

Ref:https://cloud.google.com/sdk/gcloud/reference/deployment-manager/deployments/create

asked 18/09/2024
Med Amine Aloui
26 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first