Pretty much anything qualifies as "activity". Activity could be anything from staying at a Marriott, using the Marriott Rewards Visa card, or updating your mailing address or telephone number.
And honestly, I've seen accounts inactive for longer than the two years and they're still open.