exam questions

Exam Professional Cloud DevOps Engineer All Questions

View all questions & answers for the Professional Cloud DevOps Engineer exam

Exam Professional Cloud DevOps Engineer topic 1 question 188 discussion

Actual exam question from Google's Professional Cloud DevOps Engineer
Question #: 188
Topic #: 1
[All Professional Cloud DevOps Engineer Questions]

You are responsible for creating development environments for your company's development team. You want to create environments with identical IDEs for all developers while ensuring that these environments are not exposed to public networks. You need to choose the most cost-effective solution without impacting developer productivity. What should you do?

  • A. Create multiple Compute Engine VM instances with a public IP address and use a Public NAT gateway. Configure an instance schedule to shut down the VMs.
  • B. Create multiple Compute Engine VM instances without a public IP address. Configure an instance schedule to shut down the VMs.
  • C. Create a Cloud Workstations private cluster. Create a workstation configuration with an idieTimeour parameter.
  • D. Create a Cloud Workstations private cluster. Create a workstation configuration with a runningTimeout parameter.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
gishonia
1 month, 1 week ago
Selected Answer: C
idleTimeout: Though this is optional in your configuration, This parameter indicates the number of seconds to wait before automatically stopping a workstation after it last received user traffic. A value of "0s" indicates that Cloud Workstations VMs created with this configuration should never time out due to idleness. Provide duration terminated by s for seconds—for example, "7200s" (2 hours). The default is "1200s" (20 minutes). runningTimeout: This indicates the number of seconds that a workstation can run until it is automatically shut down. The idleTimeout and runningTimeout fields are independent of each other. Provide duration terminated by s for seconds—for example, "54000s" (15 hours). Defaults to "43200s" (12 hours). A value of "0s" indicates that workstations using this configuration should never time out. If encryptionKey is set, it must be greater than "0s" and less than "86400s" (24 hours).
upvoted 1 times
...
enry99ita
2 months, 1 week ago
Selected Answer: D
Therefore, while both idleTimeout and runningTimeout are useful for managing workstation lifecycles, using runningTimeout provides a more controlled and predictable method for cost management without potentially disrupting developer workflows due to inactivity-induced shutdowns.
upvoted 1 times
...
soady
2 months, 3 weeks ago
Selected Answer: C
I choose C Why not D? runningTimeout will shut down the workstation whether or not it's still in use, while idleTimeout will only shut down if the machine is not being used.
upvoted 2 times
...
kitaharazyl
2 months, 3 weeks ago
Selected Answer: D
D. Create a Cloud Workstations private cluster. Create a workstation configuration with a runningTimeout parameter.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...