MENU                                                                                                            
Google Discussions
  Exam Professional Cloud Architect All Questions
  View all questions & answers for the Professional Cloud Architect exam
      Go to Exam
  EXAM PROFESSIONAL CLOUD ARCHITECT TOPIC 1 QUESTION 7 DISCUSSION
  Actual exam question from Google's Professional Cloud Architect
  Question #: 7
  Topic #: 1
  [All Professional Cloud Architect Questions]
  To reduce costs, the Director of Engineering has required all developers to move their development infrastructure
  resources from on-premises virtual machines
  (VMs) to Google Cloud Platform. These resources go through multiple start/stop events during the day and require
  state to persist. You have been asked to design the process of running a development environment in Google
  Cloud while providing cost visibility to the finance department.
  Which two steps should you take? (Choose two.)
      A. Use the - -no-auto-delete flag on all persistent disks and stop the VM
      B. Use the - -auto-delete flag on all persistent disks and terminate the VM
      C. Apply VM CPU utilization label and include it in the BigQuery billing export
      D. Use Google BigQuery billing export and labels to associate cost to groups
      E. Store all state into local SSD, snapshot the persistent disks, and terminate the VM
      F. Store all state in Google Cloud Storage, snapshot the persistent disks, and terminate the VM
    Show Suggested Answer
  by  Naakos at June 2, 2021, 10:18 p.m.
Comments
 Type your comment...
Type your comment...
 Submit
  [Removed]      Highly Voted  7 months ago
  I spent all morning researching this question. I just popped over and took the GCP Practice exam on Google's website and
  guess what... this question was on it word for word, but it had slightly different answers, but not by much here is what I
  learned. The correct answer is 100% A / D and here is why. On the sample question, the "F" option is gone. "A" is there but
  slightly reworked, it now says: "Use persistent disks to store the state. Start and stop the VM as needed" which makes
  much more sense. The practice exam says A and D are correct. Given the wording of this question, if A and B, where there
  then both would be correct because of the word "persistent" and not because of the flag. The "no-auto-delete" makes A
  slightly safer than B, but it is the "persistent disk" that makes them right, not the flag. Hope that helps! F is not right
  because that is a complex way of solving the issue that by choosing Persistent Disk solves it up front. HTH
     upvoted 75 times
    [Removed] 2 years, 8 months ago
     (A) is not sense because the flag is to preserve disk when the istances was deleted, when the istances was stopped the
     data on persistend disk are not deleted. So good to know that the response was reworked
     (B) is wrong because only on AWS you can terminate istances. On GCP the "terminate" action do not exist .
        upvoted 4 times
  rishab86    Highly Voted  3 years, 10 months ago
  A and D looks correct as per https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-delete#--
  auto-delete ;
  https://cloud.google.com/billing/docs/how-to/export-data-bigquery
     upvoted 22 times
    RKS_2021 3 years, 9 months ago
     -no-auto-delete flag does not have effect on the state of the application. I believe D and F are correct ANS,
     https://cloud.google.com/compute/docs/instances/stop-start-instance
        upvoted 3 times
  hpf97    Most Recent    2 months, 3 weeks ago
   Selected Answer: DF
  A / B : the option only apply when VM are deleted (terminated ?), or here we are talking about stop/start
  See https://cloud.google.com/compute/docs/samples/compute-disk-autodelete-change
  C : Do even know if it is possible
  D : In order to bring "visibility on the cost"
  E : local disks does not persist
  F : complex solution, but it works
  So D & F
     upvoted 1 times
  Ekramy_Elnaggar 5 months, 1 week ago
   Selected Answer: AD
  Answer is : A& D
  A. Use the --no-auto-delete flag on all persistent disks and stop the VM:
  1. Cost Savings: When you stop a VM, you only pay for the persistent disks attached to it. The --no-auto-delete flag
  ensures that the disks remain available even when the VM is stopped, preserving the developers' work and avoiding the
  cost of recreating the environment from scratch each time.
  2. State Persistence: This approach ensures that the development environment's state is saved on the persistent disk,
  allowing developers to resume their work seamlessly when they restart the VM.
  D. Use Google BigQuery billing export and labels to associate cost to groups:
  1. Cost Visibility: BigQuery billing export allows you to analyze your Google Cloud costs in detail. By applying labels to your
  resources (e.g., "environment: development", "team: frontend"), you can categorize and track costs associated with
  different development groups.
     upvoted 3 times
  Hungdv 8 months, 2 weeks ago
  Choose A and D
     upvoted 1 times
  Sephethus 10 months, 2 weeks ago
  Another confusing question because I took the "these machines go through multiple stop/starts during the day" as a part of
  the migration, not as a part of daily functionality, so none of the answers other than D made much sense to me. People
  need to word the questions better on tests and give more than enough context or people like me are going to get confused,
  second guess our answers, and fail.
     upvoted 1 times
     upvoted 1 times
  afsarkhan 11 months, 2 weeks ago
   Selected Answer: AD
  F is too complex solution to solve this problem.
  E local SSD does not persist on termination of vm so this is also a wrong option
  A, B suggest persistent disk but I think A makes better sense.
  So my answer is A and D
     upvoted 1 times
  44eacc1 1 year ago
  E wrong:
  Scenarios where Compute Engine does not persist Local SSD data
  Data on Local SSD disks does not persist through the following events:
  If you shut down the guest operating system and force the VM to stop.
     upvoted 1 times
  shikha344 1 year, 1 month ago
  Hi all, i am trying to view questions from 135.But i cannot access the page as it is asking for contributer access.Is it same
  for everyone?
     upvoted 1 times
  d0094d6 1 year, 2 months ago
   Selected Answer: A
  From the GCP Practice exam... A and D
     upvoted 2 times
  Teckexam 1 year, 3 months ago
  Based on documentation A is correct https://cloud.google.com/sdk/gcloud/reference/compute/instances/set-disk-auto-
  delete
  Also the documentation clearly states that this flag will be help retain the state when VM is started/stopped.
  https://cloud.google.com/blog/products/storage-data-transfer/save-money-by-stopping-and-starting-compute-engine-
  instances-on-schedule
  For cost visibility option D is correct.
     upvoted 1 times
  hzaoui 1 year, 3 months ago
   Selected Answer: DE
  D. Use Google BigQuery billing export and labels to associate cost to groups: This offers granular cost visibility across
  various development teams or projects through BigQuery data analysis. Combining labels with billing export allows you to
  associate resource consumption with specific groups, enabling chargeback mechanisms and fostering cost accountability.
  E. Store all state into local SSD, snapshot the persistent disks, and terminate the VM: This option minimizes ongoing cost
  by utilizing low-cost local SSD for active state during runtime and terminating the VM when development isn't ongoing.
  Snapshots offer quick restoration back to the latest state without incurring persistent disk charges during downtime.
     upvoted 1 times
  kshlgpt 1 year, 3 months ago
  DF. This is the question in google practice test.
     upvoted 2 times
  cfigueiredo 1 year, 4 months ago
   Selected Answer: DF
  D & F for me
     upvoted 2 times
  Prakzz 1 year, 6 months ago
  How can D ever be right coz it's Bigquery Billing Export and question is about VM billing
     upvoted 1 times
    ArtistS 1 year, 5 months ago
     This means you can export the billing to the BQ and then do analysis.
        upvoted 1 times
  AdityaGupta 1 year, 6 months ago
   Selected Answer: AD
  A is correct, Use of persistent disk mean the data is preserved even after restart. -np-auto-delete on persistent disk means
  pesistent disk won't be deleted when VM is deleted.
   D is correct, becuase second part of question asks for billing report to finanace department and Label and BQ helps in cost
   analysis.
      upvoted 4 times
   lucaluca1982 1 year, 8 months ago
    Selected Answer: BD
   B and D. A is wrong because, (--no-auto-delete) would lead to extra storage costs for the disks even when VMs are not
   running.
      upvoted 1 times
   Load full discussion...
Platform
Home                                                          All Exams
Examtopics PRO                                                Training Courses