A flamingo was spotted on a Cape Cod beach in Dennis on Sunday afternoon — a “monumentally rare” sighting, said Mark Faherty, a science coordinator at the Mass Audubon on Cape Cod.