nerdexam
Google

PROFESSIONAL-DATA-ENGINEER · Question #173

You are deploying MariaDB SQL databases on GCE VM Instances and need to configure monitoring and alerting. You want to collect metrics including network connections, disk IO and replication status…

The correct answer is D. Install the StackDriver Agent and configure the MySQL plugin. The mysql receiver connects by default to a local MariaDB server using a Unix socket and Unix authentication as the root user. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/mariadb

Submitted by andres_qro· Mar 30, 2026Building and operationalizing data processing systems

Question

You are deploying MariaDB SQL databases on GCE VM Instances and need to configure monitoring and alerting. You want to collect metrics including network connections, disk IO and replication status from MariaDB with minimal development effort and use StackDriver for dashboards and alerts. What should you do?

Options

  • AInstall the OpenCensus Agent and create a custom metric collection application with a StackDriver exporter.
  • BPlace the MariaDB instances in an Instance Group with a Health Check.
  • CInstall the StackDriver Logging Agent and configure fluentd in_tail plugin to read MariaDB logs.
  • DInstall the StackDriver Agent and configure the MySQL plugin.

How the community answered

(52 responses)
  • A
    2% (1)
  • B
    4% (2)
  • C
    2% (1)
  • D
    92% (48)

Explanation

The mysql receiver connects by default to a local MariaDB server using a Unix socket and Unix authentication as the root user. https://cloud.google.com/stackdriver/docs/solutions/agents/ops-agent/third-party/mariadb

Topics

#Stackdriver monitoring#MySQL plugin#GCE monitoring#MariaDB

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-DATA-ENGINEER Practice