In Hyperledger Fabric, CouchDB is enabled as the state database by changing the state Database configuration option from goleveldb to what?
Suggested Answer: D
Get Premium HFCP Questions
as Interactive Web-Based Practice Test or PDF
Real Exam Format
Detailed Explanations
Instant Access
Get Your Practice Test
In Hyperledger Fabric, to enable CouchDB as the state database, the stateDatabase configuration option in the core.yaml file must be changed from goleveldb to CouchDB. This change directs the peer to use CouchDB instead of the default LevelDB for storing the world state, which can then be queried using rich queries and provides additional features like indexing.
22 comments · newest first
DO
Dortha
11 months ago
I disagree, I thought it was setCouchDB.
ZI
Zita
11 months ago
Wait, is that really the only option?
HI
Hildegarde
12 months ago
Yeah, gocouchdb is correct!
ST
Stephane
12 months ago
I thought it was just CouchDB?
TR
Tran
1 year ago
It's gocouchdb for sure!
RO
Rory
1 year ago
I’m confused; I thought it was "goCouch," but now I’m second-guessing myself after reviewing similar questions.
LU
Luz
1 year ago
I’m leaning towards "CouchDB" as the answer, but I recall there being a specific prefix like "go" in some examples.
JE
Jerry
1 year ago
I remember practicing a question about state databases, and I feel like "setCouchDB" was mentioned, but it seems a bit off.
KI
Kiley
1 year ago
I think the answer might be "gocouchdb," but I'm not entirely sure if that's the exact term used in the configuration.
AL
Aliza
1 year ago
Hmm, I'm a little unsure on this one. I know CouchDB is an option, but I can't remember the exact syntax for enabling it. I'll have to double-check the Hyperledger Fabric documentation to be sure.
GL
Glennis
1 year ago
I got this! The state database configuration option in Hyperledger Fabric is set to "CouchDB" when you want to use CouchDB as the state database. I'm confident that's the right answer.
KA
Katie
1 year ago
Okay, let me think this through. The question is asking about the state database configuration option, and it mentions that CouchDB is enabled. So the answer must be the value that you set that configuration option to, which I believe is just "CouchDB".
CO
Cordelia
1 year ago
I'm pretty sure the answer is CouchDB, since that's the database that Hyperledger Fabric uses when you enable it as the state database.
PA
Patti
1 year ago
Hmm, I'm a bit confused on this one. I know CouchDB is an option, but I can't remember the exact configuration setting to enable it. I'll have to review my notes on Hyperledger Fabric.
LE
Levi
1 year ago
Hmm, not sure about this one. Benefits and working conditions could relate to employees, customers, or the business itself. I'll have to weigh the options closely.
JA
Jamal
1 year ago
Hmm, I'm not entirely sure about this one. I'll need to weigh the pros and cons of each option carefully before making a decision.
ST
Starr
2 years ago
CouchDB does sound right. Let's go with that.
EM
Emiko
2 years ago
Makes sense to me. D for sure.
GA
Gail
2 years ago
Yeah, it's D. I remember reading that in the docs.
WI
William
3 years ago
Feels tricky. D seems correct since CouchDB is obvious.
MA
Martina
3 years ago
I think the answer is D, CouchDB.
ST
Starr
3 years ago
In Hyperledger Fabric, CouchDB is enabled by changing state DB config from goleveldb to what?