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

Exam Professional Cloud Architect All Questions

View all questions & answers for the Professional Cloud Architect exam

Exam Professional Cloud Architect topic 1 question 121 discussion

Actual exam question from Google's Professional Cloud Architect
Question #: 121
Topic #: 1
[All Professional Cloud Architect Questions]

You need to deploy an application on Google Cloud that must run on a Debian Linux environment. The application requires extensive configuration in order to operate correctly. You want to ensure that you can install Debian distribution updates with minimal manual intervention whenever they become available. What should you do?

  • A. Create a Compute Engine instance template using the most recent Debian image. Create an instance from this template, and install and configure the application as part of the startup script. Repeat this process whenever a new Google-managed Debian image becomes available.
  • B. Create a Debian-based Compute Engine instance, install and configure the application, and use OS patch management to install available updates.
  • C. Create an instance with the latest available Debian image. Connect to the instance via SSH, and install and configure the application on the instance. Repeat this process whenever a new Google-managed Debian image becomes available.
  • D. Create a Docker container with Debian as the base image. Install and configure the application as part of the Docker image creation process. Host the container on Google Kubernetes Engine and restart the container whenever a new update is available.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
victory108
Highly Voted 3 years, 4 months ago
B. Create a Debian-based Compute Engine instance, install and configure the application, and use OS patch management to install available updates.
upvoted 24 times
...
MamthaSJ
Highly Voted 3 years, 4 months ago
Answer is B
upvoted 9 times
...
ccpmad
Most Recent 5 months, 3 weeks ago
Selected Answer: B
It is B, using Os path. It is interesting the OS policy also, to run commands inside the VMs.
upvoted 1 times
...
NoCrapEva
10 months ago
Selected Answer: D
The question requires MINIMAL manual intervention for patching Debian Linux. Therefore it makes most sense to create a Docker container using the Debian Marketplace Distro (as long as the FROM field in your Dockerfile points to `$distro:latest` from Cloud Marketplace) Ref: https://cloud.google.com/blog/products/containers-kubernetes/exploring-container-security-let-google-do-the-patching-with-new-managed-base-images and https://cloud.google.com/blog/products/containers-kubernetes/exploring-container-security-how-containers-enable-passive-patching-and-a-better-model-for-supply-chain-security
upvoted 2 times
...
gcmrjbr
10 months, 2 weeks ago
You want to ensure that you can install Debian distribution updates with minimal manual intervention whenever they become available... | if it is in the cloud then option A | if it is on the internet then option b... It is a trick question!
upvoted 1 times
gcmrjbr
10 months, 2 weeks ago
I vote for A
upvoted 1 times
...
...
biswa_b
1 year, 4 months ago
Option A, "Create a Compute Engine instance template using the most recent Debian image. Create an instance from this template, and install and configure the application as part of the startup script. Repeat this process whenever a new Google-managed Debian image becomes available," is the correct choice. This approach allows you to automate the process of creating a new instance with the latest Debian image and configuring the application. By using an instance template and a startup script, you can ensure that the application is correctly configured each time a new instance is created. When a new Debian image becomes available, you can simply create a new instance template and repeat the process. Option B, using OS patch management, would allow you to install updates, but it wouldn't necessarily ensure that the application is correctly configured after an update.
upvoted 3 times
...
freecloud
1 year, 4 months ago
Can someone explain why the answer is not D ? Isn't the best practice to use containers ?
upvoted 3 times
afsarkhan
4 months, 2 weeks ago
because restarting pod does not change the base image version of the application image. Hence D is a wrong answer
upvoted 1 times
...
tes1298t
1 year, 3 months ago
Because it mentions "restart container whenever update is available". Restarting doesn't just update the OS. You need to build docker image with new version
upvoted 3 times
JPA210
1 year, 1 month ago
When you restart the container, will it not download the new image and reconfigure the application? I believe so, there is an option to configure the pods to download always the last image.
upvoted 1 times
...
...
...
natpilot
1 year, 7 months ago
A is correct, with template and startup script you can create multiple instance with minimal manual intervention; when the new debian release will be available, you need update only the template with new image of debian distribution.
upvoted 2 times
...
examch
1 year, 10 months ago
Selected Answer: B
B is the correct answer, Use OS patch management to apply operating system patches across a set of Compute Engine VM instances (VMs). Long running VMs require periodic system updates to protect against defects and vulnerabilities. The OS patch management service has two main components: Patch compliance reporting, which provides insights on the patch status of your VM instances across Windows and Linux distributions. Along with the insights, you can also view recommendations for your VM instances. Patch deployment, which automates the operating system and software patch update process. A patch deployment schedules patch jobs. A patch job runs across VM instances and applies patches. https://cloud.google.com/compute/docs/os-patch-management
upvoted 4 times
...
megumin
2 years ago
Selected Answer: B
B is ok
upvoted 2 times
...
minmin2020
2 years, 1 month ago
Selected Answer: B
B is the simplest option and with minimal intervention. Other answers may be technically possible but the question does not ask for anything else (e.g. containers, templates, etc.)
upvoted 2 times
...
AzureDP900
2 years, 2 months ago
I will go with B , there is no need to application configuration each time
upvoted 1 times
...
zellck
2 years, 2 months ago
Selected Answer: B
B is the answer. https://cloud.google.com/compute/docs/os-patch-management Use OS patch management to apply operating system patches across a set of Compute Engine VM instances (VMs).
upvoted 2 times
...
Jay_Krish
2 years, 2 months ago
Selected Answer: B
Key words : "with minimal manual intervention whenever they become available" With OS Patch Management the OS will have all the latest available updates at that point automatically which wouldn't be the case with A.
upvoted 2 times
...
backhand
2 years, 3 months ago
vote B about A using latest template for update patch, next time you have to make template again. ans B, make once setting for good basically with no intervention.
upvoted 2 times
...
patashish
2 years, 3 months ago
A is correct answer. I am not able to understand B option and ppl are simply adding patch management URL as reference. How this will relate with answer ? A is correct answer.
upvoted 1 times
enter_co
2 years, 1 month ago
A only answers to 'minimal management overhead', but not to 'install patches as soon as possible'.
upvoted 1 times
...
...
Ric350
2 years, 4 months ago
The ask in this question is "you want to ensure that you can install Debian distribution updates (which is OS updates specifically) with minimal manual intervention whenever they become available." That is accomplished by an OS patch management. https://cloud.google.com/compute/docs/os-patch-management
upvoted 2 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 ...