The spiritual gifts are listed by Paul in 1 Corinthians 12:8-10. The passage enumerates the following gifts given by the Holy Spirit: the word of wisdom, the word of knowledge, faith, gifts of healing, working of miracles, prophecy, discernment of spirits, various kinds of tongues, and interpretation of tongues.
The option listing prophecy, wisdom, faith and healing correctly identifies four gifts that all appear in this passage. Each of these is explicitly named as a manifestation of the Spirit distributed to different members of the body of Christ.
Love, joy, peace and long-suffering are not spiritual gifts but rather the fruit of the Spirit, listed in Galatians 5:22-23. These are character qualities produced by the Holy Spirit in every believer, whereas spiritual gifts are specific abilities distributed to individuals for the benefit of the church. Preaching, praying, visions, and dreams are not listed among the spiritual gifts in 1 Corinthians 12.