What is the source of the question? Is this from ISC2 or somewhere else.
I believe the author is splitting hairs (old saying) here.
Both Ransomware and DDoS affect the availability. One by encrypting it and the other by crippling the server. With Ransomware the data is available just not usable. DDoS cripples the server and you cannot access the data. Both effectively make the data unavailable to the user.
If a question from ISC2 then I suggest you send an errata to them.
d