Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam Associate Cloud Engineer topic 1 question 49 discussion

Actual exam question from Google's Associate Cloud Engineer
Question #: 49
Topic #: 1
[All Associate Cloud Engineer Questions]

You have a virtual machine that is currently configured with 2 vCPUs and 4 GB of memory. It is running out of memory. You want to upgrade the virtual machine to have 8 GB of memory. What should you do?

  • A. Rely on live migration to move the workload to a machine with more memory.
  • B. Use gcloud to add metadata to the VM. Set the key to required-memory-size and the value to 8 GB.
  • C. Stop the VM, change the machine type to n1-standard-8, and start the VM.
  • D. Stop the VM, increase the memory to 8 GB, and start the VM.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
cesar7816
Highly Voted 4 years ago
coldpar, why are you getting the people confused? you need to stop teh VM and modify the RAM, that's all
upvoted 61 times
iambatmanadarkknight
2 years, 5 months ago
who is coldpar
upvoted 7 times
spatidar2711
1 year, 8 months ago
He deleted his comment
upvoted 1 times
chikorita
11 months, 2 weeks ago
i dont think we can delete our comments
upvoted 1 times
...
...
...
...
CarlS
Highly Voted 3 years, 11 months ago
D is correct. If you pay attention to the question, option C mentions n1-standard-8. That instance type has 8vCPUs and 30 GB RAM, and we only need 8GB. On top of that, it is possible to use custom machine type to adjust current VM RAM to the value we need. Got the answer from this course I did to prepare the exam: https://www.udemy.com/course/google-cloud-associate-engineer-exam-practice-tests/?couponCode=21CDE6A4C2B95F79BD97 good luck!
upvoted 43 times
Veera_Venkata_Satyanarayana
1 year, 9 months ago
How to use coupon code carls
upvoted 2 times
...
...
Captain1212
Most Recent 6 months, 4 weeks ago
Selected Answer: D
D is the correct answer
upvoted 1 times
...
gpais
7 months, 2 weeks ago
You can add extended memory only to custom machine types. Predefined machine types are not supported.
upvoted 1 times
...
samrat46
1 year ago
D is correct. C.n1 standard8 has 30GB RAM. A&B- No vm instance stop, Hence can't be updated.
upvoted 2 times
...
Buruguduystunstugudunstuy
1 year, 1 month ago
Selected Answer: D
ANSWER D is correct because it is the correct process to follow to increase the memory of a virtual machine in the Google Cloud Platform. To increase the memory of a virtual machine, you need to first stop the VM, since it is not possible to modify the memory of a running VM. Then, you can increase the memory of the VM by editing the machine type and selecting a machine type with more memory. Once you have made the change, you can start the VM again. ANSWER A is not the best approach as it relies on live migration which can be a risky operation. ANSWER B is incorrect because adding metadata to the VM will not change the amount of memory allocated to the VM. ANSWER C is incorrect because changing the machine type to n1-standard-8 would also increase the number of vCPUs to 8, which may not be necessary and could result in overprovisioning of resources. In addition, changing the machine type would also affect the cost of the VM instance, which may not be desired. Since the primary concern in this scenario is to increase memory.
upvoted 14 times
...
cslince
1 year, 3 months ago
Selected Answer: D
Option D
upvoted 1 times
...
leogor
1 year, 5 months ago
Selected Answer: D
C is incorrect because the 8 in "n1-standard-8" means 8 cpus instead of 8 gb of ram
upvoted 2 times
...
santhu1039
1 year, 7 months ago
Selected Answer: D
D is right one
upvoted 1 times
...
haroldbenites
1 year, 10 months ago
Go for D
upvoted 1 times
...
ChiefArch
1 year, 12 months ago
The reason A is not correct is because live migration simply moves an existing VM between hosts, no attributes or properties are changed otherwise. Hence, you cannot live migrate from 1 VM type to another. https://cloud.google.com/compute/docs/instances/live-migration
upvoted 5 times
...
mchaconr
2 years, 3 months ago
To be exact... There is no "n1" option that has 2vCPU and 4GB. The closest would be n1-standard-2 with 2vCPU and 7.50GB RAM. This machine is already custom. So, option D.
upvoted 2 times
...
vishnukumartr
2 years, 4 months ago
D. Stop the VM, increase the memory to 8 GB, and start the VM.
upvoted 5 times
...
Jaira1256
2 years, 4 months ago
Ans - D
upvoted 1 times
...
Gpjha
2 years, 7 months ago
We do not have the option to increase memory in GCP VM directly. Instead, machine type needs to be changed. However, given the choices, D is the best answer here.
upvoted 2 times
...
YAS007
2 years, 8 months ago
D is correct https://cloud.google.com/compute/docs/instances/creating-instance-with-custom-machine-type#add_extended_memory_to_an_existing_vm_instance
upvoted 4 times
...
Umesh09
2 years, 9 months ago
why do we want to stop the VM when live migration is an option I would go for Option A
upvoted 4 times
YAS007
2 years, 8 months ago
I don't find how to manually initiate a live migration, its apparently a google managed process
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 ...