
















































































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

















































































Question 1. Which component of Alibaba Cloud Log Service (SLS) is responsible for collecting logs from a self‑managed database instance? A) Logstore B) Logtail C) Project D) Log Hub Answer: B Explanation: Logtail is the agent that runs on the source server and forwards logs to SLS. Question 2. In the ACID model, which property guarantees that once a transaction is committed, its effects survive system crashes? A) Atomicity B) Consistency C) Isolation D) Durability Answer: D Explanation: Durability ensures that committed data is persisted and not lost after a crash. Question 3. Which of the following Alibaba Cloud database services is classified as a shared‑storage, cloud‑native relational database? A) ApsaraDB for Redis B) AnalyticDB (ADB) C) PolarDB D) RDS for PostgreSQL Answer: C Explanation: PolarDB decouples compute and storage using a shared‑storage architecture.
Question 4. When configuring an RDS instance, which network type isolates the instance within a private VPC and provides better security? A) Classic network B) VPC network C) Public network D) Hybrid network Answer: B Explanation: VPC network places the instance inside a virtual private cloud, isolating it from the public internet. Question 5. Which log type in MySQL records every modification to the database and is essential for point‑in‑time recovery? A) Error log B) Slow query log C) Binary log (binlog) D) General query log Answer: C Explanation: The binary log records all changes and is used for PITR and replication. Question 6. In PolarDB, what is the purpose of the Cluster Endpoint? A) To connect directly to the primary node only B) To provide a single entry point that load‑balances reads across read‑only nodes C) To expose the storage layer to external applications D) To manage security groups for the cluster Answer: B
D) Hash Answer: C Explanation: Sorted Sets store members with a score and allow range queries by score, ideal for leaderboards. Question 10. What is the default isolation level for MySQL InnoDB engine? A) READ UNCOMMITTED B) READ COMMITTED C) REPEATABLE READ D) SERIALIZABLE Answer: C Explanation: InnoDB uses REPEATABLE READ, which prevents non‑repeatable reads and phantom reads. Question 11. Which Alibaba Cloud service provides real‑time data synchronization from an on‑premises MySQL database to an RDS MySQL instance? A) Data Transmission Service (DTS) B) Data Management Service (DMS) C) AnalyticDB (ADB) D) Advanced Database and Application Migration (ADAM) Answer: A Explanation: DTS supports full and incremental migration as well as real‑time synchronization. Question 12. In the context of database logs, what does “redo log” primarily achieve? A) Records read operations for auditing B) Stores transaction rollback information
C) Persists changes to ensure recovery after a crash D) Logs slow queries for performance tuning Answer: C Explanation: Redo logs capture modifications and are used to redo committed changes during recovery. Question 13. Which of the following describes the “Shared‑Nothing” architecture? A) All nodes share a common storage device B) Each node has its own CPU, memory, and disk C) Nodes share memory but not storage D) Nodes share network bandwidth only Answer: B Explanation: In Shared‑Nothing, each node is independent with its own resources, improving scalability. Question 14. Which of the following is a characteristic of a “serverless” database offering? A. Fixed compute instance size B. Automatic scaling of compute and storage without user provisioning C. Manual backup scheduling only D. Requires dedicated VPC subnet Answer: B Explanation: Serverless databases automatically adjust resources based on workload without manual provisioning. Question 15. In MongoDB, what is the purpose of a “shard key”? A) To encrypt data at rest
B) RAM policies can be attached to both users and roles. C) RAM replaces security groups for network access. D) RAM is only used for billing purposes. Answer: B Explanation: RAM policies define permissions and can be attached to users or roles for fine‑grained access control. Question 19. In PolarDB, what happens when a compute node fails? A) The entire cluster shuts down. B) Storage is lost and must be rebuilt. C) A standby compute node takes over instantly with minimal downtime. D) All read‑only nodes become primary. Answer: C Explanation: PolarDB’s fast failover promotes a standby compute node, ensuring high availability. Question 20. Which of the following is NOT a typical use case for ApsaraDB for Redis (Tair)? A) Session caching B. Real‑time analytics on petabyte‑scale data C) Leaderboard ranking D) Distributed locking Answer: B Explanation: Redis excels at low‑latency caching and data structures, not at massive analytical workloads.
Question 21. When configuring a security group for an RDS instance, which direction must be allowed to let client applications connect? A) Outbound only B) Inbound only C) Both inbound and outbound D) Neither, security groups are not used for RDS Answer: B Explanation: Inbound rules permit traffic from client IPs to the RDS port. Question 22. Which of the following Alibaba Cloud services can automatically parse and visualize slow query logs from an RDS instance? A) Data Management Service (DMS) B) Log Service (SLS) with Logtail and Logstore C) AnalyticDB (ADB) D) Data Transmission Service (DTS) Answer: B Explanation: SLS can collect, index, and query slow query logs for analysis. Question 23. In MySQL, which lock type allows multiple transactions to read a row but prevents any from writing to it? A) Exclusive lock B) Shared lock C) Intent lock D) Gap lock Answer: B Explanation: Shared locks (read locks) permit concurrent reads while blocking writes.
Explanation: InnoDB is the default engine, offering ACID compliance and row‑level locking. Question 27. In AnalyticDB (ADB), which language is primarily used to query data? A) SQL B) NoSQL API C) GraphQL D) SPARQL Answer: A Explanation: AnalyticDB supports standard ANSI SQL for analytical queries. Question 28. Which parameter in PostgreSQL controls the amount of memory used for sorting operations? A) shared_buffers B) work_mem C) maintenance_work_mem D) effective_cache_size Answer: B Explanation: work_mem defines per‑operation memory for sorts, hashes, etc. Question 29. Which of the following is a typical characteristic of a “shared‑disk” database architecture? A) Each node has a local disk only. B) All nodes access a common storage device over a network. C) Data is partitioned across nodes without any shared storage. D) Nodes are stateless and rely on external caches. Answer: B
Explanation: Shared‑disk systems use a central storage that all compute nodes can read/write. Question 30. When using DMS to execute a SQL statement on an RDS instance, which feature helps prevent accidental data exposure? A) Automatic encryption of the query results B) Data desensitization (masking) of sensitive columns C) Read‑only mode enforcement for all sessions D) Mandatory two‑factor authentication for each query Answer: B Explanation: DMS provides data desensitization to mask sensitive fields in query results. Question 31. Which of the following statements about “binary log format” in MySQL is FALSE? A) Row‑based logging records changed rows. B) Statement‑based logging records the executed SQL statements. C) Mixed format can switch between row and statement based on the operation. D) Binary logs are stored in the InnoDB redo log file. Answer: D Explanation: Binary logs are separate files; redo logs are part of InnoDB's storage engine. Question 32. In the context of Alibaba Cloud, what does “DTS” stand for? A) Data Transfer Service B) Data Transmission Service C) Database Transaction System D) Distributed Tuning Service Answer: B
D) db.createRole({role:"readOnly", privileges:[]}) Answer: A Explanation: The createUser command with the “read” role grants read‑only permissions. Question 36. Which of the following is a key advantage of using PolarDB’s decoupled storage model? A) Unlimited CPU cores per node B) Automatic data sharding across multiple regions C) Independent scaling of compute and storage resources D) Built‑in machine learning inference engine Answer: C Explanation: Decoupled storage allows compute and storage to be scaled separately based on demand. Question 37. When monitoring a database with CloudMonitor, which alarm condition would most likely indicate a connection‑pool exhaustion problem? A) CPU utilization > 90% B) Active connections approaching max_connections limit C) Disk usage > 80% D) Network inbound traffic spikes Answer: B Explanation: Approaching the max_connections threshold suggests the pool is exhausted. Question 38. Which of the following is true about “transaction isolation level” SERIALIZABLE in MySQL? A) Allows dirty reads but prevents non‑repeatable reads.
B) Guarantees full isolation, preventing phantom reads. C) Is the default level for InnoDB. D) Is only available in MyISAM tables. Answer: B Explanation: SERIALIZABLE provides the highest isolation, eliminating phantom reads. Question 39. In Redis, which command atomically increments a numeric value stored at a key? A) INCRBY B) SET C) APPEND D) HINCRBY Answer: A Explanation: INCR (or INCRBY) increments the integer value atomically. Question 40. Which of the following describes the function of “Logtail” in the Alibaba Cloud Log Service architecture? A) Stores logs in a searchable index. B) Collects logs from source hosts and forwards them to Logstore. C) Provides a web UI for log visualization. D) Generates alerts based on log patterns. Answer: B Explanation: Logtail is the log‑collecting agent that ships logs to the Log Service. Question 41. Which of the following statements about “automatic backup” for RDS is correct?
Question 44. When using Data Transmission Service (DTS) for incremental migration, which mechanism tracks data changes? A) Binlog parsing B) Snapshot comparison C) Manual trigger scripts D) CloudWatch events Answer: A Explanation: DTS reads the source’s binary log to capture incremental changes. Question 45. Which of the following best describes “data desensitization” in DMS? A) Encrypting data at rest using KMS. B) Masking or obfuscating sensitive fields in query results. C) Removing duplicate rows from a table. D) Compressing data before transmission. Answer: B Explanation: Desensitization masks sensitive information to prevent exposure. Question 46. In MySQL, which storage engine supports foreign key constraints? A) MyISAM B) InnoDB C) MEMORY D) CSV Answer: B Explanation: InnoDB enforces foreign key relationships; MyISAM does not.
Question 47. Which of the following is NOT a supported data type in MongoDB? A) ObjectId B) Binary C) ENUM D) Array Answer: C Explanation: MongoDB does not have an ENUM type; it uses strings or numbers instead. Question 48. Which of the following components of SLS allows you to define a “project” that groups related logstores? A) Logtail B) Logstore C) Project D) Log Consumer Answer: C Explanation: A Project is the top‑level container for related Logstores. Question 49. In PolarDB, what happens when you add a new read‑only node to a cluster? A) The storage size automatically doubles. B) The new node immediately starts receiving read traffic via the cluster endpoint. C) The primary node is replaced. D) All existing read‑only nodes are shut down. Answer: B Explanation: New read‑only nodes join the cluster and serve reads through the endpoint.
Question 53. Which of the following best describes “PITR” in the context of Alibaba Cloud Backup Service (DBS)? A) Restoring a database to the latest backup only. B) Restoring a database to a specific point in time using incremental backups. C) Exporting data to an external object storage bucket. D) Cloning a database instance to a different region. Answer: B Explanation: PITR uses backup and log information to recover to any point within the retention window. Question 54. Which of the following is NOT a typical metric monitored by CloudMonitor for a PolarDB cluster? A) CPU utilization B. Disk IOPS C. Network latency to the VPC gateway D. Active connections Answer: C Explanation: CloudMonitor focuses on instance‑level metrics; network latency to the gateway is not a standard PolarDB metric. Question 55. In Redis, which command removes and returns the first element of a list? A) POPLEFT B) LPOP C) RPOP D) DEL
Answer: B Explanation: LPOP removes and returns the leftmost element of a list. Question 56. Which of the following is a correct statement about “binary log (binlog) format = ROW” in MySQL? A) It records only the SQL statements that were executed. B) It records the before‑and‑after images of changed rows. C) It disables point‑in‑time recovery. D) It is incompatible with replication. Answer: B Explanation: ROW format logs the actual row changes, enabling precise replication and PITR. Question 57. Which Alibaba Cloud service provides a visual interface for creating, modifying, and executing SQL scripts against an RDS instance? A) Data Transmission Service (DTS) B) Data Management Service (DMS) C) AnalyticDB (ADB) D) Advanced Database and Application Migration (ADAM) Answer: B Explanation: DMS offers a web console for SQL execution and object management. Question 58. Which of the following is the most appropriate use case for AnalyticDB’s “real‑time data ingestion” feature? A. Storing session data for a web application B. Performing batch ETL jobs once per week C. Feeding clickstream data into dashboards with sub‑second latency