A company needs to allow specific users access to its Google Cloud project. What is the best way to manage this?
AUse IAM roles and permissions
BCreate public access for all
CEmploy firewall rules only
DUse GCP resources without credentials
Explanation
IAM roles and permissions provide precise access control, while the other options do not restrict access appropriately.
Q102
You are configuring a machine learning model with sensitive data. What is the most effective privacy measure?
AEnable model explainability
BImplement data anonymization
CIncrease model complexity
DUse larger datasets only
Explanation
Data anonymization effectively protects sensitive information, while the other options do not ensure privacy.
Q103
Which service leverages auto-scaling for containerized applications?
AGoogle Kubernetes Engine
BCloud Functions
CCloud Run
DApp Engine
Explanation
Google Kubernetes Engine provides comprehensive auto-scaling for Kubernetes-managed containers, while others do not focus on container orchestration at that level.
Q104
A company needs to process large datasets in real-time. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CBigQuery
DCloud Functions
Explanation
Cloud Pub/Sub allows for real-time messaging and event-driven architecture, while others are better suited for batch processing or storage.
Q105
What happens when an instance is stopped in Compute Engine?
ADisk data is deleted
BInstance incurs charges
CIP address changes
DAll settings are lost
Explanation
When an instance is stopped, its IP address may change, but the disk data remains intact and doesn't incur charges while stopped.
Q106
Which Google Cloud service is best for managing containerized applications?
AGoogle Kubernetes Engine
BCloud Functions
CApp Engine
DCloud Run
Explanation
Google Kubernetes Engine is designed for orchestrating containers, whereas the others are not specialized for this purpose.
Q107
A company needs to securely share sensitive data among subsidiaries across different regions. What is the best practice?
AUse public Google Drive links
BImplement IAM policies and use Cloud Storage
CEmail encrypted files directly
DUpload data to a public GCP account
Explanation
IAM policies ensure fine-grained access control, while public links and email are insecure sharing methods.
Q108
What happens when you exceed the quota on a Google Cloud service?
AService automatically scales up
BRequests are denied until quota resets
CPerformance improves temporarily
DNew data is ignored without error
Explanation
Exceeding a quota results in denied requests until limits are reset, unlike options A, C, and D which are inaccurate outcomes.
Q109
Which service is best for text analysis?
ACloud Natural Language
BCloud Vision
CCloud Speech-to-Text
DCloud Dataflow
Explanation
Cloud Natural Language is designed for analyzing text, while others are for image or audio processing.
Q110
A company needs to implement real-time data processing. Which service should they use?
ACloud Pub/Sub
BCloud Storage
CCloud Functions
DCloud SQL
Explanation
Cloud Pub/Sub is built for real-time data streaming, while the others are for storage or processing with delays.