exam questions

Exam SnowPro Advanced Architect All Questions

View all questions & answers for the SnowPro Advanced Architect exam

Exam SnowPro Advanced Architect topic 1 question 79 discussion

Actual exam question from Snowflake's SnowPro Advanced Architect
Question #: 79
Topic #: 1
[All SnowPro Advanced Architect Questions]

What are characteristics of the use of transactions in Snowflake? (Choose two.)

  • A. Explicit transactions can contain DDL, DML, and query statements.
  • B. The AUTOCOMMIT setting can be changed inside a stored procedure.
  • C. A transaction can be started explicitly by executing a BEGIN WORK statement and end explicitly by executing a COMMIT WORK statement.
  • D. A transaction can be started explicitly by executing a BEGIN TRANSACTION statement and end explicitly by executing an END TRANSACTION statement.
  • E. Explicit transactions should contain only DML statements and query statements. All DDL statements implicitly commit active transactions.
Show Suggested Answer Hide Answer
Suggested Answer: CE 🗳️

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
Arkitekt
1 month, 3 weeks ago
Selected Answer: CE
"A. Explicit transactions should contain only DML statements and query statements. DDL statements implicitly commit active transactions B. Caution: Do not change AUTOCOMMIT settings inside a stored procedure. You will get an error message. C. A transaction can be started explicitly by executing a BEGIN statement. Snowflake supports the synonyms BEGIN WORK and BEGIN TRANSACTION. Snowflake recommends using BEGIN TRANSACTION. A transaction can be ended explicitly by executing COMMIT or ROLLBACK. Snowflake supports the synonym COMMIT WORK for COMMIT, and the synonym ROLLBACK WORK for ROLLBACK. D. BEGIN TRANSACTION can be used to start a transaction, but there is no END TRANSACTION statement. To end, COMMIT or ROLLBACK is used. E. (Same note as A) Explicit transactions should contain only DML statements and query statements. DDL statements implicitly commit active transactions https://docs.snowflake.com/en/sql-reference/transactions#what-is-a-transaction"
upvoted 1 times
...
Soumak
5 months, 1 week ago
Selected Answer: CE
validated https://docs.snowflake.com/en/sql-reference/transactions
upvoted 2 times
...
swe12
9 months, 3 weeks ago
CE is right https://docs.snowflake.com/en/sql-reference/transactions
upvoted 2 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 ...