ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 185 - Professional Cloud Developer discussion

Report
Export

You need to migrate a standalone Java application running in an on-premises Linux virtual machine (VM) to Google Cloud in a cost-effective manner. You decide not to take the lift-and-shift approach, and instead you plan to modernize the application by converting it to a container. How should you accomplish this task?

A.
Use Migrate for Anthos to migrate the VM to your Google Kubernetes Engine (GKE) cluster as a container.
Answers
A.
Use Migrate for Anthos to migrate the VM to your Google Kubernetes Engine (GKE) cluster as a container.
B.
Export the VM as a raw disk and import it as an image. Create a Compute Engine instance from the Imported image.
Answers
B.
Export the VM as a raw disk and import it as an image. Create a Compute Engine instance from the Imported image.
C.
Use Migrate for Compute Engine to migrate the VM to a Compute Engine instance, and use Cloud Build to convert it to a container.
Answers
C.
Use Migrate for Compute Engine to migrate the VM to a Compute Engine instance, and use Cloud Build to convert it to a container.
D.
Use Jib to build a Docker image from your source code, and upload it to Artifact Registry. Deploy the application in a GKE cluster, and test the application.
Answers
D.
Use Jib to build a Docker image from your source code, and upload it to Artifact Registry. Deploy the application in a GKE cluster, and test the application.
Suggested answer: D

Explanation:

https://cloud.google.com/blog/products/application-development/introducing-jib-build-java-docker-images-better

asked 18/09/2024
fritz villanueva
48 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first