makeporngreatagain.pro
yeahporn.top
hd xxx

Practice Test 1 | Google Cloud Certified Associate Cloud Engineer | Dumps | Mock Test

112,153

You are currently working on a freelance project where you have to deploy a WordPress website on VM. You decided to use startup script to install WordPress and other libraries instead of manual install. While launching you forgot to use startup script and are wondering how to do it now?

A. Edit the instance by selecting it, add your startup script into the user data field and restart your instance.

B. Stop the instance, add a metadata with startup-script as key, and script content as value, and start the instance.

C. Stop the instance, add script into startup script field, and start the instance.

D. Edit the instance by selecting it, add a metadata with script as key, add script content as value, and restart the instance.

Explanation:

Correct Answer – B

B is correct: The startup script is executed every time an instance is started. By stopping an instance and launching it again will start it on a host resulting in execution of startup script.

A is incorrect: Just restarting the instance does not trigger startup script.

C is incorrect: There is no such field with name of startup script. You need to create a metadata with key as startup-script and value as script itself.

D is incorrect: Script is an incorrect key. The correct key for metadata is startup-script.

Reference:

https://cloud.google.com/compute/docs/startupscript

Comments are closed, but trackbacks and pingbacks are open.

baseofporn.com https://www.opoptube.com
Ads Blocker Image Powered by Code Help Pro

Ads Blocker Detected!!!

We have detected that you are using extensions to block ads. Please support us by disabling these ads blocker.