U.S. stocks rose, after benchmark indexes climbed to records last week, as an expansion in American service industries offset concern over growth in China and political tensions in Ukraine.

Apple Inc. climbed 1.4 percent to close above $600 for the first time since 2012. Biogen Idec Inc. and Gilead Sciences Inc. jumped at least 2.7 percent as biotechnology shares resumed their recovery from a two-month slide, leading gains in the Standard & Poor’s 500 index. JPMorgan Chase & Co. declined 2.5 percent after saying a trading slump has deepened, driving financial shares to the biggest retreat among 10 S&P 500 groups. Pfizer Inc. fell 2.6 percent on disappointing sales.

The S&P 500 added 0.2 percent to 1,884.66 at 4 p.m. in New York, rebounding after a drop of 0.8 percent at the start of trading. The Dow Jones industrial average rose 17.66 points, or 0.1 percent, to 16,530.55. The Nasdaq Composite Index gained 0.3 percent. About 5 billion shares changed hands on American exchanges, the slowest trading in two weeks.

“We continue to remain choppy, going back and forth,” Joseph Tanious, a global market strategist at JPMorgan Asset Management in Los Angeles, said by phone. His firm oversees $1.6 trillion in client assets. “The market is having a bit of identity crisis right now, searching for a direction. We are seeing opposing forces in the market.”

Investors pulled $2.66 billion last week out of exchange-traded funds that invest in U.S. equities, data compiled by Bloomberg show. Technology-focused ETFs saw withdrawals of $1.5 billion, the most among 12 sectors tracked by Bloomberg. Energy and utility funds attracted the biggest inflows, with deposits each totaling more than $400 million, the data show.