Mock test three
- You build a container image using the Cloud Build service. You want to access information such as the Google Cloud project where their image is built. What is the recommended way to do it?
- Use substitutions in your build config file to substitute specific variables at build time.
- Run a
gcloud
command in your build. - Run an API call to get the information.
- It is not possible to access this information.
- You are running a web application on a Linux distribution. You want to completely remove the overhead of patching the operating system. Which option best suits your requirements?
- Containerize the application and use managed base images.
- Make the VMs read-only.
- Use an Alpine (stripped-down) image for your VMs.
- Use Google's OS patching service.
- You are tasked with containerizing a classic LAMP application. What would be the best practice you should follow (choose two options)?
- Package a single app per container.
- Package all apps into a single container.
- Remove...