What happens when you delete a Google Compute Engine instance while it is running?
AIt stops running immediately
BAll data is lost
CInstance state is saved
DIt can be recovered easily
Explanation
All data is lost unless backed up; the other options misrepresent instance behavior.
Q382
Which service allows you to run containers on GCP?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Run
Explanation
Google Kubernetes Engine is designed for managing containerized applications; Cloud Functions is event-driven, App Engine is for web apps, and Cloud Run manages container instances but isn't a full orchestration service.
Q383
A company needs to securely share data with partners. Which solution will help?
ACloud Storage Signed URLs
BVPC Peering
CCompute Engine Snapshots
DApp Engine Instances
Explanation
Cloud Storage Signed URLs provide secure access to files by generating time-limited links; VPC Peering is for network connections, snapshots are for backups, and App Engine instances don't facilitate data sharing.
Q384
What happens when you add custom IAM roles to a project?
ARoles override predefined roles
BThey cannot be deleted
CThey can specify detailed permissions
DOnly service accounts can use them
Explanation
Custom IAM roles allow detailed permission definitions while predefined roles remain unchanged, custom roles can be deleted, and they can be assigned to any user, not just service accounts.
Q385
Which service allows you to automate the deployment of applications on GCP?
AGoogle Cloud Run
BGoogle Cloud Functions
CGoogle App Engine
DGoogle Compute Engine
Explanation
Google App Engine automates app deployment; other options are for different use cases.
Q386
A company needs to ensure their Cloud Storage data is kept secure while being accessible to authorized users. What should they implement?
APublic access
BBucket encryption
CAccess Control Lists
DData redundancy
Explanation
Access Control Lists manage user access; encryption secures data but doesn't manage access.
Q387
What happens when you set a VM instance to preemptible?
AAlways runs with no interruptions
BCost is triple standard VMs
CCan be stopped at any time
DAutomatic backups enabled
Explanation
Preemptible VMs can be stopped anytime; they are not permanent or reliable for long tasks.
Q388
Which Google Cloud service is primarily used for object storage?
ACloud Storage
BBigQuery
CCloud SQL
DDataflow
Explanation
Cloud Storage is designed for object storage, while the others serve different purposes.
Q389
A company needs to grant a team temporary access to a Compute Engine instance for onboarding. What should you implement?
AIAM permissions
BService accounts
CFirewall rules
DAPI keys
Explanation
IAM permissions allow for temporary access; the others do not control user access effectively.
Q390
What happens when you create a snapshot of a persistent disk?
ADisk data is copied
BDisk is deleted
CPerformance improves
DData is encrypted
Explanation
Creating a snapshot copies the state of the disk, whereas the others are incorrect processes.