Halloween Special 2026! Get Up to 25% OFF Practice Questions! Limited Time - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain CBDE Exam - Topic 2 Question 72 Discussion

Posted by Dominque on Jul 04, 2023 at 02:02 AM

When you do external calls to other smart contracts:

Suggested Answer: B

Get Premium CBDE Questions as Interactive Web-Based Practice Test or PDF Real Exam Format Detailed Explanations Instant Access Get Your Practice Test
46 comments · newest first
AN
Andrew 11 months ago
I thought we could skip checks in some cases, but A seems safer.
WI
Willard 11 months ago
A is the standard, can’t go wrong with that!
CA
Carole 12 months ago
Wait, is C even a real thing? Sounds off.
EU
Eugene 12 months ago
I disagree, B makes more sense to me.
ME
Melissa 12 months ago
Definitely A, checks-effects-interactions is key!
JA
Janae 1 year ago
I might be mixing things up, but I think the effects-checks-interactions pattern is the one that emphasizes avoiding state changes before the call.
EL
Elin 1 year ago
I feel like option C is kind of tricky. I thought the checks-effects-interactions pattern was always necessary for external calls, not just when direct calls aren't possible.
TR
Truman 1 year ago
I remember practicing a question similar to this, and I think it was about avoiding state changes after the call, which makes me lean towards option A.
QU
Quinn 1 year ago
I think we should definitely follow the checks-effects-interactions pattern, but I'm not sure if it applies to all external calls.
JA
Jacob 1 year ago
This is a good test of my cloud computing knowledge. I'll carefully review each option and try to match it back to the NIST definition I've studied.
WI
Willis 1 year ago
Hmm, I'm a bit confused. I'm not sure if CTI is about priority allocation or keeping an eye on the team. I'll need to think this through carefully.
HE
Hermila 1 year ago
Wait, I thought SMTP was just about the format of email messages, not the actual protocol for sending them. I'm going to have to review my notes on this before answering.
LA
Laurel 1 year ago
Okay, I think I've got this. dBm is the absolute power, dB is the relative power, and dBi is the relative gain. Let me double-check that.
MA
Martha 1 year ago
I'm just going to write 'All of the above' and hope the grader is in a good mood. Navigating these Solidity patterns is like trying to solve a Rubik's Cube blindfolded.
MI
Miriam 1 year ago
↳ replying to Martha
User 3: B) you should follow the effects-checks-interactions pattern and avoid state changes before the call.
EN
Enola 1 year ago
↳ replying to Martha
User 2: C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
KI
Kimberlie 1 year ago
↳ replying to Martha
User 1: A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
TA
Tasia 1 year ago
Wait, so we have to do a dance before, during, and after the external call? This exam is turning into the Hokey Pokey!
DA
Dana 1 year ago
↳ replying to Tasia
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
LA
Latrice 1 year ago
↳ replying to Tasia
B) you should follow the effects-checks-interactions pattern and avoid state changes before the call.
AH
Ahmed 1 year ago
↳ replying to Tasia
Haha, it does sound like a dance routine, but it's just a way to ensure the safety and efficiency of your smart contract interactions.
EL
Elmer 1 year ago
↳ replying to Tasia
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
MA
Martha 1 year ago
↳ replying to Tasia
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
CA
Callie 1 year ago
↳ replying to Tasia
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
RO
Roslyn 1 year ago
I think Option C is the right answer. The checks-effects-interactions pattern is only necessary when you can't directly call the other contract. Otherwise, it's overkill.
GL
Gladys 1 year ago
↳ replying to Roslyn
B) you should follow the effects-checks-interactions pattern and avoid state changes before the call.
LU
Luann 1 year ago
↳ replying to Roslyn
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
CL
Claudia 1 year ago
↳ replying to Roslyn
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
CL
Clorinda 2 years ago
I'm not sure about that 'effects-checks-interactions' thing. Isn't it better to just avoid state changes altogether when making external calls?
XO
Xochitl 1 year ago
↳ replying to Clorinda
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
MA
Margot 1 year ago
↳ replying to Clorinda
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
HO
Hollis 1 year ago
↳ replying to Clorinda
B) you should follow the effects-checks-interactions pattern and avoid state changes before the call.
TA
Tarra 1 year ago
↳ replying to Clorinda
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
CA
Camellia 1 year ago
↳ replying to Clorinda
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
LA
Lashawn 1 year ago
↳ replying to Clorinda
C) you should follow the checks-effects-interactions pattern, which is only necessary when you do calls to contracts where a direct contract call is not possible.
DE
Derrick 1 year ago
↳ replying to Clorinda
B) you should follow the effects-checks-interactions pattern and avoid state changes before the call.
MA
Margart 1 year ago
↳ replying to Clorinda
A) you should follow the checks-effects-interactions pattern and avoid state changes after the call.
MI
Mitzie 2 years ago
But what about option C? It says it's necessary for calls to contracts where a direct contract call is not possible.
RE
Renea 2 years ago
I agree with Polly, it helps to avoid state changes after the call.
PE
Percy 2 years ago
Option A is definitely the way to go. Following the checks-effects-interactions pattern is crucial to avoid reentrancy vulnerabilities.
KA
Kaitlyn 1 year ago
↳ replying to Percy
User 2: I agree, following the checks-effects-interactions pattern is crucial to avoid reentrancy vulnerabilities.
DE
Devon 1 year ago
↳ replying to Percy
User 1: Option A is definitely the way to go.
PO
Polly 2 years ago
I think when doing external calls, we should follow the checks-effects-interactions pattern.
VE
Veta 2 years ago
I think both options have their merits, but I prefer following the checks-effects-interactions pattern, especially when direct contract calls are not possible.
DI
Dick 2 years ago
I disagree, I believe we should follow the effects-checks-interactions pattern and avoid state changes before the call.
TA
Tayna 2 years ago
I think when doing external calls, we should follow the checks-effects-interactions pattern and avoid state changes after the call.
0/2000 characters

Save Cancel