Yes, you should put a comma.
A comma is usually used in the middle of a sentence to separate two clauses, or right before a conjunction. Since “like” is a dependent clause in this sentence, as “it can be attractive” can stand alone, a comma would be put before it. It may also help to read the sentence and see if there is a natural pause to it.
Choice B) My sister bought a green cotton sweater uses a transitive verb.
A. Wolfson, Elijah. “Newsweek Names a Mars Crater.” Newsweek. Newsweek, 28 Feb. 2014. Web. 1 Mar. 2014.
B. Herman, Barbara. “Where’s the Fire?” Newsweek. Newsweek, 24 Oct. 2013. Web. 25 Feb. 2014.
D. “A Mighty Girl.” N.p., n.d. Web. 26 Feb. 2014.