exam questions

Exam Professional Cloud Database Engineer All Questions

View all questions & answers for the Professional Cloud Database Engineer exam

Exam Professional Cloud Database Engineer topic 1 question 58 discussion

Actual exam question from Google's Professional Cloud Database Engineer
Question #: 58
Topic #: 1
[All Professional Cloud Database Engineer Questions]

Your organization has strict policies on tracking rollouts to production and periodically shares this information with external auditors to meet compliance requirements. You need to enable auditing on several Cloud Spanner databases. What should you do?

  • A. Use replication to roll out changes to higher environments.
  • B. Use backup and restore to roll out changes to higher environments.
  • C. Use Liquibase to roll out changes to higher environments.
  • D. Manually capture detailed DBA audit logs when changes are rolled out to higher environments.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
dynamic_dba
Highly Voted 1 year, 7 months ago
C. To satisfy audit reporting you would need a way to record what was changed and when. The best answer is one which uses some kind of source code control system (SCCS). That rules out A and B. Any mention of anything manual in a cloud environment should look suspicious, which leave option C. As it happens, Liquibase is an SCCS and can be integrated with Spanner. https://cloud.google.com/spanner/docs/use-liquibase
upvoted 6 times
...
Pilot50
Highly Voted 1 year, 6 months ago
Selected Answer: C
https://cloud.google.com/spanner/docs/use-liquibase
upvoted 5 times
...
dija123
Most Recent 5 months, 2 weeks ago
Selected Answer: C
Use Liquibase to roll out changes to higher environments.
upvoted 1 times
...
learnazureportal
1 year, 1 month ago
The correct answer is => D. Manually capturing audit logs provides the level of granularity and control required for compliance auditing.
upvoted 1 times
...
Mitra123
1 year, 3 months ago
D. Auditors wants to see what changed. The only way to showcase that is to capture the audit logs, who changed what... Hence D
upvoted 2 times
...
Nirca
1 year, 7 months ago
Selected Answer: C
C, liquidbase for db source control
upvoted 2 times
...
zanhsieh
1 year, 8 months ago
Selected Answer: C
I assume production environment shall be a standalone project. Based on this, A: No. Replication can't be done cross projects. B: No. Backup / restore only get a whole set drop / load statements from audit logs. External auditors would focus on "what changes". C: Yes. Liguibase could export change.yaml to hand over the external auditors. D: No. No way to capture audit logs and ship to the target project. Spanner is a managed service. Reference: https://cloud.google.com/spanner/docs/backup/gcloud https://cloud.google.com/spanner/docs/use-liquibase
upvoted 4 times
...
chelbsik
1 year, 10 months ago
Selected Answer: B
https://cloud.google.com/spanner/docs/audit-logging#audited_operations
upvoted 3 times
...
SVGoogle89
1 year, 10 months ago
C, liquidbase for db source control
upvoted 3 times
...
pk349
1 year, 10 months ago
B: Use backup and restore ***** to roll out changes to higher environments. [1] Even though restoring a database requires authorization on two resources (the backup ***** and restored database, which might reside in different instances), the RestoreDatabase event is logged only once as a single entry in the instance of the restored database. Within this entry, there will be two authorizationInfo entries: one for the database, checking the spanner.databases.create permission, and one for the backup, checking the spanner.backups.restoreDatabase permission.
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago