Soru

Zorluk: OrtaCloud Emulators and Development Testing Frameworks

A financial software development team is designing an automated local integration testing suite for microservices that interact with Cloud Spanner. The team wants to validate database schema migrations, transactional queries, and security features in local developer environments prior to deployment. Which statement accurately describes a key capability or architectural limitation of the Cloud Spanner emulator when integrated into this local testing workflow?

  1. The emulator supports standard DDL and DML statements locally without needing Google Cloud credentials, but it does not support Customer-Managed Encryption Keys (CMEK) or IAM fine-grained access control.Cevap
  2. B
    The emulator requires authenticating local test execution by mounting a service account JSON file granted primitive Owner permissions.
  3. C
    The emulator requires deploying a local single-node Google Kubernetes Engine cluster to simulate distributed Cloud Spanner consensus nodes.
  4. D
    The emulator outputs local schema changes to unversioned flat files that must be manually merged into source control to maintain deployment state.

Cevap

The Cloud Spanner emulator supports standard DDL and DML statements locally without needing Google Cloud credentials, but it does not support Customer-Managed Encryption Keys (CMEK) or IAM fine-grained access control.
The correct answer accurately reflects the architecture of the Cloud Spanner emulator. It provides an in-memory implementation of Cloud Spanner that supports standard DDL schema definitions, DML queries, and ACID transactions locally without calling GCP APIs or requiring credentials. However, enterprise security features like Customer-Managed Encryption Keys (CMEK), Cloud KMS, and IAM fine-grained access control are explicitly unsupported in the emulator.

Adım Adım Çözüm

1
Identify the purpose of Cloud Emulators in GCP development lifecycle.
Emulators enable local offline unit and integration testing without invoking real cloud resources or incurring costs.
Developers need fast feedback loops during local testing before pushing code to CI/CD pipelines.
2
Evaluate the feature scope and limitations of the Cloud Spanner emulator.
The emulator supports core relational database features (DDL, DML, transactions, session management) in-memory without GCP IAM authorization.
It is designed for functional application testing rather than security infrastructure testing.
3
Determine unsupported enterprise security features in the emulator environment.
Customer-Managed Encryption Keys (CMEK), Cloud KMS integration, IAM fine-grained access control, and multi-region replication are not supported in the emulator.
Cloud KMS and IAM security controls depend on live cloud management planes not present in offline emulators.

Anahtar Kavram

Cloud Spanner Emulator Capabilities and Limitations
Bu soruyu puanla