A company needs to grant specific access to Cloud Storage for different teams. What should they use?
AIAM roles
BService accounts
CNetwork tags
DVPC Peering
Explanation
IAM roles provide granular access control for Cloud Storage resources; the others do not manage permissions directly.
Q312
What happens when you delete a Compute Engine instance without taking a snapshot?
AData is lost permanently
BData is stored in Cloud Storage
CData is recoverable for 30 days
DInstance configuration is saved
Explanation
Deleting an instance without a snapshot causes loss of all data on local disks; the other options are incorrect about data retention.
Q313
Which service allows you to orchestrate container deployment in Google Cloud?
ACloud Build
BCloud Functions
CGoogle Kubernetes Engine
DApp Engine
Explanation
Google Kubernetes Engine is designed for container orchestration, while others perform different functions.
Q314
A company needs a managed MySQL database solution. Which Google Cloud service should they use?
ACloud SQL
BBigQuery
CCloud Spanner
DFirestore
Explanation
Cloud SQL provides a fully managed relational database service specifically for MySQL.
Q315
What happens when you change a service account's key in IAM?
ARevoked access immediately
BOnly active for 24 hours
COld keys remain valid
DNew key replaces old key
Explanation
Changing a key generates a new key, which effectively replaces the old key, rendering it invalid.
Q316
Which service allows for automatic scaling of applications?
ACloud Functions
BCompute Engine
CCloud Storage
DBigQuery
Explanation
Cloud Functions auto-scales based on demand, while others require manual scaling or provide no scaling.
Q317
A company needs to securely connect on-premises systems to Google Cloud. Which service should they use?
ACloud VPN
BCloud Pub/Sub
CCloud Tasks
DCloud DNS
Explanation
Cloud VPN provides secure connectivity; the others serve different roles not focused on secure networking.
Q318
What happens when you delete a Google Cloud Storage bucket that contains objects?
AObjects remain in storage
BObjects are permanently deleted
CBucket configuration is saved
DDeletion is reversible for 30 days
Explanation
Deleting a bucket also deletes all contained objects immediately; the other options are incorrect regarding bucket deletion.
Q319
Which Google Cloud service is best for serverless event-driven applications?
ACloud Functions
BCloud Run
CApp Engine
DCompute Engine
Explanation
Cloud Functions is designed for serverless event-driven apps, while other options cater to different needs like containerized or virtual machine workloads.
Q320
A company needs to deploy a container-based application. Which service should they use if they want to manage orchestration?
AGKE
BCloud Run
CApp Engine
DCloud Functions
Explanation
GKE (Google Kubernetes Engine) provides orchestration needed for container deployments, unlike the other simplified options.