A company needs to securely store sensitive API keys. Which Google Cloud service is best suited for this?
ACloud Storage
BSecret Manager
CFirestore
DBigQuery
Explanation
Secret Manager is specifically designed for securely storing and managing API keys; others do not focus on security for sensitive information.
Q12
You are configuring a virtual machine in Google Cloud and receive a prompt to choose machine types. What should you consider for high-performance workloads?
AN1 standard machines
BN2 advanced machines
CE2 micro machines
DF1 micro machines
Explanation
N2 machines offer better performance and flexibility for high-demand applications; others provide lower resources and performance.
Q13
Which Google Cloud service is best for serverless computing?
ACloud Functions
BCompute Engine
CApp Engine
DKubernetes Engine
Explanation
Cloud Functions is specifically designed for serverless applications, unlike the others which require more management.
Q14
A company needs to analyze data stored in BigQuery without duplicating it. Which service should they use?
ADataflow
BDataproc
CData Fusion
DBigQuery BI Engine
Explanation
BigQuery BI Engine allows analysis without data duplication, while the others are more focused on data processing or transformation.
Q15
What happens when you try to access a deleted Google Cloud Storage object?
AObject is permanently deleted
BObject is recoverable for 30 days
CYou get an error message
DIt reappears after a delay
Explanation
Deleted objects can be recovered within a retention period if Object Versioning is not disabled, allowing restoration.
Q16
Which service allows you to run containers without managing servers?
ACloud Run
BApp Engine
CCloud Functions
DKubernetes Engine
Explanation
Cloud Run is designed for serverless container execution, while the others require more management.
Q17
A company needs to store log data that is immutable and requires regulatory compliance. Which Google Cloud service should they use?
ACloud Storage
BBigQuery
CFirestore
DCloud Audit Logs
Explanation
Cloud Audit Logs provides immutable logs for compliance, whereas the others do not guarantee immutability.
Q18
What happens when you assign a role containing 'roles/storage.objectViewer' to a user on a bucket?
AUser can delete objects.
BUser can only read objects.
CUser can upload objects.
DUser can list all buckets.
Explanation
The 'objectViewer' role only grants read access to objects, not deletion or upload privileges.
Q19
Which service is used for managing Kubernetes clusters?
AGoogle Kubernetes Engine
BCloud Run
CApp Engine
DCompute Engine
Explanation
Google Kubernetes Engine is specifically designed for managing Kubernetes clusters, while the others have different purposes.
Q20
You are configuring a Cloud Function triggered by HTTP requests. What is a necessary step?
ASet up a Compute Engine VM
BDeploy a Cloud Run service
CConfigure authentication settings
DCreate a Cloud Storage bucket
Explanation
Configuring authentication settings is necessary for securing HTTP-triggered functions, while the others are unrelated tasks.