Let $A$ denote some assertion that applies to real numbers. Here, it is assumed that for each $x \in \Bbb{R}$, the assertion $A$ with respect to the value $x$ is either true or false.
For any specific value $x \in \Bbb{R}$,
let the statement $[A::x]$ denote that the assertion $A$ is (supposedly) true, with respect to the real number $x$.
Consider the following two statements:
- Statement S-1: For all $x\in \Bbb{R}, [A::x]$.
- Statement S-2: There exists at least one $x \in \Bbb{R}$ such that $[A::x]$.
Now consider how to negate those statements.
For illustrative purposes, let $[A::x]$ denote the specific assertion that $x$ is positive.
Then S-1 is asserting that all real numbers are positive, while S-2 is asserting that there exists at least one real number $x$ such that $x$ is positive.
To negate S-1, it is sufficient to provide a counter-example. One counter-example is $x = -1$, because $(-1)$ is not positive.
Note
In negating S-1, it is not necessary to show that S-1 is false for every real number $(x)$. Instead, it is sufficient to show that there exists at least one real number $(x)$ such that S-1 is false, with respect to $(x)$.
However, the counter-example of $x = -1$ does not negate S-2, because S-2 is not asserting that the assertion $[A::x]$ is true for all real numbers. Instead, S-2 is only asserting that there exists at least one real number $x$ such that the $[A::x]$ is true.
Now consider the question that you posted.
(i) For real numbers $a$, if $f(a) = 0$ then $a$ is positive (i.e. $a > 0$).
The excerpted assertion is making an assertion that is supposed to apply for all real numbers $(a)$. Therefore, the excerpted assertion analogizes to a statement similar to S-1 above, rather than being similar to S-2 above.
By similar I mean that statement S-1 represents an assertion that is also supposed to apply to all real numbers, while statement S-2 represents an assertion that is only supposed to be true for at least one real number.
Therefore, the way to negate the excerpted assertion is to show that there exists at least one real number $(a)$ such that the assertion is false, for that particular value of $(a)$.
Now consider the two options that you mentioned:
(ii) For real numbers $a$, if $f(a) = 0$ then $a$ is negative.
(viii) For some non-positive real number $a$, $f(a) = 0$.
Option (viii) is the one that focuses on only finding at least one counter-example. Therefore option (viii) represents the negation of (i).