New Year Sale 2026! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Blockchain CBDE Exam - Topic 4 Question 85 Discussion

Actual exam question for Blockchain's CBDE exam
Question #: 85
Topic #: 4
[All CBDE Questions]

To generate a random number:

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

0/2000 characters
Daren
3 months ago
Wait, are we saying randomness is impossible on Ethereum? That sounds off.
upvoted 0 times
...
Aliza
3 months ago
Not sure about that, can we really trust RANDAO?
upvoted 0 times
...
Chauncey
4 months ago
RANDAO is the way to go for true randomness!
upvoted 0 times
...
Ilda
4 months ago
Totally agree, block timestamps can be manipulated.
upvoted 0 times
...
Margret
4 months ago
I think using the block hash is a solid choice.
upvoted 0 times
...
Ligia
4 months ago
I feel like I read somewhere that you can't truly generate random numbers on Ethereum due to its deterministic nature, but I'm not completely confident in that.
upvoted 0 times
...
Gennie
5 months ago
I'm leaning towards RANDAO, but I can't recall all the details about how it works. Was it really the best choice?
upvoted 0 times
...
Daren
5 months ago
I remember practicing with similar questions, and I think the block hash is a better option because it's unique for each block.
upvoted 0 times
...
Lelia
5 months ago
I think using the block timestamp could work since it's always changing, but I'm not entirely sure if it's secure enough.
upvoted 0 times
...
Emmanuel
5 months ago
I'm a bit hesitant about this question. The block timestamp and hash could potentially be used, but they might not be truly random. I'll need to do some more research on the RANDAO contract before I can decide.
upvoted 0 times
...
Yoko
5 months ago
Option D is interesting, but I don't think it's correct. Ethereum may be deterministic, but there are ways to generate randomness even in a blockchain environment. I'm leaning towards C as the best answer.
upvoted 0 times
...
Lonna
5 months ago
Hmm, I'm not sure about this one. The block timestamp and hash seem like they could be random, but I'm not confident that's the best approach. I'll have to think this through more carefully.
upvoted 0 times
...
Rolland
5 months ago
I'm pretty sure the answer is C. The RANDAO smart contract is designed specifically for generating random numbers in a decentralized environment like Ethereum.
upvoted 0 times
...
Lavonne
5 months ago
I'm a little confused by this question. I know you can use aliases in Python, but I'm not sure if that applies to package paths. Maybe option D is the right answer, but I'm not 100% sure. I'll have to review my notes on this topic.
upvoted 0 times
...
Dexter
5 months ago
Okay, I think I've got this. The steps are to make sure the Account field is empty and not to contact Salesforce Support to enable anything.
upvoted 0 times
...
Evan
5 months ago
Hmm, this is a tricky one. There are a lot of moving parts to keep track of - different cloud providers, delivery models, and trust boundaries. I'll need to take my time and really analyze each option to make sure I understand the nuances.
upvoted 0 times
...
Caren
2 years ago
I beliCaren it's not possible to have true randomness in a deterministic environment like the Ethereum blockchain.
upvoted 0 times
...
Melynda
2 years ago
I think using the RANDAO smart contract is the most reliable option.
upvoted 0 times
...
Domingo
2 years ago
I prefer using the block hash for random number generation.
upvoted 0 times
...
Irving
2 years ago
I agree with Amber, the block timestamp is always changing.
upvoted 0 times
...
Amber
2 years ago
I think it's good to use the block timestamp for randomness.
upvoted 0 times
...
Teddy
2 years ago
I see your point, but using the block timestamp could be susceptible to manipulation.
upvoted 0 times
...
Suzi
2 years ago
I don't think we can have true randomness in a deterministic environment like the Ethereum blockchain.
upvoted 0 times
...
Carmela
2 years ago
Actually, I prefer using the RANDAO smart contract for generating random numbers.
upvoted 0 times
...
Alexia
2 years ago
I disagree, I believe it's better to use the block hash as it's clearly very different.
upvoted 0 times
...
Mitsue
2 years ago
I think it's good to use the block timestamp because it's always different.
upvoted 0 times
...
Luisa
2 years ago
Hah, good point, Justine! I think that's the problem with a lot of these options - they might seem random on the surface, but there could be ways to game the system. I'm not sure there's a perfect solution here.
upvoted 0 times
...
Justine
2 years ago
Personally, I'm leaning towards option B. The block hash is always different, so it seems like a good source of randomness to me. *chuckles* Although I guess if someone can predict the block hash, it wouldn't be so random, would it?
upvoted 0 times
...
Tommy
2 years ago
Yeah, Herman's got a point. I think the RANDAO contract is a pretty good solution. It's been used quite a bit in the Ethereum ecosystem, so it must be doing something right.
upvoted 0 times
Melissa
2 years ago
I think using the block hash is even better, as it's clearly always very different.
upvoted 0 times
...
Loreta
2 years ago
But isn't using the block timestamp also a good option? It's always different.
upvoted 0 times
...
Alberto
2 years ago
I agree, using the RANDAO smart contract seems like a reliable way to generate random numbers.
upvoted 0 times
...
...
Herman
2 years ago
I'm not so sure about that, Sherill. What about option C, the RANDAO smart contract? I've heard that can be a pretty reliable way to generate random numbers on the blockchain.
upvoted 0 times
...
Sherill
2 years ago
I agree with you, Gary. I'm not sure there's an easy answer here. But I think option D might be the most accurate - it's probably not possible to have a completely random number on the Ethereum blockchain.
upvoted 0 times
...
Gary
2 years ago
Hmm, this is an interesting question. I'm not sure how I feel about it, to be honest. Generating a truly random number in a deterministic environment like the Ethereum blockchain does seem like a bit of a challenge.
upvoted 0 times
...

Save Cancel