Do you like traveling?

Literal

Travel do [nominalizer-こと] [subject-が] liked is [question-か]?

旅行することが好きですか is the textbook pattern for asking about preferences: [verb]ことが好き. が marks the nominalized activity as the subject of 好き.