U.S. officials and legislators say they are cautiously optimistic about Iraq's ability to survive as a functioning democracy with reasonable levels of stability and security after the United States completes a troop withdrawal from the country by year's end.