Reliability Across Parametric and External Knowledge: Understanding Knowledge Handling in LLMs