Tech heavyweights and regional banks led the major stock indexes higher, but risks remain.