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?
Suggested Answer: D
Get Premium Associate Cloud Engineer Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
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
14 comments · newest first
RI
Ria
1 year ago
Wait, are we sure about A? I thought you needed to apply changes instead.
GA
Gaynell
1 year ago
D? Really? That doesn't make sense for creating a new cluster.
PH
Phil
1 year ago
C seems off, you can't apply a new deployment like that.
AN
Anika
1 year ago
I think B is better since it specifies the type.
NI
Nickie
1 year ago
A is the correct command to create the deployment.
SH
Shenika
1 year ago
I’m leaning towards option A too, but I wonder if there’s a specific reason to include the type in option B. It’s tricky!
SA
Salina
1 year ago
I feel like we discussed that "apply" is usually for updating existing deployments, so maybe options C and D are not the best choices here.
AP
Apolonia
1 year ago
I think option A sounds right because it uses the config file directly, but I’m a bit confused about the need for the type in option B.
ED
Edda
1 year ago
I remember we practiced a similar question about creating deployments, but I’m not sure if it was with "create" or "apply."
GE
Gerry
1 year ago
I feel pretty confident about this one. Based on the details provided, the SmartControl feature seems like the best solution. It allows you to granularly control access and resources for specific user groups, which is exactly what we need here to block the local printer access for remote Marketing users.
JO
Joni
1 year ago
Hmm, I'm a bit unsure about this one. I know /etc/profile is an important system file, but I can't quite remember the exact purpose. I'll have to think this through carefully.
AH
Ahmed
1 year ago
I think the answer is A - Whaling. That sounds like the right term for a targeted attack on a high-level executive. I'm fairly confident in that, but I'll review my notes just to be sure.
GI
Gilma
1 year ago
I remember that adding a user to a project is usually the first step before granting any permissions. Seems like option A could be right.
AR
Aretha
1 year ago
I've got this! The independent variable is clearly patient days, since that's the activity level that's changing and corresponding with changes in maintenance cost. Easy peasy.